summaryrefslogtreecommitdiff
path: root/Source/cmTryCompileCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-21 14:11:53 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-21 14:11:53 -0500
commita7098d1433582bb5c8c14c7dcf90053528d8b590 (patch)
treeaa3a74210eb3a3a4c07bbbe403e24931d33d428e /Source/cmTryCompileCommand.cxx
parent02ef2fb568745d34ef3762f0f51178ffab2b0afa (diff)
downloadcmake-a7098d1433582bb5c8c14c7dcf90053528d8b590.tar.gz
move ansi cxx flags stuff out of try compile and into cmake files
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r--Source/cmTryCompileCommand.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx
index b18718252a..a2c2af8a06 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");