[CMake] jom and cmake

Nils Gladitz nilsgladitz at gmail.com
Mon Oct 5 11:38:34 EDT 2015


On 05.10.2015 17:09, Tom Kacvinsky wrote:
> We are using "JOM Makefiles NMakefiles" as our generator.  Everything 
> is fine, but every now and again I need to investigate the temporary 
> files tha jom produces. I can do this by using the /KEEPTEMPFILES 
> option to jom, but where I am stymied is how to configure cmake so 
> that when jom is invoked when cmake is invoked with --build, jom gets 
> this option.

 From the manual:
     cmake --build <dir> [<options>] [-- <build-tool-options>...]

so something like e.g.
     cmake --build . -- /KEEPTEMPFILES
should work(?)

Nils


More information about the CMake mailing list