- Timestamp:
- Dec 17, 2007, 12:16:02 AM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/CMakeLists.txt
r539 r547 66 66 FIND_PACKAGE(ZLIB) 67 67 68 IF(WIN32)69 SET(WINDOWS_ENET_DEPENDENCIES "ws2_32;winmm")70 ENDIF(WIN32)71 72 68 #Sets the search paths for the linking 73 69 LINK_DIRECTORIES(${OGRE_LIB_DIR} ${OIS_LIB_DIR} ${CEGUI_LIB_DIR} ${CEGUI_OGRE_LIB_DIR} ${ENet_LIBRARY} ${Boost_LIBRARY_DIRS} ${Zlib_LIBRARY_DIR} core objects loader network weapon classHierarchy audio) -
code/branches/FICN/cmake/FindENet.cmake
r536 r547 28 28 ) 29 29 30 IF(WIN32) 31 SET(WINDOWS_ENET_DEPENDENCIES "ws2_32;winmm") 32 ENDIF(WIN32) 33 SET(ENet_LIBRARY ${ENet_LIBRARY} ${WINDOWS_ENET_DEPENDENCIES}) 34 30 35 IF (ENet_INCLUDE_DIR AND ENet_LIBRARY) 31 36 SET(ENET_FOUND TRUE) -
code/branches/FICN/cmake/FindZLIB.cmake
r539 r547 60 60 FIND_LIBRARY(ZLIB_LIBRARY 61 61 NAMES zlib 62 PATHS ${Z lib_LIBRARY_DIR}62 PATHS ${ZLIB_LIBRARY_DIR} 63 63 ) 64 64 65 IF(Z lib_LIBRARY)65 IF(ZLIB_LIBRARY) 66 66 MESSAGE(STATUS "Zlib was found.") 67 ELSE(Z lib_LIBRARY)67 ELSE(ZLIB_LIBRARY) 68 68 MESSAGE(FATAL_ERROR "Zlib was NOT found.") 69 69 ENDIF(ZLIB_LIBRARY) -
code/branches/FICN/src/orxonox/CMakeLists.txt
r535 r547 3 3 ADD_SUBDIRECTORY(core) 4 4 ADD_SUBDIRECTORY(hud) 5 ADD_SUBDIRECTORY(objects) 5 IF(NOT WIN32) 6 ADD_SUBDIRECTORY(objects) 7 ENDIF(NOT WIN32) 6 8 ADD_SUBDIRECTORY(weapon) 7 9 ADD_SUBDIRECTORY(particle) … … 19 21 ) 20 22 21 ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) 23 IF(WIN32) 24 SET( OBJECTS_SRC_FILES 25 objects/BaseObject.cc 26 objects/WorldEntity.cc 27 objects/test1.cc 28 objects/test2.cc 29 objects/test3.cc 30 objects/Ambient.cc 31 objects/Skybox.cc 32 objects/SceneNode.cc 33 objects/Entity.cc 34 objects/Camera.cc 35 objects/SpaceshipSteeringObject.cc 36 ) 37 ELSE(WIN32) 38 SET(LINK_OBJECTS_LIBRARY objects) 39 ENDIF(WIN32) 22 40 23 ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES}) 41 ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) 42 43 ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) 24 44 25 45 SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) … … 33 53 core 34 54 hud 35 objects55 ${LINK_OBJECTS_LIBRARY} 36 56 weapon 37 57 xml -
code/branches/FICN/src/orxonox/objects/CMakeLists.txt
r538 r547 20 20 xml 21 21 orxonox 22 ${WINDOWS_ENET_DEPENDENCIES}23 22 )
Note: See TracChangeset
for help on using the changeset viewer.