Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/network/src/core/CMakeLists.txt @ 1464

Last change on this file since 1464 was 1446, checked in by landauf, 16 years ago

merged console branch into network branch

after several heavy troubles it compiles, but there is still a bug I couldn't fix: orxonox crashes as soon as one presses a key after opening the console… maybe someone else sees the problem?

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  InputManager.cc
13  KeyBinder.cc
14  OutputBuffer.cc
15  InputBuffer.cc
16  Shell.cc
17  CommandExecutor.cc
18  CommandEvaluation.cc
19  ConsoleCommand.cc
20  ArgumentCompletionFunctions.cc
21  ConsoleCommandCompilation.cc
22  Language.cc
23  Loader.cc
24  MetaObjectList.cc
25  Namespace.cc
26  NamespaceNode.cc
27  OrxonoxClass.cc
28  OutputHandler.cc
29  Script.cc
30  SignalHandler.cc
31  TclBind.cc
32  Tickable.cc
33  XMLPort.cc
34  TclThreadManager.cc
35  IRC.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
47IF(WIN32)
48  ADD_LIBRARY(core ${CORE_SRC_FILES})
49ELSE(WIN32)
50  ADD_LIBRARY(core SHARED ${CORE_SRC_FILES})
51ENDIF(WIN32)
52
53TARGET_LINK_LIBRARIES(core
54  ${Lua_LIBRARIES}
55  ${OGRE_LIBRARIES}
56  cpptcl
57  tinyxml
58  tolualib
59  ois
60  util
61  ${Boost_thread_LIBRARIES}
62  ${Boost_filesystem_LIBRARIES}
63)
Note: See TracBrowser for help on using the repository browser.