[CMake] CSharp and NuGet Package

Wesley Smith wesley.hoke at gmail.com
Sat Oct 21 17:11:23 EDT 2017


Hi,
I'm using CMake 3.10.0-rc3.  I'm trying to figure out how to add NuGet
packages to my CSharp target.  In particular, I'm trying to add PostSharp.

I know the usual CMake way is to add a FindPackage for each library.
However, NuGet being a package manager with many packages in it, I was
wondering if there was a facility for finding packages with NuGet built
into CMake.

What's the best way to add a library to a Csharp target from NuGet?

thanks,
wes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20171021/e8a4e748/attachment.html>


More information about the CMake mailing list