Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1220 was 1219, checked in by rgrieder, 17 years ago

merged input branch back to trunk. Not yet tested on tardis

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  MetaObjectList.cc
10  ConfigFileManager.cc
11  ConfigValueContainer.cc
12  Error.cc
13  SignalHandler.cc
14  CoreSettings.cc
15  OutputHandler.cc
16  Language.cc
17  ClassTreeMask.cc
18  Loader.cc
19  Executor.cc
20  XMLPort.cc
21  Namespace.cc
22  NamespaceNode.cc
23  CommandExecutor.cc
24  InputBuffer.cc
25  Tickable.cc
26  Script.cc
27  tolua/tolua_bind.cc
28#tolua/tolua_bind.h
29  TclBind.cc
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  cpptcl
52  ${Lua_LIBRARIES}
53  ${OGRE_LIBRARIES}
54  tinyxml
55  tolualib
56  ois
57  util
58)
Note: See TracBrowser for help on using the repository browser.