[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 |
---|
[5781] | 24 | Event.cc |
---|
[2896] | 25 | Game.cc |
---|
[10624] | 26 | GameConfig.cc |
---|
[5781] | 27 | GameMode.cc |
---|
[1755] | 28 | GameState.cc |
---|
[11304] | 29 | Highscore.cc |
---|
[1543] | 30 | Language.cc |
---|
[8729] | 31 | Loader.cc |
---|
[5695] | 32 | LuaState.cc |
---|
[5781] | 33 | Namespace.cc |
---|
| 34 | NamespaceNode.cc |
---|
| 35 | Template.cc |
---|
[10624] | 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 |
---|
[10624] | 45 | CoreConfig.cc |
---|
| 46 | CoreStaticInitializationHandler.cc |
---|
[8729] | 47 | |
---|
| 48 | BUILD_UNIT OgreBuildUnit.cc |
---|
| 49 | GraphicsManager.cc |
---|
| 50 | GUIManager.cc |
---|
| 51 | Resource.cc |
---|
| 52 | END_BUILD_UNIT |
---|
| 53 | |
---|
| 54 | BUILD_UNIT FilesystemBuildUnit.cc |
---|
[7284] | 55 | command/ArgumentCompletionFunctions.cc |
---|
[9667] | 56 | config/ConfigFile.cc |
---|
[10624] | 57 | ApplicationPaths.cc |
---|
| 58 | ConfigurablePaths.cc |
---|
[8729] | 59 | END_BUILD_UNIT |
---|
[5929] | 60 | |
---|
[8729] | 61 | BUILD_UNIT ThreadBuildUnit.cc |
---|
[7284] | 62 | command/TclThreadManager.cc |
---|
[3304] | 63 | Thread.cc |
---|
[8729] | 64 | ThreadPool.cc |
---|
| 65 | END_BUILD_UNIT |
---|
[1505] | 66 | ) |
---|
[5929] | 67 | |
---|
[9667] | 68 | ADD_SUBDIRECTORY(class) |
---|
[7284] | 69 | ADD_SUBDIRECTORY(command) |
---|
[10624] | 70 | ADD_SUBDIRECTORY(commandline) |
---|
[9667] | 71 | ADD_SUBDIRECTORY(config) |
---|
[5781] | 72 | ADD_SUBDIRECTORY(input) |
---|
[10624] | 73 | ADD_SUBDIRECTORY(module) |
---|
[9667] | 74 | ADD_SUBDIRECTORY(object) |
---|
[10624] | 75 | ADD_SUBDIRECTORY(singleton) |
---|
[1505] | 76 | |
---|
[10267] | 77 | #Add the icon (for the renderwindow) |
---|
[10268] | 78 | IF(WIN32) |
---|
[10267] | 79 | List(APPEND CORE_SRC_FILES ${CMAKE_SOURCE_DIR}/contrib/winresource.rc) |
---|
| 80 | ENDIF() |
---|
| 81 | |
---|
[3196] | 82 | ORXONOX_ADD_LIBRARY(core |
---|
| 83 | FIND_HEADER_FILES |
---|
| 84 | TOLUA_FILES |
---|
[7284] | 85 | command/CommandExecutor.h |
---|
[9667] | 86 | config/SettingsConfigFile.h |
---|
[10624] | 87 | ApplicationPaths.h |
---|
| 88 | ConfigurablePaths.h |
---|
[6417] | 89 | Game.h |
---|
| 90 | GameMode.h |
---|
[8079] | 91 | GraphicsManager.h |
---|
[6417] | 92 | GUIManager.h |
---|
[11304] | 93 | Highscore.h |
---|
[5781] | 94 | Loader.h |
---|
[5695] | 95 | LuaState.h |
---|
[6417] | 96 | input/InputManager.h |
---|
| 97 | input/KeyBinder.h |
---|
| 98 | input/KeyBinderManager.h |
---|
[8858] | 99 | ../util/output/OutputDefinitions.h |
---|
[3196] | 100 | PCH_FILE |
---|
| 101 | CorePrecompiledHeaders.h |
---|
| 102 | LINK_LIBRARIES |
---|
| 103 | ${OGRE_LIBRARY} |
---|
[3370] | 104 | ${Boost_FILESYSTEM_LIBRARY} |
---|
| 105 | ${Boost_SYSTEM_LIBRARY} # Filesystem dependency |
---|
[3196] | 106 | ${Boost_THREAD_LIBRARY} |
---|
[3370] | 107 | ${Boost_DATE_TIME_LIBRARY} # Thread dependency |
---|
[5781] | 108 | ${CEGUI_LIBRARY} |
---|
| 109 | ${CEGUILUA_LIBRARY} |
---|
[8351] | 110 | ${CEGUI_TOLUA_LIBRARY} |
---|
| 111 | ${CEGUI_OGRE_RENDERER_LIBRARY} |
---|
| 112 | ${LUA5.1_LIBRARY} |
---|
[5781] | 113 | cpptcl_orxonox |
---|
| 114 | ois_orxonox |
---|
[7163] | 115 | tinyxml_orxonox |
---|
[3196] | 116 | util |
---|
[8351] | 117 | LINK_LIBS_UNIX |
---|
| 118 | dl |
---|
| 119 | pthread |
---|
[3196] | 120 | SOURCE_FILES |
---|
| 121 | ${CORE_SRC_FILES} |
---|
[1505] | 122 | ) |
---|