Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/core3/src/core/CMakeLists.txt @ 1586

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

moved Debug.h, OutputHandler and OutputBuffer to util, to make COUT(x) available everywhere

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