Adding cmake project to VS solution?
I use a C library (which uses cmake to compile it), and I use P/Invoke to call the methods. At the moment, I just manually clone the git repo, add to my solution folder, compile it and then copy the output DLL files to my C# app's bin folder. Is there a way to automate this?
3 Replies
How about a PowerShell script that automates all of this?
I've never really used PowerShell so I wouldn't know where to start
You just need to write a script that would clone the repo, compile and copy the DLL files, I think basic googling how to achieve this independently through command line will get you to the solution