(How) Can I execute a single .cmake file on windows?
12,863
You can run a cmake script with the -P option on the command line, e.g.:
cmake -P cl2cpp.cmake
Of course that scripts needs to be able to work stand-alone.
Author by
Ernest_Galbrun
Updated on June 17, 2022Comments
-
Ernest_Galbrun almost 2 years
I am working on windows 7 with visual studio 2010.
I have a cmake building environment that does not work exactly like I would like it to. In particular, it executes a .cmake file at some point that processes all the correct files except one. I would like to run it manually to process the last file, can I ? How ?
(Details: the program I try to compile is opencv, especially the ocl module. The .cmake script I want to execute is cl2cpp.cmake)