Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Minor gcc/CMake 'adjustments'

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1SET(CORE_SRC_FILES
2  Clock.cc
3  ConfigFileManager.cc
4  ConfigValueContainer.cc
5  Core.cc
6  Error.cc
7  Exception.cc
8  GameState.cc
9  Language.cc
10  OrxonoxClass.cc
11  OutputBuffer.cc
12  OutputHandler.cc
13  RootGameState.cc
14  Script.cc
15  SignalHandler.cc
16
17  # command
18  ArgumentCompletionFunctions.cc
19  CommandEvaluation.cc
20  CommandExecutor.cc
21  CommandLine.cc
22  ConsoleCommand.cc
23  ConsoleCommandCompilation.cc
24  Executor.cc
25
26  # hierarchy
27  Factory.cc
28  Identifier.cc
29  MetaObjectList.cc
30
31  # level
32  BaseObject.cc
33  ClassTreeMask.cc
34  Loader.cc
35  Namespace.cc
36  NamespaceNode.cc
37  XMLPort.cc
38
39  # shell
40  IRC.cc
41  Shell.cc
42  TclBind.cc
43  TclThreadManager.cc
44
45  # input
46  input/Button.cc
47  input/CalibratorCallback.cc
48  input/ExtendedInputState.cc
49  input/HalfAxis.cc
50  input/InputBuffer.cc
51  input/InputCommands.cc
52  input/InputManager.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 LOCATION)
61ADD_CUSTOM_COMMAND(
62  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
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 tolua
65  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
66)
67
68ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
69
70TARGET_LINK_LIBRARIES(core
71  ${Lua_LIBRARIES}
72  ${OGRE_LIBRARIES}
73  cpptcl
74  ois_orxonox
75  tinyxml
76  tolualib
77  util
78  ${Boost_thread_LIBRARIES}
79  ${Boost_filesystem_LIBRARIES}
80)
Note: See TracBrowser for help on using the repository browser.