Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1519 was 1519, checked in by rgrieder, 16 years ago

moved input related files to src/core/input

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1SET(CORE_SRC_FILES
2  BaseObject.cc
3  ClassTreeMask.cc
4  ConfigFileManager.cc
5  ConfigValueContainer.cc
6  CoreSettings.cc
7  Error.cc
8  Executor.cc
9  Factory.cc
10  Identifier.cc
11  IdentifierDistributor.cc
12  OutputBuffer.cc
13  Shell.cc
14  CommandExecutor.cc
15  CommandEvaluation.cc
16  ConsoleCommand.cc
17  ArgumentCompletionFunctions.cc
18  ConsoleCommandCompilation.cc
19  Language.cc
20  Loader.cc
21  MetaObjectList.cc
22  Namespace.cc
23  NamespaceNode.cc
24  OrxonoxClass.cc
25  OutputHandler.cc
26  Script.cc
27  SignalHandler.cc
28  TclBind.cc
29  Tickable.cc
30  XMLPort.cc
31  TclThreadManager.cc
32  IRC.cc
33  input/InputBuffer.cc
34  input/InputManager.cc
35  input/KeyBinder.cc
36  tolua/tolua_bind.cc
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  cpptcl
53  tinyxml
54  tolualib
55  ois
56  util
57  ${Boost_thread_LIBRARIES}
58  ${Boost_filesystem_LIBRARIES}
59)
Note: See TracBrowser for help on using the repository browser.