Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 1494 was 1494, checked in by rgrieder, 16 years ago
  • set the svn:eol-style property to all files so, that where ever you check out, you'll get the right line endings (had to change every file with mixed endings to windows in order to set the property)
  • 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  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
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.