2009/11/28 Alex H <[email protected]>:
> if I have the following option:
> OPTION( HW08_TESTS "Run Homework 8 tests? (can take a long time...)" OFF )
> how can I run cmake with this option turned on?
> I tried
> cmake HW08_TESTS . and it doesn't work

What about

cmake -DBOOL:HW08_TESTS=ON

Another way to find answer for this kind of question
is to run cmake-gui then toggle the option value and then
go to
Tools-->Show my Changes

then the appropriate command line options to add should be displayed.

-- 
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