Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/core/CMakeLists.txt @ 1209

Last change on this file since 1209 was 1209, checked in by rgrieder, 16 years ago
  • moved tinyxml and tolua folders
File size: 1.2 KB
RevLine 
[1115]1SET(CORE_SRC_FILES
[1045]2  OrxonoxClass.cc
3  BaseObject.cc
4  Factory.cc
5  Identifier.cc
6  IdentifierDistributor.cc
7  InputHandler.cc
8  InputManager.cc
9  InputEventListener.cc
10  MetaObjectList.cc
[1052]11  ConfigFileManager.cc
[1045]12  ConfigValueContainer.cc
13  Error.cc
14  SignalHandler.cc
[1052]15  CoreSettings.cc
[1045]16  OutputHandler.cc
17  Language.cc
18  ClassTreeMask.cc
19  Loader.cc
20  Executor.cc
21  XMLPort.cc
[1052]22  Namespace.cc
23  NamespaceNode.cc
24  CommandExecutor.cc
25  InputBuffer.cc
[1045]26  Tickable.cc
27  Script.cc
[1153]28  tolua/tolua_bind.cc
29#tolua/tolua_bind.h
[1045]30)
31
[1153]32#SET_SOURCE_FILES_PROPERTIES(tolua/tolua_bind.h
33#  PROPERTIES
34#  OBJECT_DEPENDS tolua/tolua_bind.h
35#  OBJECT_DEPENDS tolua/tolua_bind.cc
36#  GENERATED true
37#  HEADER_FILE_ONLY true
38#)
39
40GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
41ADD_CUSTOM_COMMAND(
42  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
43  COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
44  DEPENDS tolua
45  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
46)
47
[1115]48ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
[1045]49
[1115]50TARGET_LINK_LIBRARIES(core
[1045]51  ${Lua_LIBRARIES}
52  ${OIS_LIBRARIES}
[1153]53  ${OGRE_LIBRARIES}
[1209]54  tinyxml
55  tolualib
[1153]56  util
[1045]57)
Note: See TracBrowser for help on using the repository browser.