Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 4, 2008, 2:11:24 PM (15 years ago)
Author:
rgrieder
Message:

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!

Location:
code/trunk/src/orxonox/overlays
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/overlays/CMakeLists.txt

    r2130 r2131  
    33  OverlayGroup.cc
    44  OverlayText.cc
    5 
    6   console/InGameConsole.cc
    7 
    8   debug/DebugFPSText.cc
    9   debug/DebugRTRText.cc
    10 
    11   hud/HUDBar.cc
    12   hud/HUDNavigation.cc
    13   hud/HUDRadar.cc
    14   hud/HUDSpeedBar.cc
    15   hud/ChatOverlay.cc
    165)
    176
     7ADD_SOURCE_DIRECTORY(SRC_FILES console)
     8ADD_SOURCE_DIRECTORY(SRC_FILES debug)
     9ADD_SOURCE_DIRECTORY(SRC_FILES hud)
     10
    1811ADD_SOURCE_FILES(SRC_FILES)
    19 
Note: See TracChangeset for help on using the changeset viewer.