Last change
on this file since 379 was
376,
checked in by rgrieder, 17 years ago
|
- removed the linker flags, since —no-undefined has no influence when building shared libraries (sorry Nico for you efforts)
—no-allow-shlib-undefined should exist, but doesn't according to the man page, and it also doesn't work anyway.
- removed linkage of ENet to the main executable as well (not necessary)
|
File size:
546 bytes
|
Rev | Line | |
---|
[341] | 1 | PROJECT(Orxonox) |
---|
| 2 | |
---|
[376] | 3 | ADD_SUBDIRECTORY(core) |
---|
| 4 | ADD_SUBDIRECTORY(hud) |
---|
| 5 | ADD_SUBDIRECTORY(objects) |
---|
| 6 | ADD_SUBDIRECTORY(weapon) |
---|
| 7 | |
---|
| 8 | |
---|
[341] | 9 | SET( ORXONOX_SRC_FILES |
---|
[376] | 10 | orxonox.cc |
---|
| 11 | orxonox_scene.cc |
---|
| 12 | orxonox_ship.cc |
---|
| 13 | run_manager.cc |
---|
| 14 | spaceship_steering.cc |
---|
[364] | 15 | inertial_node.cc |
---|
[341] | 16 | ) |
---|
| 17 | |
---|
| 18 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES}) |
---|
| 19 | |
---|
[358] | 20 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
---|
[341] | 21 | |
---|
[373] | 22 | TARGET_LINK_LIBRARIES( ../../bin/main |
---|
[376] | 23 | ${OGRE_LIBRARIES} |
---|
| 24 | ${OIS_LIBRARIES} |
---|
| 25 | loader |
---|
| 26 | network |
---|
| 27 | core |
---|
| 28 | hud |
---|
| 29 | objects |
---|
| 30 | weapon |
---|
[341] | 31 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.