Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 14, 2007, 3:05:55 PM (17 years ago)
Author:
rgrieder
Message:

tried to fix CMakeLists.txt

Location:
code/branches/main_reto/src
Files:
2 edited

Legend:

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

    r191 r206  
    2323
    2424#Creates an executable
    25 ADD_EXECUTABLE(../bin/main ${SRC_FILES} ${INC_FILES})
     25ADD_EXECUTABLE(../bin/main ${SRC_FILES, WPN_CC_FILES} ${INC_FILES, WPN_H_FILES})
    2626#Links the executable against OGRE and OIS
    2727TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
    2828
    29 #add main source dir
     29#add weapon source dir
    3030ADD_SUBDIRECTORY(weapon)
  • code/branches/main_reto/src/weapon/CMakeLists.txt

    r191 r206  
    22
    33# create a few variables to simplify life
    4 SET(SRC_FILES
     4SET(WPN_CC_FILES
    55        ammunition_dump.cc
    66        bullet.cc
    77        bullet_manager.cc
    88        weapon_manager.cc)
    9 SET(INC_FILES
     9SET(WPN_H_FILES
    1010        ammunition_dump.h
    1111        bullet.h
     
    1414        weapon_manager.h)
    1515
    16 #Creates an executable
    17 ADD_EXECUTABLE(../../bin/main ${SRC_FILES} ${INC_FILES})
    18 #Links the executable against OGRE and OIS
    19 TARGET_LINK_LIBRARIES(../../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
Note: See TracChangeset for help on using the changeset viewer.