| 
                Last change
                  on this file since 357 was
                  357,
                  checked in by rgrieder, 18 years ago
           | 
        
        
          
              - added the -no—undefined flag to the linker command (may not work, but trying to) on the suggestion of Bensch
  
           | 
        
        | 
            File size:
            467 bytes
           | 
      
      
        
  | Rev | Line |   | 
|---|
| [341] | 1 | PROJECT(Orxonox) | 
|---|
 | 2 |  | 
|---|
 | 3 | SET( ORXONOX_SRC_FILES | 
|---|
 | 4 |         orxonox.cc | 
|---|
 | 5 |         spaceship_steering.cc | 
|---|
 | 6 | ) | 
|---|
 | 7 |  | 
|---|
 | 8 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES}) | 
|---|
 | 9 |  | 
|---|
| [357] | 10 | SET_TARGET_PROPERTIES(../../bin/main LINK_FLAGS "--no-undefined" ) | 
|---|
| [341] | 11 |  | 
|---|
| [357] | 12 |  | 
|---|
| [341] | 13 | ADD_SUBDIRECTORY(core) | 
|---|
 | 14 | ADD_SUBDIRECTORY(hud) | 
|---|
 | 15 | ADD_SUBDIRECTORY(objects) | 
|---|
 | 16 | ADD_SUBDIRECTORY(weapon) | 
|---|
 | 17 |  | 
|---|
 | 18 |  | 
|---|
 | 19 | TARGET_LINK_LIBRARIES( ../../bin/main | 
|---|
 | 20 |         ${OGRE_LIBRARIES} | 
|---|
 | 21 |         ${OIS_LIBRARIES} | 
|---|
 | 22 |         ${ENet_LIBRARY} | 
|---|
 | 23 |         loader | 
|---|
 | 24 |         network | 
|---|
 | 25 |         core | 
|---|
 | 26 |         hud | 
|---|
 | 27 |         objects | 
|---|
 | 28 |         weapon | 
|---|
 | 29 | ) | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.