Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gui/src/core/CMakeLists.txt @ 1642

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

merged input branch into gui test branch (was about time)
svn save (it's still a mess and CMLs haven't been updated)
I'll have to create a special project to create the tolua_bind files for tolua itself anyway..

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1SET(CORE_SRC_FILES
2  ConfigFileManager.cc
3  ConfigValueContainer.cc
4  Core.cc
5  Error.cc
6  Exception.cc
7  Language.cc
8  OrxonoxClass.cc
9  OutputBuffer.cc
10  OutputHandler.cc
11  Script.cc
12  SignalHandler.cc
13
14  # command
15  ArgumentCompletionFunctions.cc
16  CommandEvaluation.cc
17  CommandExecutor.cc
18  ConsoleCommand.cc
19  ConsoleCommandCompilation.cc
20  Executor.cc
21
22  # hierarchy
23  Factory.cc
24  Identifier.cc
25  MetaObjectList.cc
26
27  # level
28  BaseObject.cc
29  ClassTreeMask.cc
30  Loader.cc
31  Namespace.cc
32  NamespaceNode.cc
33  XMLPort.cc
34
35  # shell
36  IRC.cc
37  Shell.cc
38  TclBind.cc
39  TclThreadManager.cc
40
41  # input
42  input/Button.cc
43  input/CalibratorCallback.cc
44  input/ExtendedInputState.cc
45  input/HalfAxis.cc
46  input/InputBuffer.cc
47  input/InputCommands.cc
48  input/InputManager.cc
49  input/KeyBinder.cc
50  input/KeyDetector.cc
51  input/SimpleInputState.cc
52
53  tolua/tolua_bind.cc
54)
55
56GET_TARGET_PROPERTY(TOLUA_EXE tolua LOCATION)
57ADD_CUSTOM_COMMAND(
58  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
59  COMMAND ${TOLUA_EXE} -n core -o ../../src/core/tolua/tolua_bind.cc -H ../../src/core/tolua/tolua_bind.h ../../src/core/tolua/tolua.pkg
60  DEPENDS tolua
61  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
62)
63
64ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
65
66TARGET_LINK_LIBRARIES(core
67  ${Lua_LIBRARIES}
68  ${OGRE_LIBRARIES}
69  cpptcl
70  ois_orxonox
71  tinyxml
72  tolualib
73  util
74  ${Boost_thread_LIBRARIES}
75  ${Boost_filesystem_LIBRARIES}
76)
Note: See TracBrowser for help on using the repository browser.