Changeset 3484
- Timestamp:
- 03/09/10 11:03:14 (5 months ago)
- Location:
- plugins/branches/0185_GEN_PHYSICS_REFACTOR_2
- Files:
-
- 2 modified
-
CMakeLists.txt (modified) (1 diff)
-
ZBullet/CMakeLists.template (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/CMakeLists.txt
r3415 r3484 155 155 endif(OPENDE_FOUND) 156 156 157 #-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- 158 # ZBULLET but only if BULLET is found 159 Find_Package(BULLET) 160 161 if (BULLET_FOUND) 162 message("-- ZBULLET (${BULLET_FOUND}, ${BULLET_LIBRARIES})") 163 add_subdirectory(ZBULLET) 164 else(BULLET_FOUND) 165 message("-- ZBULLET will NOT be compiled. BULLET was not found.") 166 endif(BULLET_FOUND) 167 168 169 #-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- 157 170 message("-- ZMicroPather") 158 171 add_subdirectory(ZMicroPather) -
plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/ZBullet/CMakeLists.template
r3463 r3484 16 16 17 17 #-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- 18 # Include Z Bulletsource file18 # Include ZODE source file 19 19 20 20 <%GroupList%> 21 21 22 set ( ZB ullet_SRC22 set ( ZBULLET_SRC 23 23 <%SourceList%> 24 24 ) … … 30 30 link_directories ( ${DEV_LIB} ${Boost_LIBRARY_DIRS} ) 31 31 32 add_library ( ZB ullet ${LIB_TYPE} ${ZBullet_SRC} )32 add_library ( ZBULLET ${LIB_TYPE} ${ZBULLET_SRC} ) 33 33 34 add_dependencies( ZB ulletZenCore ZenEngine )34 add_dependencies( ZBULLET ZenCore ZenEngine ) 35 35 36 target_link_libraries( ZB ullet ZenCore ZenEngine ${ZBULLET_LIBRARIES} )36 target_link_libraries( ZBULLET ZenCore ZenEngine ${BULLET_LIBRARIES} ) 37 37 38 set_target_properties ( ZB ullet38 set_target_properties ( ZBULLET 39 39 PROPERTIES 40 40 DEBUG_POSTFIX "_d" … … 43 43 if (MSVC_IDE) 44 44 # hack to get around the "Debug" and "Release" directories cmake tries to add on Windows 45 set_target_properties ( Z BulletPROPERTIES PREFIX "../../bin/" )46 set_target_properties ( Z BulletPROPERTIES IMPORT_PREFIX "../../lib/" )45 set_target_properties ( ZODE PROPERTIES PREFIX "../../bin/" ) 46 set_target_properties ( ZODE PROPERTIES IMPORT_PREFIX "../../lib/" ) 47 47 endif(MSVC_IDE) 48 48
