Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1756 was 1755, checked in by rgrieder, 16 years ago

merged gui back to trunk.
update the media repository!

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1SET(CORE_SRC_FILES
2  Clock.cc
3  ConfigFileManager.cc
4  ConfigValueContainer.cc
5  Core.cc
6  Exception.cc
7  GameState.cc
8  Language.cc
9  ObjectListBase.cc
10  OrxonoxClass.cc
11  RootGameState.cc
12  Script.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  XMLPort.cc
35
36  # shell
37  IRC.cc
38  Shell.cc
39  TclBind.cc
40  TclThreadManager.cc
41
42  # input
43  input/Button.cc
44  input/CalibratorCallback.cc
45  input/ExtendedInputState.cc
46  input/HalfAxis.cc
47  input/InputBuffer.cc
48  input/InputCommands.cc
49  input/InputManager.cc
50  input/KeyBinder.cc
51  input/KeyDetector.cc
52  input/SimpleInputState.cc
53
54  tolua/tolua_bind.cc
55)
56
57GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
58ADD_CUSTOM_COMMAND(
59  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
60  COMMAND ${TOLUA_EXE} -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
61  DEPENDS tolua
62  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
63)
64
65ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
66
67TARGET_LINK_LIBRARIES(core
68  ${Lua_LIBRARIES}
69  ${OGRE_LIBRARIES}
70  cpptcl
71  ois_orxonox
72  tinyxml
73  tolualib
74  util
75  ${Boost_thread_LIBRARIES}
76  ${Boost_filesystem_LIBRARIES}
77)
Note: See TracBrowser for help on using the repository browser.