Changeset 5872 for code/branches
- Timestamp:
- Oct 4, 2009, 7:27:35 PM (15 years ago)
- Location:
- code/branches/core5
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/cmake/ParseMacroArguments.cmake
r5695 r5872 39 39 # Using LIST(FIND ...) speeds up the process 40 40 SET(_keywords ${_switches} ${_list_names}) 41 42 # Reset all arguments 43 FOREACH(_arg ${_switches} ${_list_names}) 44 SET(_arg_${_arg}) 45 ENDFOREACH(_arg) 41 46 42 47 # Parse all the arguments and set the corresponding variable -
code/branches/core5/cmake/TargetUtilities.cmake
r5870 r5872 67 67 ENDIF() 68 68 69 FUNCTION(ORXONOX_ADD_LIBRARY _target_name)69 MACRO(ORXONOX_ADD_LIBRARY _target_name) 70 70 TU_ADD_TARGET(${_target_name} LIBRARY "STATIC;SHARED" ${ARGN}) 71 END FUNCTION(ORXONOX_ADD_LIBRARY)72 73 FUNCTION(ORXONOX_ADD_EXECUTABLE _target_name)71 ENDMACRO(ORXONOX_ADD_LIBRARY) 72 73 MACRO(ORXONOX_ADD_EXECUTABLE _target_name) 74 74 TU_ADD_TARGET(${_target_name} EXECUTABLE "WIN32" ${ARGN}) 75 END FUNCTION(ORXONOX_ADD_EXECUTABLE)76 77 78 FUNCTION(TU_ADD_TARGET _target_name _target_type _additional_switches)75 ENDMACRO(ORXONOX_ADD_EXECUTABLE) 76 77 78 MACRO(TU_ADD_TARGET _target_name _target_type _additional_switches) 79 79 CAPITALISE_NAME(${_target_name} _target_name_capitalised) 80 80 … … 150 150 SET(_arg_SHARED) 151 151 SET(_arg_STATIC STATIC) 152 ENDIF() 153 154 # No warnings needed from third party libraries 155 IF(_arg_ORXONOX_EXTERNAL) 156 REMOVE_COMPILER_FLAGS("-W3 -W4" MSVC) 157 ADD_COMPILER_FLAGS("-w") 152 158 ENDIF() 153 159 … … 234 240 ENDIF() 235 241 236 END FUNCTION(TU_ADD_TARGET)242 ENDMACRO(TU_ADD_TARGET) 237 243 238 244 -
code/branches/core5/src/external/bullet/CMakeLists.txt
r5871 r5872 27 27 ADD_SUBDIRECTORY(LinearMath) 28 28 29 # No warnings needed from third party libraries30 REMOVE_COMPILER_FLAGS("-W3 -W4" MSVC)31 ADD_COMPILER_FLAGS("-w")32 33 29 ORXONOX_ADD_LIBRARY(bullet_orxonox 34 30 ORXONOX_EXTERNAL -
code/branches/core5/src/external/ceguilua/CMakeLists.txt
r5738 r5872 67 67 ) 68 68 69 # No warnings needed from third party libraries70 REMOVE_COMPILER_FLAGS("-W3 -W4" MSVC)71 ADD_COMPILER_FLAGS("-w")72 73 69 SOURCE_GROUP("Source" FILES ${CEGUILUA_FILES}) 74 70 -
code/branches/core5/src/external/cpptcl/CMakeLists.txt
r5738 r5872 32 32 ) 33 33 34 # No warnings needed from third party libraries35 REMOVE_COMPILER_FLAGS("-W3 -W4" MSVC)36 ADD_COMPILER_FLAGS("-w")37 38 34 ORXONOX_ADD_LIBRARY(cpptcl_orxonox 39 35 ORXONOX_EXTERNAL -
code/branches/core5/src/external/ogreceguirenderer/CMakeLists.txt
r5871 r5872 30 30 ) 31 31 32 # No warnings needed from third party libraries33 REMOVE_COMPILER_FLAGS("-W3 -W4" MSVC)34 ADD_COMPILER_FLAGS("-w")35 36 32 ORXONOX_ADD_LIBRARY(ogreceguirenderer_orxonox 37 33 ORXONOX_EXTERNAL -
code/branches/core5/src/external/ois/CMakeLists.txt
r5871 r5872 52 52 ENDIF() 53 53 54 # No warnings needed from third party libraries55 REMOVE_COMPILER_FLAGS("-W3 -W4" MSVC)56 ADD_COMPILER_FLAGS("-w")57 58 54 INCLUDE_DIRECTORIES(.) 59 55 -
code/branches/core5/src/external/tinyxml/CMakeLists.txt
r5871 r5872 33 33 ) 34 34 35 # No warnings needed from third party libraries36 REMOVE_COMPILER_FLAGS("-W3 -W4" MSVC)37 ADD_COMPILER_FLAGS("-w")38 39 35 ORXONOX_ADD_LIBRARY(tinyxml++_orxonox 40 36 ORXONOX_EXTERNAL -
code/branches/core5/src/external/tolua/CMakeLists.txt
r5871 r5872 31 31 COMPILATION_END 32 32 ) 33 34 # No warnings needed from third party libraries35 REMOVE_COMPILER_FLAGS("-W3 -W4" MSVC)36 ADD_COMPILER_FLAGS("-w")37 33 38 34 ORXONOX_ADD_LIBRARY(tolua++_orxonox
Note: See TracChangeset
for help on using the changeset viewer.