In CMake 2.8.2 and later, you can:

  set(CTEST_CONFIGURATION_TYPE "Release") # or Debug

in the ctest -S script.

That will influence both the ctest_build and ctest_test commands.


HTH,
David


On Thu, Mar 3, 2011 at 2:09 PM, Macumber, Daniel
<daniel.macum...@nrel.gov>wrote:

> Is it possible to set the build config in a ctest script rather than pass
> it in on the command line?  I haven’t found a list of ctest variables in the
> documentation like there is for cmake.
>
>
>
> Thanks a lot,
>
> Dan
>
> _______________________________________________
> 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
>
_______________________________________________
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