Changeset 8653 for code/branches/unity_build/src/external/ois
- Timestamp:
- May 28, 2011, 10:40:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/src/external/ois/CMakeLists.txt
r8625 r8653 34 34 OISObject.h 35 35 OISPrereqs.h 36 )37 36 38 # Put everything into one single build unit (doens't work on OS X though)39 IF(NOT APPLE)40 ADD_SOURCE_FILES(OIS_FILES BUILD_UNIT OISBuildUnit.cpp)41 ENDIF()42 43 ADD_SOURCE_FILES(OIS_FILES44 37 OISEffect.cpp 45 38 OISException.cpp … … 50 43 OISObject.cpp 51 44 ) 45 52 46 IF(WIN32) 53 47 ADD_SUBDIRECTORY(win32) … … 58 52 ENDIF() 59 53 60 # Close build unit from above61 IF(NOT APPLE)62 ADD_SOURCE_FILES(OIS_FILES END_BUILD_UNIT)63 ENDIF()64 65 54 # MinGW doesn't come with some required Windows headers 66 55 IF(MINGW) 67 56 INCLUDE_DIRECTORIES(${WMI_INCLUDE_DIR}) 57 ENDIF() 58 59 # Apple has problems with OIS and build units 60 IF(APPLE) 61 SET(USE_BUILD_UNITS NO_BUILD_UNITS) 68 62 ENDIF() 69 63 … … 82 76 LINK_LIBS_LINUX 83 77 X11 78 ${USE_BUILD_UNITS} 84 79 SOURCE_FILES 85 80 ${OIS_FILES}
Note: See TracChangeset
for help on using the changeset viewer.