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
Line 
1SET(CORE_SRC_FILES
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
11  ConfigFileManager.cc
12  ConfigValueContainer.cc
13  Error.cc
14  SignalHandler.cc
15  CoreSettings.cc
16  OutputHandler.cc
17  Language.cc
18  ClassTreeMask.cc
19  Loader.cc
20  Executor.cc
21  XMLPort.cc
22  Namespace.cc
23  NamespaceNode.cc
24  CommandExecutor.cc
25  InputBuffer.cc
26  Tickable.cc
27  Script.cc
28  tolua/tolua_bind.cc
29#tolua/tolua_bind.h
30)
31
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
48ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
49
50TARGET_LINK_LIBRARIES(core
51  ${Lua_LIBRARIES}
52  ${OIS_LIBRARIES}
53  ${OGRE_LIBRARIES}
54  tinyxml
55  tolualib
56  util
57)
Note: See TracBrowser for help on using the repository browser.