Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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/orxonox/objects
Files:
11 added
2 edited

Legend:

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

    r2130 r2131  
    88  Tickable.cc
    99  Test.cc
     10  Scene.cc
    1011  Script.cc
    11 
    12   Scene.cc
    13   worldentities/WorldEntity.cc
    14   worldentities/PositionableEntity.cc
    15   worldentities/MovableEntity.cc
    16   worldentities/ControllableEntity.cc
    17   worldentities/Model.cc
    18   worldentities/Billboard.cc
    19   worldentities/BlinkingBillboard.cc
    20   worldentities/Light.cc
    21   worldentities/Camera.cc
    22   worldentities/CameraPosition.cc
    23   worldentities/SpawnPoint.cc
    24   worldentities/ParticleEmitter.cc
    25   worldentities/ParticleSpawner.cc
    26 #  worldentities/Backlight.cc
    27 
    28   quest/AddQuest.cc
    29   quest/AddQuestHint.cc
    30   quest/AddReward.cc
    31   quest/ChangeQuestStatus.cc
    32   quest/CompleteQuest.cc
    33   quest/FailQuest.cc
    34   quest/GlobalQuest.cc
    35   quest/LocalQuest.cc
    36   quest/Quest.cc
    37   quest/QuestDescription.cc
    38   quest/QuestEffect.cc
    39   quest/QuestHint.cc
    40   quest/QuestItem.cc
    41   quest/QuestManager.cc
    42   quest/Rewardable.cc
    43 
    44   weaponSystem/WeaponSystem.cc
    45   weaponSystem/WeaponSet.cc
    46   weaponSystem/WeaponSlot.cc
    47   weaponSystem/Weapon.cc
    48   weaponSystem/Munition.cc
    49 
    50   worldentities/triggers/Trigger.cc
    51   worldentities/triggers/DistanceTrigger.cc
    52   worldentities/triggers/EventTrigger.cc
    53 
    54   worldentities/pawns/Spectator.cc
    55   worldentities/pawns/Pawn.cc
    56   worldentities/pawns/SpaceShip.cc
    57 
    58   infos/Info.cc
    59   infos/Level.cc
    60   infos/PlayerInfo.cc
    61   infos/HumanPlayer.cc
    62 
    63   gametypes/Gametype.cc
    6412)
    6513
    6614ADD_SOURCE_DIRECTORY(SRC_FILES controllers)
     15ADD_SOURCE_DIRECTORY(SRC_FILES gametypes)
     16ADD_SOURCE_DIRECTORY(SRC_FILES infos)
     17#ADD_SOURCE_DIRECTORY(SRC_FILES pickup)
     18ADD_SOURCE_DIRECTORY(SRC_FILES quest)
     19ADD_SOURCE_DIRECTORY(SRC_FILES weaponSystem)
     20ADD_SOURCE_DIRECTORY(SRC_FILES worldentities)
    6721
    6822ADD_SOURCE_FILES(SRC_FILES)
    69 
  • code/trunk/src/orxonox/objects/controllers/CMakeLists.txt

    r2130 r2131  
    55
    66ADD_SOURCE_FILES(SRC_FILES)
    7 
Note: See TracChangeset for help on using the changeset viewer.