use cmake -P myscript.cmake
-- View this message in context: http://cmake.3232098.n2.nabble.com/how-to-run-cmake-without-cmakelist-txt-file-tp7583370p7583392.html Sent from the CMake mailing list archive at Nabble.com. -- 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