Last change
on this file since 387 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
|
Line | |
---|
1 | PROJECT(Orxonox) |
---|
2 | |
---|
3 | ADD_SUBDIRECTORY(core) |
---|
4 | ADD_SUBDIRECTORY(hud) |
---|
5 | ADD_SUBDIRECTORY(objects) |
---|
6 | ADD_SUBDIRECTORY(weapon) |
---|
7 | |
---|
8 | |
---|
9 | SET( ORXONOX_SRC_FILES |
---|
10 | orxonox.cc |
---|
11 | orxonox_scene.cc |
---|
12 | orxonox_ship.cc |
---|
13 | run_manager.cc |
---|
14 | spaceship_steering.cc |
---|
15 | inertial_node.cc |
---|
16 | ) |
---|
17 | |
---|
18 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES}) |
---|
19 | |
---|
20 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
---|
21 | |
---|
22 | TARGET_LINK_LIBRARIES( ../../bin/main |
---|
23 | ${OGRE_LIBRARIES} |
---|
24 | ${OIS_LIBRARIES} |
---|
25 | loader |
---|
26 | network |
---|
27 | core |
---|
28 | hud |
---|
29 | objects |
---|
30 | weapon |
---|
31 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.