Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

merged objecthierarchy branch back to trunk

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