diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-21 19:11:53 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-21 19:11:53 (GMT) |
commit | a7098d1433582bb5c8c14c7dcf90053528d8b590 (patch) | |
tree | aa3a74210eb3a3a4c07bbbe403e24931d33d428e /Source/cmTryCompileCommand.cxx | |
parent | 02ef2fb568745d34ef3762f0f51178ffab2b0afa (diff) | |
download | CMake-a7098d1433582bb5c8c14c7dcf90053528d8b590.zip CMake-a7098d1433582bb5c8c14c7dcf90053528d8b590.tar.gz CMake-a7098d1433582bb5c8c14c7dcf90053528d8b590.tar.bz2 |
move ansi cxx flags stuff out of try compile and into cmake files
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index b187182..a2c2af8 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -153,20 +153,6 @@ int cmTryCompileCommand::CoreTryCompileCode( return -1; } - if ( format == cmSystemTools::CXX_FILE_FORMAT ) - { - fprintf(fout, "IF (CMAKE_ANSI_CXXFLAGS)\n"); - fprintf(fout, " SET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS}" - " ${CMAKE_ANSI_CXXFLAGS}\")\n"); - fprintf(fout, "ENDIF (CMAKE_ANSI_CXXFLAGS)\n"); - } - - if ( format == cmSystemTools::C_FILE_FORMAT ) - { - fprintf(fout, "IF (CMAKE_ANSI_CFLAGS)\n"); - fprintf(fout, " SET(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}\")\n"); - fprintf(fout, "ENDIF (CMAKE_ANSI_CFLAGS)\n"); - } fprintf(fout, "ADD_DEFINITIONS(${COMPILE_DEFINITIONS})\n"); fprintf(fout, "INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES})\n"); fprintf(fout, "LINK_DIRECTORIES(${LINK_DIRECTORIES})\n"); |