Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/core/CMakeLists.txt @ 1751

Last change on this file since 1751 was 1747, checked in by landauf, 16 years ago

merged core3 back to trunk

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1SET(CORE_SRC_FILES
2  ConfigFileManager.cc
3  ConfigValueContainer.cc
4  Core.cc
5  Language.cc
6  ObjectListBase.cc
7  OrxonoxClass.cc
8  Script.cc
9
10  # command
11  ArgumentCompletionFunctions.cc
12  CommandEvaluation.cc
13  CommandExecutor.cc
14  ConsoleCommand.cc
15  ConsoleCommandCompilation.cc
16  Executor.cc
17
18  # hierarchy
19  Factory.cc
20  Identifier.cc
21  MetaObjectList.cc
22
23  # level
24  BaseObject.cc
25  ClassTreeMask.cc
26  Loader.cc
27  Namespace.cc
28  NamespaceNode.cc
29  XMLPort.cc
30
31  # shell
32  IRC.cc
33  Shell.cc
34  TclBind.cc
35  TclThreadManager.cc
36
37  # input
38  input/Button.cc
39  input/CalibratorCallback.cc
40  input/HalfAxis.cc
41  input/InputBuffer.cc
42  input/InputCommands.cc
43  input/InputManager.cc
44  input/KeyBinder.cc
45  input/KeyDetector.cc
46
47  tolua/tolua_bind.cc
48)
49
50GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
51ADD_CUSTOM_COMMAND(
52  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
53  COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
54  DEPENDS tolua
55  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
56)
57
58ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
59
60TARGET_LINK_LIBRARIES(core
61  ${Lua_LIBRARIES}
62  ${OGRE_LIBRARIES}
63  cpptcl
64  ois_orxonox
65  tinyxml
66  tolualib
67  util
68  ${Boost_thread_LIBRARIES}
69  ${Boost_filesystem_LIBRARIES}
70)
Note: See TracBrowser for help on using the repository browser.