Changeset 206
- Timestamp:
- Nov 14, 2007, 3:05:55 PM (17 years ago)
- Location:
- code/branches/main_reto/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/main_reto/src/CMakeLists.txt
r191 r206 23 23 24 24 #Creates an executable 25 ADD_EXECUTABLE(../bin/main ${SRC_FILES } ${INC_FILES})25 ADD_EXECUTABLE(../bin/main ${SRC_FILES, WPN_CC_FILES} ${INC_FILES, WPN_H_FILES}) 26 26 #Links the executable against OGRE and OIS 27 27 TARGET_LINK_LIBRARIES(../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES}) 28 28 29 #add main source dir29 #add weapon source dir 30 30 ADD_SUBDIRECTORY(weapon) -
code/branches/main_reto/src/weapon/CMakeLists.txt
r191 r206 2 2 3 3 # create a few variables to simplify life 4 SET( SRC_FILES4 SET(WPN_CC_FILES 5 5 ammunition_dump.cc 6 6 bullet.cc 7 7 bullet_manager.cc 8 8 weapon_manager.cc) 9 SET( INC_FILES9 SET(WPN_H_FILES 10 10 ammunition_dump.h 11 11 bullet.h … … 14 14 weapon_manager.h) 15 15 16 #Creates an executable17 ADD_EXECUTABLE(../../bin/main ${SRC_FILES} ${INC_FILES})18 #Links the executable against OGRE and OIS19 TARGET_LINK_LIBRARIES(../../bin/main ${OGRE_LIBRARIES} ${OIS_LIBRARIES} ${CEGUI_LIBRARIES} ${CEGUI_OGRE_LIBRARIES})
Note: See TracChangeset
for help on using the changeset viewer.