Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/merge/src/core/CMakeLists.txt @ 1305

Last change on this file since 1305 was 1224, checked in by rgrieder, 17 years ago
  • little clean up in CMLs
File size: 1011 bytes
Line 
1SET(CORE_SRC_FILES
2  BaseObject.cc
3  ClassTreeMask.cc
4  CommandExecutor.cc
5  ConfigFileManager.cc
6  ConfigValueContainer.cc
7  CoreSettings.cc
8  Error.cc
9  Executor.cc
10  Factory.cc
11  Identifier.cc
12  IdentifierDistributor.cc
13  InputBuffer.cc
14  InputHandler.cc
15  InputManager.cc
16  Language.cc
17  Loader.cc
18  MetaObjectList.cc
19  Namespace.cc
20  NamespaceNode.cc
21  OrxonoxClass.cc
22  OutputHandler.cc
23  Script.cc
24  SignalHandler.cc
25  TclBind.cc
26  Tickable.cc
27  XMLPort.cc
28  tolua/tolua_bind.cc
29)
30
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
35  DEPENDS tolua
36  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
37)
38
39ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
40
41TARGET_LINK_LIBRARIES(core
42  ${Lua_LIBRARIES}
43  ${OGRE_LIBRARIES}
44  cpptcl
45  tinyxml
46  tolualib
47  ois
48  util
49)
Note: See TracBrowser for help on using the repository browser.