[CMake] cmake generators on windows: nmake versus jom

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


Hi,

>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.

OK.

>> "NMake Makefiles JOM"
>[snip]
>> -- 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.")
SET(CMAKE_START_TEMP_FILE "")
SET(CMAKE_END_TEMP_FILE "")
SET(CMAKE_VERBOSE_MAKEFILE 1)

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
>Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe
>> -- 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
>failure.
>
>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.

Enclosed.

Thanks,
Arjen
-------------- 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