[2710] | 1 | # |
---|
| 2 | # ORXONOX - the hottest 3D action shooter ever to exist |
---|
| 3 | # > www.orxonox.net < |
---|
| 4 | # |
---|
| 5 | # This program is free software; you can redistribute it and/or |
---|
| 6 | # modify it under the terms of the GNU General Public License |
---|
| 7 | # as published by the Free Software Foundation; either version 2 |
---|
| 8 | # of the License, or (at your option) any later version. |
---|
| 9 | # |
---|
| 10 | # This program is distributed in the hope that it will be useful, |
---|
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 13 | # GNU General Public License for more details. |
---|
| 14 | # |
---|
| 15 | # You should have received a copy of the GNU General Public License along |
---|
| 16 | # with this program; if not, write to the Free Software Foundation, |
---|
| 17 | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
| 18 | # |
---|
| 19 | |
---|
| 20 | SET_SOURCE_FILES(CORE_SRC_FILES |
---|
[8729] | 21 | |
---|
| 22 | #BUILD_UNIT CoreStableBuildUnit.cc |
---|
| 23 | ClassTreeMask.cc |
---|
[5693] | 24 | DynLib.cc |
---|
| 25 | DynLibManager.cc |
---|
[5781] | 26 | Event.cc |
---|
[2896] | 27 | Game.cc |
---|
[5781] | 28 | GameMode.cc |
---|
[1755] | 29 | GameState.cc |
---|
[1543] | 30 | Language.cc |
---|
[8729] | 31 | Loader.cc |
---|
[5695] | 32 | LuaState.cc |
---|
[5781] | 33 | Namespace.cc |
---|
| 34 | NamespaceNode.cc |
---|
| 35 | Template.cc |
---|
[10413] | 36 | UpdateListener.cc |
---|
[8079] | 37 | ViewportEventListener.cc |
---|
| 38 | WindowEventListener.cc |
---|
[5781] | 39 | XMLNameListener.cc |
---|
[8729] | 40 | XMLPort.cc |
---|
| 41 | #END_BUILD_UNIT |
---|
[1543] | 42 | |
---|
[8729] | 43 | BaseObject.cc |
---|
| 44 | Core.cc |
---|
| 45 | |
---|
| 46 | BUILD_UNIT OgreBuildUnit.cc |
---|
| 47 | GraphicsManager.cc |
---|
| 48 | GUIManager.cc |
---|
| 49 | Resource.cc |
---|
| 50 | END_BUILD_UNIT |
---|
| 51 | |
---|
| 52 | BUILD_UNIT FilesystemBuildUnit.cc |
---|
[7284] | 53 | command/ArgumentCompletionFunctions.cc |
---|
[9667] | 54 | config/ConfigFile.cc |
---|
[5929] | 55 | PathConfig.cc |
---|
[8729] | 56 | END_BUILD_UNIT |
---|
[5929] | 57 | |
---|
[8729] | 58 | BUILD_UNIT ThreadBuildUnit.cc |
---|
[7284] | 59 | command/TclThreadManager.cc |
---|
[3304] | 60 | Thread.cc |
---|
[8729] | 61 | ThreadPool.cc |
---|
| 62 | END_BUILD_UNIT |
---|
[1505] | 63 | ) |
---|
[5929] | 64 | |
---|
[9667] | 65 | ADD_SUBDIRECTORY(class) |
---|
[7284] | 66 | ADD_SUBDIRECTORY(command) |
---|
[10343] | 67 | ADD_SUBDIRECTORY(commandline) |
---|
[9667] | 68 | ADD_SUBDIRECTORY(config) |
---|
[5781] | 69 | ADD_SUBDIRECTORY(input) |
---|
[10342] | 70 | ADD_SUBDIRECTORY(module) |
---|
[9667] | 71 | ADD_SUBDIRECTORY(object) |
---|
[10407] | 72 | ADD_SUBDIRECTORY(singleton) |
---|
[1505] | 73 | |
---|
[10267] | 74 | #Add the icon (for the renderwindow) |
---|
[10268] | 75 | IF(WIN32) |
---|
[10267] | 76 | List(APPEND CORE_SRC_FILES ${CMAKE_SOURCE_DIR}/contrib/winresource.rc) |
---|
| 77 | ENDIF() |
---|
| 78 | |
---|
[3196] | 79 | ORXONOX_ADD_LIBRARY(core |
---|
| 80 | FIND_HEADER_FILES |
---|
| 81 | TOLUA_FILES |
---|
[7284] | 82 | command/CommandExecutor.h |
---|
[9667] | 83 | config/SettingsConfigFile.h |
---|
[6417] | 84 | Game.h |
---|
| 85 | GameMode.h |
---|
[8079] | 86 | GraphicsManager.h |
---|
[6417] | 87 | GUIManager.h |
---|
[5781] | 88 | Loader.h |
---|
[5695] | 89 | LuaState.h |
---|
[6417] | 90 | PathConfig.h |
---|
| 91 | input/InputManager.h |
---|
| 92 | input/KeyBinder.h |
---|
| 93 | input/KeyBinderManager.h |
---|
[8858] | 94 | ../util/output/OutputDefinitions.h |
---|
[3196] | 95 | PCH_FILE |
---|
| 96 | CorePrecompiledHeaders.h |
---|
| 97 | LINK_LIBRARIES |
---|
| 98 | ${OGRE_LIBRARY} |
---|
[3370] | 99 | ${Boost_FILESYSTEM_LIBRARY} |
---|
| 100 | ${Boost_SYSTEM_LIBRARY} # Filesystem dependency |
---|
[3196] | 101 | ${Boost_THREAD_LIBRARY} |
---|
[3370] | 102 | ${Boost_DATE_TIME_LIBRARY} # Thread dependency |
---|
[5781] | 103 | ${CEGUI_LIBRARY} |
---|
| 104 | ${CEGUILUA_LIBRARY} |
---|
[8351] | 105 | ${CEGUI_TOLUA_LIBRARY} |
---|
| 106 | ${CEGUI_OGRE_RENDERER_LIBRARY} |
---|
| 107 | ${LUA5.1_LIBRARY} |
---|
[5781] | 108 | cpptcl_orxonox |
---|
| 109 | ois_orxonox |
---|
[7163] | 110 | tinyxml_orxonox |
---|
[3196] | 111 | util |
---|
[8351] | 112 | LINK_LIBS_UNIX |
---|
| 113 | dl |
---|
| 114 | pthread |
---|
[3196] | 115 | SOURCE_FILES |
---|
| 116 | ${CORE_SRC_FILES} |
---|
[1505] | 117 | ) |
---|