Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/script_trigger/src/core/CMakeLists.txt @ 1383

Last change on this file since 1383 was 1383, checked in by bknecht, 16 years ago

crazy stuff!! triggers and the best: you can now use the lua function "include(levelfile)" to include another level file into the level. it's great!!! :D

File size: 1.0 KB
RevLine 
[1115]1SET(CORE_SRC_FILES
[1045]2  BaseObject.cc
[1224]3  ClassTreeMask.cc
4  CommandExecutor.cc
5  ConfigFileManager.cc
6  ConfigValueContainer.cc
7  CoreSettings.cc
8  Error.cc
9  Executor.cc
[1045]10  Factory.cc
11  Identifier.cc
12  IdentifierDistributor.cc
[1224]13  InputBuffer.cc
[1045]14  InputHandler.cc
15  InputManager.cc
16  Language.cc
17  Loader.cc
[1224]18  MetaObjectList.cc
[1052]19  Namespace.cc
20  NamespaceNode.cc
[1224]21  OrxonoxClass.cc
22  OutputHandler.cc
[1307]23  LuaBind.cc
[1224]24  SignalHandler.cc
25  TclBind.cc
[1045]26  Tickable.cc
[1224]27  XMLPort.cc
[1153]28  tolua/tolua_bind.cc
[1045]29)
30
[1153]31GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
32ADD_CUSTOM_COMMAND(
33  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
34  COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
[1383]35  DEPENDS tolua LuaBind_clean.h
[1153]36  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
37)
38
[1115]39ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
[1045]40
[1115]41TARGET_LINK_LIBRARIES(core
[1045]42  ${Lua_LIBRARIES}
[1153]43  ${OGRE_LIBRARIES}
[1224]44  cpptcl
[1209]45  tinyxml
46  tolualib
[1219]47  ois
[1153]48  util
[1045]49)
Note: See TracBrowser for help on using the repository browser.