[CMake] CPack specify filename
Eric Noulard
eric.noulard at gmail.com
Fri Jun 3 09:43:58 EDT 2011
2011/6/3 NoRulez <norulez at me.com>:
> Is this the only way? Because i would like to have only one CTestScript.cmake file which came from the build server.
I do not see the point?
If you use CPACK_PROJECT_CONFIG_FILE **in your project CMakeLists.txt**
then you'll get what you want with a single CTestScript.cmake, or am I
missing something?
In any case you can build several build trees using "ctest_configure +
ctest_build" and
pass various options during the configure step in order to get 1 build
per package type
but this is clearly not an economic approach (you'll build as many
times as the number of
package types you want) but it should work.
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
More information about the CMake
mailing list