[CMake] NMake Makefiles JOM build

Scott Aron Bloom scott.bloom at onshorecs.com
Mon Feb 9 21:53:18 EST 2015


I am attempting to use the JOM makefile generator, Im using the latest (1.0.14 of jom)
I get the following error:

-- The C compiler identification is MSVC 15.0.30729.1
-- The CXX compiler identification is MSVC 15.0.30729.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe
CMake Error: Generator: execution of make failed. Make command was: "jom" "cmTryCompileExec3905947426\fast"
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/cl.exe -- broken
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
  9.0/VC/bin/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/Users/scott.ONSHORE/Documents/Visual Studio 2008/Projects/bps/trunk/build.jom/CMakeFiles/CMakeTmp



  Run Build Command:"jom" "cmTryCompileExec3905947426\fast"

  The system cannot find the file specified

  Generator: execution of make failed.  Make command was: "jom"
  "cmTryCompileExec3905947426\fast"





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:17 (project)


-- Configuring incomplete, errors occurred!
See also "C:/Users/scott.ONSHORE/Documents/Visual Studio 2008/Projects/bps/trunk/build.jom/CMakeFiles/CMakeOutput.log".
See also "C:/Users/scott.ONSHORE/Documents/Visual Studio 2008/Projects/bps/trunk/build.jom/CMakeFiles/CMakeError.log".


I have disabled the virus protection, (found a pointer to that online) and it makes no difference.

Note, if  simply build the NMAke makefile generated system, but run jom instead, it seems to work just fine. Excep the color coding is god awful

Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150210/b32eba27/attachment.html>


More information about the CMake mailing list