2011/6/3 NoRulez <[email protected]>:
> 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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to