C
C#9mo ago
br4kejet

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
Lukaa
Lukaa9mo ago
How about a PowerShell script that automates all of this?
br4kejet
br4kejetOP9mo ago
I've never really used PowerShell so I wouldn't know where to start
Lukaa
Lukaa9mo ago
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
Want results from more Discord servers?
Add your server