I spent yesterday working with CMake, CPack, WIX, and NuGet to extend packaging capabilities. I’m not sure what the discussion, review, and acceptance process is, so here are my changes to
This changes the build process to detect if WIX and NuGet are installed (Windows only) and adds installer generators for them if they exist. Running
cpack -C Release should generate
.nupkg files, provided NSIS, WIX, and
nuget.exe are available. I had to make a minor tweak to the package build ID to deal with a limitation in WIX but otherwise everything should behave about the same as before.
NuGet support is still experimental; it’s throwing a lot of warnings about libraries not being located where it expects but it still creates a NuGet package. If I can get an OSX dev environment set up, I’ll move on to DragNDrop (DMG) packaging (my ulterior motive is to learn CPack well enough to create Windows, Linux, and OSX installers all from the same codebase…)
Anyway, I’d appreciate any review comments and advice before I create a merge request – thanks!