Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

gcc and CMake adjustments

  • 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  Script.cc
13  SignalHandler.cc
14
15  # command
16  ArgumentCompletionFunctions.cc
17  CommandEvaluation.cc
18  CommandExecutor.cc
19  CommandLine.cc
20  ConsoleCommand.cc
21  ConsoleCommandCompilation.cc
22  Executor.cc
23
24  # hierarchy
25  Factory.cc
26  Identifier.cc
27  MetaObjectList.cc
28
29  # level
30  BaseObject.cc
31  ClassTreeMask.cc
32  Loader.cc
33  Namespace.cc
34  NamespaceNode.cc
35  XMLPort.cc
36
37  # shell
38  IRC.cc
39  Shell.cc
40  TclBind.cc
41  TclThreadManager.cc
42
43  # input
44  input/Button.cc
45  input/CalibratorCallback.cc
46  input/ExtendedInputState.cc
47  input/HalfAxis.cc
48  input/InputBuffer.cc
49  input/InputCommands.cc
50  input/InputManager.cc
51  input/KeyBinder.cc
52  input/KeyDetector.cc
53  input/SimpleInputState.cc
54
55  tolua/tolua_bind.cc
56)
57
58GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
59ADD_CUSTOM_COMMAND(
60  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
61  COMMAND ${TOLUA_EXE} -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
62  DEPENDS tolua
63  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
64)
65
66ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
67
68TARGET_LINK_LIBRARIES(core
69  ${Lua_LIBRARIES}
70  ${OGRE_LIBRARIES}
71  cpptcl
72  ois_orxonox
73  tinyxml
74  tolualib
75  util
76  ${Boost_thread_LIBRARIES}
77  ${Boost_filesystem_LIBRARIES}
78)
Note: See TracBrowser for help on using the repository browser.