[CMake] set CMAKE_INSTALL_PREFIX in CMakeLists

2010-11-23 Thread tomasoni
Dear Cmake users, 1) I am trying to set CMAKE_INSTALL_PREFIX in the CMakeLists file with SET(CMAKE_INSTALL_PREFIX, "my/path") but the variable remain unset; everything works fine if the variable is set on the command line when invoking cmake (-DCMAKE_INSTALL_PREFIX=my/path). 2) I am also looking

[CMake] running python tests

2010-08-25 Thread Mattia Tomasoni
Hello, I am using Cmake to run some tests after building my executable; my tests are .sh scripts. I would like them to be Python scripts instead. I wrote the following test script: print "success" exit(0) While the correspondent shell script will work, the Python equivalent exits complain

[CMake] running python tests

2010-08-25 Thread Mattia Tomasoni
Hello, I am using Cmake to run some tests after building my executable; my tests are .sh scripts. I would like them to be Python scripts instead. I wrote the following test script: print "success" exit(0) While the correspondent shell script will work, the Python equivalent exits complaining "Er