PROJECT(Orxonox) # create a few variables to simplify life SET( ORXONOX_SRC camera_manager.cc inertial_node.cc main.cc ogre_control.cc orxonox.cc orxonox_scene.cc orxonox_ship.cc run_manager.cc ) #Creates an executable ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} ) #add weapon source dir ADD_SUBDIRECTORY(weapon) ADD_SUBDIRECTORY(class_hierarchy) ADD_SUBDIRECTORY(hud) #Links the executable against OGRE and OIS TARGET_LINK_LIBRARIES(../bin/main WEAPON CLASS_HIERARCHY HUD ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES} ) #TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})