TPCCLIB
|
Simple packaging tool, CPack, comes with CMake. Current version of CMakeLists.txt
builds zip or tgz packages, depending on the platform, but no installer.
Build and test the project in the usual manner and then run CPack on it. To build a binary distribution (including executable programs) you would move to the build directory and run
make package
To create a source distribution you would type
make package_source
To create both binary and source code packages
make package_source package
Packages will be created in a folder ‘../packages’.
Installer can be built with CPack. You have to edit file CMakeLists.txt
, and set the CPACK_GENERATOR
to use the generator that you like.
In Windows, you would need to install NSIS ; currently it might not automatically set itself to Windows PATH
, therefore you have to add its bin directory to your PATH
.
Build and test the project in the usual manner and then run CPack on it. Binary and source distribution can be done with the commands as before.