Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

split KeyBinder into multiple files instead of one unreadable monster file

  • Property svn:eol-style set to native
File size: 1.3 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
34  input/Button.cc
35  input/CalibratorCallback.cc
36  input/HalfAxis.cc
37  input/InputBuffer.cc
38  input/InputCommands.cc
39  input/InputManager.cc
40  input/KeyBinder.cc
41  input/KeyDetector.cc
42
43  tolua/tolua_bind.cc
44)
45
46GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
47ADD_CUSTOM_COMMAND(
48  OUTPUT tolua/tolua_bind.cc tolua/tolua_bind.h
49  COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
50  DEPENDS tolua
51  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
52)
53
54ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
55
56TARGET_LINK_LIBRARIES(core
57  ${Lua_LIBRARIES}
58  ${OGRE_LIBRARIES}
59  cpptcl
60  tinyxml
61  tolualib
62  ois
63  util
64  ${Boost_thread_LIBRARIES}
65  ${Boost_filesystem_LIBRARIES}
66)
Note: See TracBrowser for help on using the repository browser.