Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2131 for code/trunk/src/core


Ignore:
Timestamp:
Nov 4, 2008, 2:11:24 PM (16 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/core
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/CMakeLists.txt

    r2087 r2131  
    4242  TclThreadManager.cc
    4343
    44   # input
    45   input/Button.cc
    46   input/CalibratorCallback.cc
    47   input/ExtendedInputState.cc
    48   input/HalfAxis.cc
    49   input/InputBuffer.cc
    50   input/InputCommands.cc
    51   input/InputManager.cc
    52   input/JoyStickDeviceNumberListener.cc
    53   input/KeyBinder.cc
    54   input/KeyDetector.cc
    55   input/SimpleInputState.cc
    56 
    5744  tolua/tolua_bind.cc
    5845)
     46
     47ADD_SOURCE_DIRECTORY(CORE_SRC_FILES input)
    5948
    6049GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
Note: See TracChangeset for help on using the changeset viewer.