Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/input/src/core/CMakeLists.txt @ 1629

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

updated input branch

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