Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/cmake/ConfigMinGW.cmake @ 2581

Last change on this file since 2581 was 2581, checked in by rgrieder, 16 years ago

Three build fixes:

  • All ENet to ENET and ENet_LIBRARIES to ENET_LIBRARY
  • Added ugly quotes again in ConfigTardis.cmake

@x3n: If you have difficulties finding Ogre, try putting $ENV{OGRE_HOME} in ConfigMinGW.cmake between quotes, on one line with semicolons as separators.

  • Property svn:eol-style set to native
  • Property svn:mergeinfo set to (toggle deleted branches)
    /code/branches/buildsystem/cmake/CheckOrxonoxWinDeps.cmakemergedeligible
    /code/branches/ceguilua/cmake/CheckOrxonoxWinDeps.cmake1802-1808
    /code/branches/core3/cmake/CheckOrxonoxWinDeps.cmake1572-1739
    /code/branches/gcc43/cmake/CheckOrxonoxWinDeps.cmake1580
    /code/branches/gui/cmake/CheckOrxonoxWinDeps.cmake1635-1723
    /code/branches/input/cmake/CheckOrxonoxWinDeps.cmake1629-1636
    /code/branches/objecthierarchy/cmake/CheckOrxonoxWinDeps.cmake1911-2085,​2100,​2110-2169
    /code/branches/pickups/cmake/CheckOrxonoxWinDeps.cmake1926-2086
    /code/branches/questsystem/cmake/CheckOrxonoxWinDeps.cmake1894-2088
    /code/branches/questsystem2/cmake/CheckOrxonoxWinDeps.cmake2107-2259
    /code/branches/script_trigger/cmake/CheckOrxonoxWinDeps.cmake1295-1953,​1955
    /code/branches/weapon/cmake/CheckOrxonoxWinDeps.cmake1925-2094
File size: 2.8 KB
Line 
1 #
2 #   ORXONOX - the hottest 3D action shooter ever to exist
3 #                    > www.orxonox.net <
4 #
5 #
6 #   License notice:
7 #
8 #   This program is free software; you can redistribute it and/or
9 #   modify it under the terms of the GNU General Public License
10 #   as published by the Free Software Foundation; either version 2
11 #   of the License, or (at your option) any later version.
12 #
13 #   This program is distributed in the hope that it will be useful,
14 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 #   GNU General Public License for more details.
17 #
18 #   You should have received a copy of the GNU General Public License
19 #   along with this program; if not, write to the Free Software
20 #   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 #
22 #   Author:
23 #      ...
24 #   Co-authors:
25 #      ...
26 #
27 
28################# MinGW config ####################
29# Set the library directory when using precompiled
30# tarballs for the dependencies under windows
31###################################################
32
33IF (MINGW)
34  MESSAGE(STATUS "Running on MinGW. Using customized paths.")
35  SET(MINGW_LIBRARY_DIR "${CMAKE_SOURCE_DIR}/../libs")
36  MARK_AS_ADVANCED(MING_LIBRARY_DIR)
37
38  #SET(Boost_ADDITIONAL_VERSIONS "1.36")
39  SET(BOOST_INCLUDEDIR ${MINGW_LIBRARY_DIR}/boost_1_34_1)
40  SET(BOOST_LIBRARYDIR ${MINGW_LIBRARY_DIR}/boost_1_34_1/stage/lib)
41  SET(ENV{CEGUIDIR}    ${MINGW_LIBRARY_DIR}/cegui-0.6.1)
42  SET(ENV{ENETDIR}     ${MINGW_LIBRARY_DIR}/enet-1.1)
43  # ENet is linked statically, hence we need to add some windows dependencies
44  SET(ENET_ADDITIONAL_LIBRARIES ws2_32 winmm)
45  SET(ENV{ALUTDIR}     ${MINGW_LIBRARY_DIR}/freealut-1.1.0)
46  SET(ENV{OGGSDIR}     ${MINGW_LIBRARY_DIR}/libogg-1.1.3
47                       ${MINGW_LIBRARY_DIR}/libogg-1.1.3/src/.libs)
48  SET(ENV{VORBISDIR}   ${MINGW_LIBRARY_DIR}/libogg-1.1.3
49                       ${MINGW_LIBRARY_DIR}/libvorbis-1.2.0/src/.libs)
50  SET(ENV{OPENALDIR}   ${MINGW_LIBRARY_DIR}/openal-0.0.8/common
51                       ${MINGW_LIBRARY_DIR}/openal-0.0.8/src/.libs)
52  SET(ENV{LUA_DIR}     ${MINGW_LIBRARY_DIR}/lua-5.1.3)
53  SET(ENV{OGRE_HOME}   ${MINGW_LIBRARY_DIR}/ogre/OgreMain
54                       ${MINGW_LIBRARY_DIR}/ogre/Samples/Common/bin/Release)
55  SET(TCL_INCLUDE_PATH ${MINGW_LIBRARY_DIR}/tcl8.5.2/generic)
56  SET(TCL_LIBRARY_PATH ${MINGW_LIBRARY_DIR}/tcl8.5.2/win/tcl85.dll)
57  SET(ZLIB_INCLUDE_DIR ${MINGW_LIBRARY_DIR}/zlib/include)
58  SET(ZLIB_LIBRARY     ${MINGW_LIBRARY_DIR}/zlib/libzlib.a)
59  IF (NOT ENV{DXSDK_DIR})
60    SET(ENV{DXSDK_DIR} ${MINGW_LIBRARY_DIR}/DXSDK)
61  ENDIF (NOT ENV{DXSDK_DIR})
62
63  # MINGW doesn't like the -fPIC flag very much
64  SET(ORXONOX_FPIC_FLAG "")
65ENDIF (MINGW)
66
67#MARK_AS_ADVANCED(MINGW_LIBRARY_DIR)
Note: See TracBrowser for help on using the repository browser.