Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/tutorialHS09/src/modules/weapons/CMakeLists.txt @ 10108

Last change on this file since 10108 was 5749, checked in by rgrieder, 15 years ago

Sorted out header file finding issues and updated/added precompiled header files.
PCH is not activated per default for the pong projects (only 7 files).

  • Property svn:eol-style set to native
File size: 465 bytes
Line 
1SET_SOURCE_FILES(WEAPONS_SRC_FILES
2  MuzzleFlash.cc
3)
4
5ADD_SUBDIRECTORY(munitions)
6ADD_SUBDIRECTORY(projectiles)
7ADD_SUBDIRECTORY(weaponmodes)
8
9ORXONOX_ADD_LIBRARY(weapons
10  MODULE
11  FIND_HEADER_FILES
12  PCH_FILE
13    WeaponsPrecompiledHeaders.h
14  DEFINE_SYMBOL
15    "WEAPONS_SHARED_BUILD"
16  LINK_LIBRARIES
17    orxonox
18    # TODO: Remove this as soon as projectiles aren't hardcoded anymore buth rather defined in XML
19    objects
20  SOURCE_FILES ${WEAPONS_SRC_FILES}
21)
Note: See TracBrowser for help on using the repository browser.