Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

merged input branch back to trunk

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