Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/objecthierarchy/src/core/CMakeLists.txt @ 1959

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

Merged script_trigger branch into objecthierarchy branch.
Also merged changes in Script.cc and Script.h manually to LuaBind.cc and LuaBind.h.

  • Property svn:eol-style set to native
File size: 1.6 KB
RevLine 
[1505]1SET(CORE_SRC_FILES
[1755]2  Clock.cc
[1505]3  ConfigFileManager.cc
4  ConfigValueContainer.cc
[1535]5  Core.cc
[1755]6  GameState.cc
[1543]7  Language.cc
[1959]8  Luabind.cc
[1747]9  ObjectListBase.cc
[1543]10  OrxonoxClass.cc
[1755]11  RootGameState.cc
[1543]12
13  # command
14  ArgumentCompletionFunctions.cc
15  CommandEvaluation.cc
[1505]16  CommandExecutor.cc
[1755]17  CommandLine.cc
[1505]18  ConsoleCommand.cc
19  ConsoleCommandCompilation.cc
[1543]20  Executor.cc
21
22  # hierarchy
23  Factory.cc
24  Identifier.cc
25  MetaObjectList.cc
26
27  # level
28  BaseObject.cc
29  ClassTreeMask.cc
[1505]30  Loader.cc
31  Namespace.cc
32  NamespaceNode.cc
[1543]33  XMLPort.cc
34
35  # shell
36  IRC.cc
37  Shell.cc
[1505]38  TclBind.cc
39  TclThreadManager.cc
[1535]40
[1543]41  # input
[1535]42  input/Button.cc
43  input/CalibratorCallback.cc
[1755]44  input/ExtendedInputState.cc
[1535]45  input/HalfAxis.cc
46  input/InputBuffer.cc
47  input/InputCommands.cc
48  input/InputManager.cc
[1887]49  input/JoyStickDeviceNumberListener.cc
[1535]50  input/KeyBinder.cc
51  input/KeyDetector.cc
[1755]52  input/SimpleInputState.cc
[1535]53
[1505]54  tolua/tolua_bind.cc
55)
56
[1810]57GET_TARGET_PROPERTY(TOLUA_EXE tolua_orxonox LOCATION)
[1505]58ADD_CUSTOM_COMMAND(
[1843]59  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.h
[1755]60  COMMAND ${TOLUA_EXE} -n Core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
[1815]61  DEPENDS
62    tolua_orxonox
63    tolua/tolua.pkg
[1959]64    LuaBind.h
[1815]65    CommandExecutor.h
[1505]66  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
67)
68
69ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
70
71TARGET_LINK_LIBRARIES(core
72  ${OGRE_LIBRARIES}
[1844]73  ${Boost_thread_LIBRARIES}
74  ${Boost_filesystem_LIBRARIES}
[1810]75  lua_orxonox
76  cpptcl_orxonox
[1555]77  ois_orxonox
[1810]78  tinyxml_orxonox
79  tolualib_orxonox
[1505]80  util
81)
Note: See TracBrowser for help on using the repository browser.