(How) Can I execute a single .cmake file in windows?

I am working on Windows 7 with visual studio 2010.

I have a cmake build environment that doesn’t work as I would like. In particular, it starts the .cmake file at some point, which processes all the correct files except one. I would like to run it manually to process the last file, right? How?

(Details: the program I'm trying to compile is opencv, especially the ocl..cmake script module. I want to run cl2cpp.cmake )

+6
source share
1 answer

You can run the cmake script with the -P option on the command line, for example:

cmake -P cl2cpp.cmake 

Of course, scripts should work autonomously.

+6
source

Source: https://habr.com/ru/post/945918/


All Articles