Am 18. März 2015 23:59:10 MEZ, schrieb aditya siram <[email protected]>: >Hi all, >I have a cross platform project where Linux/Mac users will use the >standard >"autoheader;autoconf;./configure .." routine, but on Windows users will >do >"cmake .; make".
that's the wrong command >I am using CMake solely to substitute some variables in some >subdirectory >Makefile.in's. Strange idea, really. >The problem is that there is an existing Makefile in the root of the >project that must not be disturbed but keeps getting overwritten >whenever I >run "cmake .". >How do I stop CMake from generating a Makefile? 1. Don't have any file named CMakeLists.txt in that directory, give it some other name ending usually with .cmake 2. Use cmake -P HS -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
