Tutorial by Examples

To create a redistributable package (e.g. a ZIP archive or setup program), it's usually enough to simply invoke CPack using a syntax very similar to calling CMake: cpack path/to/build/directory Depending on the environment this will gather all required/installed files for the project and put the...
To create a package using a specific format, it is possible to pick the Generator to be used. Similar to CMake this may be done using the -G argument: cpack -G 7Z . Using this command line would package the built project in the current directory using the 7-Zip archive format. At the time of w...

Page 1 of 1