Changeset 2588 for code/branches/buildsystem2/cmake/ConfigPlatforms.cmake
- Timestamp:
- Jan 12, 2009, 4:18:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/cmake/ConfigPlatforms.cmake
r2585 r2588 70 70 SET(CMAKE_MODULE_LINKER_FLAGS " --no-undefined") 71 71 72 # Also define macros to easily extend the compiler flags 73 # Additional argument is a condition 74 MACRO(ADD_CXX_FLAGS _flag _cond) 75 IF(${_cond}) 76 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${_flag}") 77 ENDIF(${_cond}) 78 ENDMACRO(ADD_CXX_FLAGS _flag) 79 MACRO(ADD_C_FLAGS _flag) 80 IF(${_cond}) 81 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${_flag}") 82 ENDIF(${_cond}) 83 ENDMACRO(ADD_C_FLAGS _flag) 84 72 85 ########## Plaform Specific Config ############## 73 86
Note: See TracChangeset
for help on using the changeset viewer.