Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2007, 3:02:03 PM (16 years ago)
Author:
rgrieder
Message:
  • updated to current revision from Visual studio directory
  • hopefully working libraries with cmake
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/main_reto/src/CMakeLists.txt

    r207 r267  
    22
    33# create a few variables to simplify life
    4 SET(SRC_FILES
    5         orxonox.cc
    6         main.cc
     4SET( ORXONOX_SRC
    75        camera_manager.cc
    86        inertial_node.cc
     7        main.cc
    98        ogre_control.cc
     9        orxonox.cc
    1010        orxonox_scene.cc
    1111        orxonox_ship.cc
    12         run_manager.cc)
     12        run_manager.cc
    1313
    14 SET(INC_FILES
    1514        camera_manager.h
    1615        inertial_node.h
     
    2019        orxonox_scene.h
    2120        orxonox_ship.h
    22         run_manager.h)
     21        run_manager.h
     22   )
    2323
    2424#Creates an executable
    25 ADD_EXECUTABLE(../bin/main ${SRC_FILES, weapon/WPN_CC_FILES} ${INC_FILES, weapon/WPN_H_FILES})
    26 #Links the executable against OGRE and OIS
    27 TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
     25ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} )
    2826
    2927#add weapon source dir
    30 ADD_SUBDIRECTORY(weapon)
     28#ADD_SUBDIRECTORY(weapon)
     29
     30#Links the executable against OGRE and OIS
     31TARGET_LINK_LIBRARIES(../bin/main WEAPON ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
     32#TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
Note: See TracChangeset for help on using the changeset viewer.