diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-08-15 13:34:14 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-08-15 13:34:14 (GMT) |
commit | 99a821d1c225af54bff640970089344e3677678e (patch) | |
tree | 7ba3a3efce5db0701ca588a8e65ade13d4f69c44 /Source | |
parent | f035d0c0c53122e013cd60768c6ed2269060e694 (diff) | |
download | CMake-99a821d1c225af54bff640970089344e3677678e.zip CMake-99a821d1c225af54bff640970089344e3677678e.tar.gz CMake-99a821d1c225af54bff640970089344e3677678e.tar.bz2 |
ENH: add -DWIN32 flag for builds
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmNMakeMakefileGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNMakeMakefileGenerator.cxx b/Source/cmNMakeMakefileGenerator.cxx index 713cc69..ba808f0 100644 --- a/Source/cmNMakeMakefileGenerator.cxx +++ b/Source/cmNMakeMakefileGenerator.cxx @@ -137,9 +137,9 @@ void cmNMakeMakefileGenerator::OutputMakeVariables(std::ostream& fout) "# Path to cmake\n" "MAKESILENT = /nologo\n" "CMAKE_STANDARD_WINDOWS_LIBRARIES = @CMAKE_STANDARD_WINDOWS_LIBRARIES@\n" - "CMAKE_C_FLAGS = @CMAKE_C_FLAGS@ @BUILD_FLAGS@\n" + "CMAKE_C_FLAGS = @CMAKE_C_FLAGS@ @BUILD_FLAGS@ -DWIN32\n" "CMAKE_C_LINK_EXECUTABLE_FLAG = @CMAKE_C_LINK_EXECUTABLE_FLAG@\n" - "CMAKE_CXX_FLAGS = @CMAKE_CXX_FLAGS@ @BUILD_FLAGS@\n" + "CMAKE_CXX_FLAGS = @CMAKE_CXX_FLAGS@ -DWIN32 @BUILD_FLAGS@\n" "CMAKE_LINKER_FLAGS = @CMAKE_LINKER_FLAGS@ @LINKER_BUILD_FLAGS@\n" "CMAKE_LINKER_SHARED_LIBRARY_FLAG = @CMAKE_LINKER_SHARED_LIBRARY_FLAG@\n" "CMAKE_LIBRARY_MANAGER_FLAGS = @CMAKE_LIBRARY_MANAGER_FLAGS@\n" |