Last change
on this file since 1181 was
1153,
checked in by rgrieder, 17 years ago
|
- merged cmake branch back to trunk (the last one, hopefully )
- added Oli's lua library name (liblua.so)
|
File size:
1.2 KB
|
Line | |
---|
1 | SET(CORE_SRC_FILES |
---|
2 | OrxonoxClass.cc |
---|
3 | BaseObject.cc |
---|
4 | Factory.cc |
---|
5 | Identifier.cc |
---|
6 | IdentifierDistributor.cc |
---|
7 | InputHandler.cc |
---|
8 | InputManager.cc |
---|
9 | InputEventListener.cc |
---|
10 | MetaObjectList.cc |
---|
11 | ConfigFileManager.cc |
---|
12 | ConfigValueContainer.cc |
---|
13 | Error.cc |
---|
14 | SignalHandler.cc |
---|
15 | CoreSettings.cc |
---|
16 | OutputHandler.cc |
---|
17 | Language.cc |
---|
18 | ClassTreeMask.cc |
---|
19 | Loader.cc |
---|
20 | Executor.cc |
---|
21 | XMLPort.cc |
---|
22 | Namespace.cc |
---|
23 | NamespaceNode.cc |
---|
24 | CommandExecutor.cc |
---|
25 | InputBuffer.cc |
---|
26 | Tickable.cc |
---|
27 | Script.cc |
---|
28 | tolua/tolua_bind.cc |
---|
29 | #tolua/tolua_bind.h |
---|
30 | ) |
---|
31 | |
---|
32 | #SET_SOURCE_FILES_PROPERTIES(tolua/tolua_bind.h |
---|
33 | # PROPERTIES |
---|
34 | # OBJECT_DEPENDS tolua/tolua_bind.h |
---|
35 | # OBJECT_DEPENDS tolua/tolua_bind.cc |
---|
36 | # GENERATED true |
---|
37 | # HEADER_FILE_ONLY true |
---|
38 | #) |
---|
39 | |
---|
40 | GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION) |
---|
41 | ADD_CUSTOM_COMMAND( |
---|
42 | OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h |
---|
43 | COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg |
---|
44 | DEPENDS tolua |
---|
45 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib |
---|
46 | ) |
---|
47 | |
---|
48 | ADD_LIBRARY(core SHARED ${CORE_SRC_FILES}) |
---|
49 | |
---|
50 | TARGET_LINK_LIBRARIES(core |
---|
51 | ${Lua_LIBRARIES} |
---|
52 | ${OIS_LIBRARIES} |
---|
53 | ${OGRE_LIBRARIES} |
---|
54 | util |
---|
55 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.