| 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 |
|---|
| 21 | ConfigValueContainer.cc |
|---|
| 22 | Core.cc |
|---|
| 23 | DynLib.cc |
|---|
| 24 | DynLibManager.cc |
|---|
| 25 | Event.cc |
|---|
| 26 | Game.cc |
|---|
| 27 | GameMode.cc |
|---|
| 28 | GameState.cc |
|---|
| 29 | GraphicsManager.cc |
|---|
| 30 | GUIManager.cc |
|---|
| 31 | IOConsole.cc |
|---|
| 32 | Language.cc |
|---|
| 33 | LuaState.cc |
|---|
| 34 | ObjectListBase.cc |
|---|
| 35 | OrxonoxClass.cc |
|---|
| 36 | Resource.cc |
|---|
| 37 | ScopedSingletonManager.cc |
|---|
| 38 | WindowEventListener.cc |
|---|
| 39 | |
|---|
| 40 | # command |
|---|
| 41 | CommandEvaluation.cc |
|---|
| 42 | CommandExecutor.cc |
|---|
| 43 | CommandLineParser.cc |
|---|
| 44 | ConsoleCommand.cc |
|---|
| 45 | ConsoleCommandCompilation.cc |
|---|
| 46 | Executor.cc |
|---|
| 47 | |
|---|
| 48 | # hierarchy |
|---|
| 49 | Identifier.cc |
|---|
| 50 | MetaObjectList.cc |
|---|
| 51 | |
|---|
| 52 | # level |
|---|
| 53 | BaseObject.cc |
|---|
| 54 | ClassTreeMask.cc |
|---|
| 55 | Loader.cc |
|---|
| 56 | Namespace.cc |
|---|
| 57 | NamespaceNode.cc |
|---|
| 58 | Template.cc |
|---|
| 59 | XMLPort.cc |
|---|
| 60 | XMLNameListener.cc |
|---|
| 61 | |
|---|
| 62 | # shell |
|---|
| 63 | IRC.cc |
|---|
| 64 | Shell.cc |
|---|
| 65 | TclBind.cc |
|---|
| 66 | |
|---|
| 67 | COMPILATION_BEGIN FilesystemCompilation.cc |
|---|
| 68 | ArgumentCompletionFunctions.cc |
|---|
| 69 | ConfigFileManager.cc |
|---|
| 70 | MemoryArchive.cc |
|---|
| 71 | PathConfig.cc |
|---|
| 72 | COMPILATION_END |
|---|
| 73 | |
|---|
| 74 | # multithreading |
|---|
| 75 | ThreadPool.cc |
|---|
| 76 | COMPILATION_BEGIN ThreadCompilation.cc |
|---|
| 77 | TclThreadManager.cc |
|---|
| 78 | Thread.cc |
|---|
| 79 | COMPILATION_END |
|---|
| 80 | ) |
|---|
| 81 | |
|---|
| 82 | ADD_SUBDIRECTORY(input) |
|---|
| 83 | |
|---|
| 84 | ORXONOX_ADD_LIBRARY(core |
|---|
| 85 | FIND_HEADER_FILES |
|---|
| 86 | TOLUA_FILES |
|---|
| 87 | CommandExecutor.h |
|---|
| 88 | ConfigFileManager.h |
|---|
| 89 | Game.h |
|---|
| 90 | GameMode.h |
|---|
| 91 | GUIManager.h |
|---|
| 92 | Loader.h |
|---|
| 93 | LuaState.h |
|---|
| 94 | PathConfig.h |
|---|
| 95 | input/InputManager.h |
|---|
| 96 | input/KeyBinder.h |
|---|
| 97 | input/KeyBinderManager.h |
|---|
| 98 | PCH_FILE |
|---|
| 99 | CorePrecompiledHeaders.h |
|---|
| 100 | LINK_LIBRARIES |
|---|
| 101 | ${OGRE_LIBRARY} |
|---|
| 102 | ${Boost_FILESYSTEM_LIBRARY} |
|---|
| 103 | ${Boost_SYSTEM_LIBRARY} # Filesystem dependency |
|---|
| 104 | ${Boost_THREAD_LIBRARY} |
|---|
| 105 | ${Boost_DATE_TIME_LIBRARY} # Thread dependency |
|---|
| 106 | ${CEGUI_LIBRARY} |
|---|
| 107 | ${CEGUILUA_LIBRARY} |
|---|
| 108 | ${LUA_LIBRARIES} |
|---|
| 109 | cpptcl_orxonox |
|---|
| 110 | ogreceguirenderer_orxonox |
|---|
| 111 | ois_orxonox |
|---|
| 112 | tinyxml_orxonox |
|---|
| 113 | tolua_orxonox |
|---|
| 114 | util |
|---|
| 115 | SOURCE_FILES |
|---|
| 116 | ${CORE_SRC_FILES} |
|---|
| 117 | ) |
|---|