Hi, cmake -DWITH_DEMO=ON srcdir
in CMakeLists.txt: if(WITH_DEMO) install( demo ....) endif(WITH_DEMO) HTH, Werner Wilfried Holzke wrote:
Hi, How would I install a demo program only if the user requests this? For example a feature from the "GNU build tools" like: ./configure --with-demo thanks for help regards W. Holzke _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
-- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake