Last change
on this file since 3151 was
3116,
checked in by rgrieder, 15 years ago
|
Added new CMake functions: ORXONOX_ADD_LIBRARY and ORXONOX_ADD_EXECUTABLE.
They replace the current functions ADD_LIBRARY and ADD_EXECUTABLE to allow for clearer and easier declaration.
And it allows for GCC precompiled header file support in the first place
More information can be found in TargetUtilities.cmake
|
-
Property svn:eol-style set to
native
|
File size:
2.0 KB
|
Rev | Line | |
---|
[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 |
---|
[1755] | 21 | Clock.cc |
---|
[1505] | 22 | ConfigFileManager.cc |
---|
| 23 | ConfigValueContainer.cc |
---|
[1535] | 24 | Core.cc |
---|
[2087] | 25 | Event.cc |
---|
[2896] | 26 | Game.cc |
---|
| 27 | GameMode.cc |
---|
[1755] | 28 | GameState.cc |
---|
[1543] | 29 | Language.cc |
---|
[2087] | 30 | LuaBind.cc |
---|
[1747] | 31 | ObjectListBase.cc |
---|
[1543] | 32 | OrxonoxClass.cc |
---|
| 33 | |
---|
| 34 | # command |
---|
| 35 | ArgumentCompletionFunctions.cc |
---|
| 36 | CommandEvaluation.cc |
---|
[1505] | 37 | CommandExecutor.cc |
---|
[1755] | 38 | CommandLine.cc |
---|
[1505] | 39 | ConsoleCommand.cc |
---|
| 40 | ConsoleCommandCompilation.cc |
---|
[1543] | 41 | Executor.cc |
---|
| 42 | |
---|
| 43 | # hierarchy |
---|
| 44 | Factory.cc |
---|
| 45 | Identifier.cc |
---|
| 46 | MetaObjectList.cc |
---|
| 47 | |
---|
| 48 | # level |
---|
| 49 | BaseObject.cc |
---|
| 50 | ClassTreeMask.cc |
---|
[1505] | 51 | Loader.cc |
---|
| 52 | Namespace.cc |
---|
| 53 | NamespaceNode.cc |
---|
[2087] | 54 | Template.cc |
---|
[1543] | 55 | XMLPort.cc |
---|
[2087] | 56 | XMLNameListener.cc |
---|
[1543] | 57 | |
---|
| 58 | # shell |
---|
| 59 | IRC.cc |
---|
| 60 | Shell.cc |
---|
[1505] | 61 | TclBind.cc |
---|
| 62 | TclThreadManager.cc |
---|
| 63 | ) |
---|
[2710] | 64 | ADD_SUBDIRECTORY(input) |
---|
[1505] | 65 | |
---|
[3116] | 66 | ORXONOX_ADD_LIBRARY(core |
---|
| 67 | FIND_HEADER_FILES |
---|
| 68 | TOLUA_FILES |
---|
| 69 | CommandExecutor.h |
---|
| 70 | Game.h |
---|
| 71 | LuaBind.h |
---|
| 72 | DEFINE_SYMBOL |
---|
| 73 | "CORE_SHARED_BUILD" |
---|
| 74 | LINK_LIBRARIES |
---|
| 75 | ${OGRE_LIBRARY} |
---|
| 76 | ${Boost_THREAD_LIBRARY} |
---|
| 77 | ${Boost_FILESYSTEM_LIBRARY} |
---|
| 78 | ${Boost_SYSTEM_LIBRARY} |
---|
| 79 | ${Boost_DATE_TIME_LIBRARY} # MSVC only |
---|
| 80 | ${LUA_LIBRARIES} |
---|
| 81 | cpptcl_orxonox |
---|
| 82 | ois_orxonox |
---|
| 83 | tinyxml++_orxonox |
---|
| 84 | tolua++_orxonox |
---|
| 85 | util |
---|
| 86 | SOURCE_FILES |
---|
| 87 | ${CORE_SRC_FILES} |
---|
[1505] | 88 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.