Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1606 was 1606, checked in by rgrieder, 16 years ago
  • removed struct ObjectListBase::Export from the forward declarations (not allowed for nested classes, but were possible with the use of a template..)
  • moved Error from core to util (since Debug.h has moved too)
  • 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  Language.cc
6  ObjectListBase.cc
7  OrxonoxClass.cc
8  Script.cc
9  SignalHandler.cc
10
11  # command
12  ArgumentCompletionFunctions.cc
13  CommandEvaluation.cc
14  CommandExecutor.cc
15  ConsoleCommand.cc
16  ConsoleCommandCompilation.cc
17  Executor.cc
18
19  # hierarchy
20  Factory.cc
21  Identifier.cc
22  MetaObjectList.cc
23
24  # level
25  BaseObject.cc
26  ClassTreeMask.cc
27  Loader.cc
28  Namespace.cc
29  NamespaceNode.cc
30  XMLPort.cc
31
32  # shell
33  IRC.cc
34  Shell.cc
35  TclBind.cc
36  TclThreadManager.cc
37
38  # input
39  input/Button.cc
40  input/CalibratorCallback.cc
41  input/HalfAxis.cc
42  input/InputBuffer.cc
43  input/InputCommands.cc
44  input/InputManager.cc
45  input/KeyBinder.cc
46  input/KeyDetector.cc
47
48  tolua/tolua_bind.cc
49)
50
51GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
52ADD_CUSTOM_COMMAND(
53  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
54  COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
55  DEPENDS tolua
56  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
57)
58
59ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
60
61TARGET_LINK_LIBRARIES(core
62  ${Lua_LIBRARIES}
63  ${OGRE_LIBRARIES}
64  cpptcl
65  ois_orxonox
66  tinyxml
67  tolualib
68  util
69  ${Boost_thread_LIBRARIES}
70  ${Boost_filesystem_LIBRARIES}
71)
Note: See TracBrowser for help on using the repository browser.