[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 | |
---|
[3196] | 20 | SET_SOURCE_FILES(UTIL_SRC_FILES |
---|
[5929] | 21 | Exception.cc |
---|
| 22 | Math.cc |
---|
| 23 | MultiType.cc |
---|
| 24 | Scope.cc |
---|
| 25 | StringUtils.cc |
---|
| 26 | COMPILATION_BEGIN StableCompilation.cc |
---|
[5781] | 27 | Clipboard.cc |
---|
[5929] | 28 | Clock.cc |
---|
[7163] | 29 | Convert.cc |
---|
[1751] | 30 | CRC32.cc |
---|
[1505] | 31 | ExprParser.cc |
---|
[1747] | 32 | OutputHandler.cc |
---|
[7207] | 33 | ScopedSingletonManager.cc |
---|
[2087] | 34 | SignalHandler.cc |
---|
[2773] | 35 | Sleep.cc |
---|
[1505] | 36 | SubString.cc |
---|
[5929] | 37 | COMPILATION_END |
---|
[1505] | 38 | ) |
---|
| 39 | |
---|
[2710] | 40 | IF(GCC_NO_SYSTEM_HEADER_SUPPORT) |
---|
| 41 | # Get around displaying a few hundred lines of warning code |
---|
| 42 | SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w") |
---|
| 43 | ENDIF() |
---|
[6503] | 44 | IF(MSVC) |
---|
| 45 | # Simply using #pragma warning(disable:4244) doesn't really disable it |
---|
| 46 | # if the warning occurs in a template in another file |
---|
| 47 | # Hence promote it manually to a higher warning level (4) |
---|
| 48 | SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w44244") |
---|
| 49 | ENDIF() |
---|
[1505] | 50 | |
---|
[3196] | 51 | ORXONOX_ADD_LIBRARY(util |
---|
[5749] | 52 | FIND_HEADER_FILES |
---|
[3196] | 53 | LINK_LIBRARIES |
---|
[5747] | 54 | ${CEGUI_LIBRARY} |
---|
[3196] | 55 | ${OGRE_LIBRARY} |
---|
| 56 | SOURCE_FILES |
---|
[5749] | 57 | ${UTIL_SRC_FILES} |
---|
[3196] | 58 | ) |
---|