MinGW CMake also says it supports NMake Makefiles (actually, tons of
formats which sounds super cool). After compiling a MinGW CMake, I
tried using it to compile cmake again with NMake Makefiles and it also
worked.
But trying a 'NMake Makefiles' build on my project resulted in
cmake ../../../.. -DCMAKE_SYSTEM=Windows-5.1
-DEXECUTABLE_OUTPUT_PATH=/z/code/Maya/mrLiquid/BUILD/Windows-5.1-32/Release/bin
-DLIBRARY_OUTPUT_PATH=/z/code/Maya/mrLiquid/BUILD/Windows-5.1-32/Release/lib
-DCMAKE_LIBRARY_PATH=/z/code/Maya/mrLiquid/BUILD/Windows-5.1-32/Release/lib
-DCMAKE_NATIVE_ARCH=32 -DCMAKE_BUILD_ARCH=32 -DCMAKE_BUILD_TYPE=Release
-G 'NMake Makefiles'
-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
System is unknown to cmake, create:
Platform/ to use this system, please send your config file to
[EMAIL PROTECTED] so it can be added to cmake
-- Check for working C compiler: C:/Archivos de programa/Microsoft
Visual Studio .NET 2003/Vc7/bin/cl.exe
CMake Error: This should not have happen. If you see this message, you
are probably using a broken CMakeLists.txt file or a problematic release
of CMake
CMake Error: Could not find cmake module
file:Z:/code/Maya/mrLiquid/BUILD/Windows-5.1-32/Release/tmp/CMakeFiles/CMakeRCCompiler.cmake
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working C compiler: C:/Archivos de programa/Microsoft
Visual Studio .NET 2003/Vc7/bin/cl.exe -- broken
CMake Error: The C compiler C:/Archivos de programa/Microsoft Visual
Studio .NET 2003/Vc7/bin/cl.exe is not able to compile a simple test
program.
It fails with the following output:
CMake will not be able to correctly generate this project.
-- Configuring done
The generated CMakeCache.txt is attached.
--
Gonzalo Garramuño
[EMAIL PROTECTED]
AMD4400 - ASUS48N-E
GeForce7300GT
Kubuntu Edgy
# This is the CMakeCache file.
# For build in directory: z:/code/Maya/mrLiquid/BUILD/Windows-5.1-32/Release/tmp
# It was generated by CMake: C:/Archivos de programa/CMake/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
# EXTERNAL cache entries
//For backwards compatibility, what version of CMake commands and
// syntax should this version of CMake allow.
CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.5
//No help, variable specified on the command line.
CMAKE_BUILD_ARCH:UNINITIALIZED=32
//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
CMAKE_BUILD_TYPE:STRING=Release
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//CXX compiler.
CMAKE_CXX_COMPILER:FILEPATH=C:/Archivos de programa/Microsoft Visual Studio
.NET 2003/Vc7/bin/cl.exe
//C compiler.
CMAKE_C_COMPILER:FILEPATH=C:/Archivos de programa/Microsoft Visual Studio .NET
2003/Vc7/bin/cl.exe
//Flags for C compiler.
CMAKE_C_FLAGS:STRING=' '
//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=
//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=
//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=
//Flags used by the compiler during Release with Debug Info builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=
//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Archivos de programa/mrLiquid
//No help, variable specified on the command line.
CMAKE_LIBRARY_PATH:UNINITIALIZED=z:/code/Maya/mrLiquid/BUILD/Windows-5.1-32/Release/lib
//Path to a program.
CMAKE_LINKER:FILEPATH=C:/Archivos de programa/Microsoft Visual Studio .NET
2003/Vc7/bin/link.exe
//Program used to build from makefiles.
CMAKE_MAKE_PROGRAM:STRING=nmake
//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=