CMake functions for adding NuGet package dependencies with CMake exports or native .targets files, generating and merging .nuspec files, calling nuget pack, and more. WIP.
Autopkg files can be packaged by PowerShell's CoApp Write-NuGetPackage command (http://coapp.org). This way .target files are created automatically that are used by Visual Studio to find headers, libraries and binaries when invoking a NuGet package.
Added
The file NuGetPack.autopkg.cmake contains all internal methods to generate the autopkg files and is based on NuGetPack.nuspec.cmake.
Changes
NuGetPack.cmake is updated with methods to generate and merge autopkg files.
The file NuGetPack.nupkg.cmake is updated and contains the actual pack command.
Autopkg files can be packaged by PowerShell's CoApp Write-NuGetPackage command (http://coapp.org). This way .target files are created automatically that are used by Visual Studio to find headers, libraries and binaries when invoking a NuGet package.
Added
The file NuGetPack.autopkg.cmake contains all internal methods to generate the autopkg files and is based on NuGetPack.nuspec.cmake.
Changes
NuGetPack.cmake is updated with methods to generate and merge autopkg files. The file NuGetPack.nupkg.cmake is updated and contains the actual pack command.