Changeset 8677 for code/branches/unity_build
- Timestamp:
- May 30, 2011, 12:31:28 AM (14 years ago)
- Location:
- code/branches/unity_build
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/cmake/CompilerConfigGCC.cmake
r8368 r8677 43 43 IF(_compare_result GREATER -1) 44 44 SET(PCH_COMPILER_SUPPORT TRUE) 45 ENDIF() 46 47 # __COUNTER__ macro was only added in GCC 4.3 48 # It might be required to make full build units work 49 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.3.0" _compare_result) 50 IF(_compare_result GREATER -1) 51 SET(HAVE_COUNTER_MACRO TRUE) 45 52 ENDIF() 46 53 -
code/branches/unity_build/cmake/CompilerConfigMSVC.cmake
r8368 r8677 33 33 # Orxonox only supports MSVC 8 and above, which gets asserted above 34 34 SET(PCH_COMPILER_SUPPORT TRUE) 35 36 # __COUNTER__ macro has been around since VS 2005 37 # It might be required to make full build units work 38 SET(HAVE_COUNTER_MACRO TRUE) 35 39 36 40 -
code/branches/unity_build/src/OrxonoxConfig.cmake
r8633 r8677 50 50 ELSE() 51 51 SET(NR_OF_BUILD_UNITS ${_nr_of_units}) 52 IF(NOT HAVE_COUNTER_MACRO) 53 MESSAGE(WARNING "Your compiler doesn't support the __COUNTER__ macro. Full build units might not work!") 54 ENDIF() 52 55 ENDIF() 53 56 ENDIF()
Note: See TracChangeset
for help on using the changeset viewer.