Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2007, 11:19:44 PM (16 years ago)
Author:
rgrieder
Message:
  • removed the loader files due to several compiler errors (not needed in this branch anyway)
  • added a suitable CMake concept for subfolders (in this case just the one)
  • hud not yet implemented in orxonox.cc (however it is in main_reto branch)
File:
1 edited

Legend:

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

    r164 r283  
    22
    33# create a few variables to simplify life
    4 
    5 SET(SRC_FILES orxonox.cc loader/LevelLoader.cc xml/xmlParser.cc)
    6 SET(INC_FILES loader/LevelLoader.h xml/xmlParser.h)
     4SET( ORXONOX_SRC
     5        orxonox.cc
     6)
    77
    88#Creates an executable
    9 ADD_EXECUTABLE(../bin/main ${SRC_FILES} ${INC_FILES})
     9ADD_EXECUTABLE(../bin/main ${ORXONOX_SRC} )
     10
     11#add weapon source dir
     12ADD_SUBDIRECTORY(hud)
     13
    1014#Links the executable against OGRE and OIS
    11 TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
    12 
     15TARGET_LINK_LIBRARIES(../bin/main
     16        HUD
     17        ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}
     18)
Note: See TracChangeset for help on using the changeset viewer.