Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/input/src/core/CMakeLists.txt @ 1207

Last change on this file since 1207 was 1205, checked in by rgrieder, 17 years ago
  • removed obsolete files
File size: 1.1 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)
30
31#SET_SOURCE_FILES_PROPERTIES(tolua/tolua_bind.h
32#  PROPERTIES
33#  OBJECT_DEPENDS tolua/tolua_bind.h
34#  OBJECT_DEPENDS tolua/tolua_bind.cc
35#  GENERATED true
36#  HEADER_FILE_ONLY true
37#)
38
39GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
40ADD_CUSTOM_COMMAND(
41  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
42  COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
43  DEPENDS tolua
44  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
45)
46
47ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
48
49TARGET_LINK_LIBRARIES(core
50  ${Lua_LIBRARIES}
51  ${OGRE_LIBRARIES}
52  ois
53  util
54)
Note: See TracBrowser for help on using the repository browser.