All Questions
4 questions
0
votes
1
answer
169
views
Using a NuGet Package Created with CPack in Visual Studio
I am creating a NuGet package of a C++ CMake project using CPack.
cmake -S . -B build
cmake --build build --config Release
cd build
cpack -G NuGet -C 'Release'
I have defined several cpack variables, ...
0
votes
1
answer
208
views
CPack NuGet Warning NU5119 NoDefaultExcludes
I am trying to create a NuGet package using CPack and want to pack files starting with '.'. I couldn't find any CPack variable to pass option NoDefaultExcludes. Also there is no variable to modify ...
5
votes
1
answer
2k
views
CPack NuGet Packages
Context
I have a Managed C++/CLR library which is built using CMake 3.17, and packaged into a NuGet package using CPack. The resulting nupkg file cannot be imported into a C# project, as the Package ...
0
votes
1
answer
299
views
How to generate nuget package with specific file organization using cpack/cmake?
I generate two nuget package with cpack and cmake. My problem is to organize files in my package. I would like to put some files in specific folder.
Actually i have in my first package:
/_rels
/...