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/network
Files:
1 added
1 edited

Legend:

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

    r2087 r2131  
    1313  Synchronisable.cc
    1414  Host.cc
    15   packet/Packet.cc
    16   packet/Chat.cc
    17   packet/ClassID.cc
    18   packet/Acknowledgement.cc
    19   packet/Gamestate.cc
    20   packet/Welcome.cc
    21   packet/DeleteObjects.cc
    2215)
     16
     17ADD_SOURCE_DIRECTORY(NETWORK_SRC_FILES packet)
    2318
    2419IF(WIN32)
Note: See TracChangeset for help on using the changeset viewer.