[CMake] cmake generators on windows: nmake versus jom

Verweij, Arjen VerweijA at tass-safe.com
Wed Jul 21 17:07:22 EDT 2010


>The generators are testing and inspecting the toolchain.
>Something is not building as expected so it reports the
>problem up front rather than waiting for some subtle
>error when building the main project.


>> "NMake Makefiles JOM"
>> -- FIXME: altered Windows.cmake for debugging purposes.
>What is this?  What was altered?

# uncomment these out to debug nmake and borland makefiles
# uncommented by AVE
message (STATUS "FIXME: altered Windows.cmake for debugging purposes.")

I want to see all the compile flags. It turns out that for reasons unknown the default setting for CMAKE_BUILD_TYPE is Debug for MSVC7.1, causing all kinds of trouble like mixing debug and non-debug libraries when linking the executable.

>> -- Check for working Fortran compiler: E:/Program
>> -- Check for working Fortran compiler: E:/Program
>Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe  -- works
>This means the basic capability to compile an executable
>seems to work, at least the build tool does not return
>Do you actually have JOM installed in the environment?

It is in the path.

>Please post CMakeError.log and CMakeOutput.log from the
>CMakeFiles directory in the build tree.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeError.log
Type: application/octet-stream
Size: 384 bytes
Desc: CMakeError.log
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100721/8cd8fc7b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMakeOutput.log
Type: application/octet-stream
Size: 21647 bytes
Desc: CMakeOutput.log
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100721/8cd8fc7b/attachment-0003.obj>

More information about the CMake mailing list