Last change
on this file since 755 was
754,
checked in by rgrieder, 17 years ago
|
- some unstable changes to CMLs
|
File size:
966 bytes
|
Line | |
---|
1 | PROJECT(Orxonox) |
---|
2 | |
---|
3 | ADD_SUBDIRECTORY(core) |
---|
4 | ADD_SUBDIRECTORY(hud) |
---|
5 | ADD_SUBDIRECTORY(objects) |
---|
6 | ADD_SUBDIRECTORY(tools) |
---|
7 | ADD_SUBDIRECTORY(particle) |
---|
8 | |
---|
9 | INCLUDE_DIRECTORIES(tools) |
---|
10 | |
---|
11 | SET( ORXONOX_SRC_FILES |
---|
12 | Orxonox.cc |
---|
13 | SpaceshipSteering.cc |
---|
14 | Main.cc |
---|
15 | GraphicsEngine.cc |
---|
16 | ) |
---|
17 | |
---|
18 | IF(WIN32) |
---|
19 | SET( OBJECTS_SRC_FILES |
---|
20 | ${OBJECTS_SRC_FILES} |
---|
21 | ${TOOLS_SRC_FILES} |
---|
22 | ) |
---|
23 | ELSE(WIN32) |
---|
24 | SET(LINK_OBJECTS_LIBRARY objects) |
---|
25 | SET(LINK_TOOLS_LIBRARY tools) |
---|
26 | ENDIF(WIN32) |
---|
27 | |
---|
28 | IF(WIN32) |
---|
29 | # ADD_LIBRARY(orxonox ${ORXONOX_SRC_FILES}) |
---|
30 | ELSE(WIN32) |
---|
31 | ADD_LIBRARY(orxonox SHARED ${ORXONOX_SRC_FILES}) |
---|
32 | ENDIF(WIN32) |
---|
33 | |
---|
34 | ADD_EXECUTABLE(../../bin/main ${ORXONOX_SRC_FILES} ${OBJECTS_SRC_FILES}) |
---|
35 | |
---|
36 | SET_TARGET_PROPERTIES(../../bin/main PROPERTIES LINK_FLAGS "--no-undefined" ) |
---|
37 | |
---|
38 | TARGET_LINK_LIBRARIES( ../../bin/main |
---|
39 | ${OGRE_LIBRARIES} |
---|
40 | ${OIS_LIBRARIES} |
---|
41 | loader |
---|
42 | audio |
---|
43 | network |
---|
44 | core |
---|
45 | hud |
---|
46 | ${LINK_OBJECTS_LIBRARY} |
---|
47 | ${LINK_TOOLS_LIBRARY} |
---|
48 | util |
---|
49 | particle |
---|
50 | ) |
---|
51 | |
---|
Note: See
TracBrowser
for help on using the repository browser.