| Last change
                  on this file since 2188 was
                  2131,
                  checked in by rgrieder, 17 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:
            262 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | SET( SRC_FILES | 
|---|
| 2 | Button.cc | 
|---|
| 3 | CalibratorCallback.cc | 
|---|
| 4 | ExtendedInputState.cc | 
|---|
| 5 | HalfAxis.cc | 
|---|
| 6 | InputBuffer.cc | 
|---|
| 7 | InputCommands.cc | 
|---|
| 8 | InputManager.cc | 
|---|
| 9 | JoyStickDeviceNumberListener.cc | 
|---|
| 10 | KeyBinder.cc | 
|---|
| 11 | KeyDetector.cc | 
|---|
| 12 | SimpleInputState.cc | 
|---|
| 13 | ) | 
|---|
| 14 |  | 
|---|
| 15 | ADD_SOURCE_FILES(SRC_FILES) | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.