Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gui/src/core/CMakeLists.txt @ 1690

Last change on this file since 1690 was 1672, checked in by rgrieder, 16 years ago
  • Changed GameState so that the new RootGameState can override 2 virtual methods
  • added RootGameState that takes care of state transitions (can only happen between ticks)
  • moved main loop to GSRoot instead of GSGraphics
  • network GameStates not yet finished
  • GraphicsEngine not yet merged into GSGraphics
  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1SET(CORE_SRC_FILES
2  ConfigFileManager.cc
3  ConfigValueContainer.cc
4  Core.cc
5  Error.cc
6  Exception.cc
7  GameState.cc
8  Language.cc
9  OrxonoxClass.cc
10  OutputBuffer.cc
11  OutputHandler.cc
12  RootGameState.cc
13  Script.cc
14  SignalHandler.cc
15
16  # command
17  ArgumentCompletionFunctions.cc
18  CommandEvaluation.cc
19  CommandExecutor.cc
20  CommandLine.cc
21  ConsoleCommand.cc
22  ConsoleCommandCompilation.cc
23  Executor.cc
24
25  # hierarchy
26  Factory.cc
27  Identifier.cc
28  MetaObjectList.cc
29
30  # level
31  BaseObject.cc
32  ClassTreeMask.cc
33  Loader.cc
34  Namespace.cc
35  NamespaceNode.cc
36  XMLPort.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/KeyBinder.cc
53  input/KeyDetector.cc
54  input/SimpleInputState.cc
55
56  tolua/tolua_bind.cc
57)
58
59GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
60ADD_CUSTOM_COMMAND(
61  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
62  COMMAND ${TOLUA_EXE} -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
63  DEPENDS tolua
64  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
65)
66
67ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
68
69TARGET_LINK_LIBRARIES(core
70  ${Lua_LIBRARIES}
71  ${OGRE_LIBRARIES}
72  cpptcl
73  ois_orxonox
74  tinyxml
75  tolualib
76  util
77  ${Boost_thread_LIBRARIES}
78  ${Boost_filesystem_LIBRARIES}
79)
Note: See TracBrowser for help on using the repository browser.