Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/objects/worldentities/CMakeLists.txt @ 2344

Last change on this file since 2344 was 2131, checked in by rgrieder, 16 years ago

Added CMakeLists.txt to every subfolder and adjusted accordingly.
The CMake script I have written can be used as follows:
ADD_SOURCE_DIRECTORY(_source_list directory) # Adds a new source subdirectory where _source_list is the name of the source list in CURRENT folder
ADD_SOURCE_FILES(_source_list) # Adds the source files in a subdirectory to the source list in the super directory (has to be called!)

Note: When adding more subdirectories in a subdirectory, call ADD_SOURCE_FILES after ADD_SOURCE_DIRECTORY!

  • Property svn:eol-style set to native
File size: 376 bytes
Line 
1SET( SRC_FILES
2  WorldEntity.cc
3  PositionableEntity.cc
4  MovableEntity.cc
5  ControllableEntity.cc
6  Model.cc
7  Billboard.cc
8  BlinkingBillboard.cc
9  Light.cc
10  Camera.cc
11  CameraPosition.cc
12  SpawnPoint.cc
13  ParticleEmitter.cc
14  ParticleSpawner.cc
15#  Backlight.cc
16)
17
18ADD_SOURCE_DIRECTORY(SRC_FILES pawns)
19ADD_SOURCE_DIRECTORY(SRC_FILES triggers)
20
21ADD_SOURCE_FILES(SRC_FILES)
Note: See TracBrowser for help on using the repository browser.