[2626] | 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 | |
---|
[2627] | 20 | SET_SOURCE_FILES(UTIL_FILES |
---|
| 21 | CRC32.h |
---|
| 22 | Clipboard.h |
---|
| 23 | Convert.h |
---|
| 24 | Debug.h |
---|
| 25 | Exception.h |
---|
| 26 | ExprParser.h |
---|
| 27 | Integers.h |
---|
| 28 | Math.h |
---|
| 29 | MathConvert.h |
---|
| 30 | MultiType.h |
---|
| 31 | MultiTypeValue.h |
---|
| 32 | OutputBuffer.h |
---|
| 33 | OutputHandler.h |
---|
| 34 | SignalHandler.h |
---|
| 35 | Sleep.h |
---|
| 36 | String.h |
---|
| 37 | SubString.h |
---|
| 38 | UtilPrereqs.h |
---|
| 39 | mbool.h |
---|
| 40 | |
---|
[1505] | 41 | Clipboard.cc |
---|
[1751] | 42 | CRC32.cc |
---|
[1764] | 43 | Exception.cc |
---|
[1505] | 44 | ExprParser.cc |
---|
| 45 | Math.cc |
---|
[1747] | 46 | MultiType.cc |
---|
| 47 | OutputBuffer.cc |
---|
| 48 | OutputHandler.cc |
---|
[2087] | 49 | SignalHandler.cc |
---|
[1505] | 50 | String.cc |
---|
| 51 | SubString.cc |
---|
| 52 | ) |
---|
[2627] | 53 | #GET_ALL_HEADER_FILES(UTIL_HDR_FILES) |
---|
| 54 | #SET(UTIL_FILES ${UTIL_SRC_FILES} ${UTIL_HDR_FILES}) |
---|
[2621] | 55 | GENERATE_SOURCE_GROUPS(${UTIL_FILES}) |
---|
| 56 | # Also add OrxonoxConfig.h to have it least somewhere in the IDE |
---|
| 57 | LIST(APPEND UTIL_FILES ${CMAKE_BINARY_DIR}/src/OrxonoxConfig.h) |
---|
| 58 | SOURCE_GROUP("" FILES ${CMAKE_BINARY_DIR}/src/OrxonoxConfig.h) |
---|
[1505] | 59 | |
---|
[2621] | 60 | ADD_LIBRARY(util SHARED ${UTIL_FILES}) |
---|
[2588] | 61 | SET_TARGET_PROPERTIES(util PROPERTIES DEFINE_SYMBOL "UTIL_SHARED_BUILD") |
---|
[2509] | 62 | TARGET_LINK_LIBRARIES(util ${OGRE_LIBRARY}) |
---|
[2579] | 63 | |
---|
[2624] | 64 | IF(NOT WIN32) |
---|
[2579] | 65 | INSTALL(TARGETS util LIBRARY DESTINATION lib) |
---|
[2624] | 66 | ENDIF() |
---|