Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 18, 2008, 9:53:56 PM (16 years ago)
Author:
rgrieder
Message:

First attempt to add at least some library paths for mingw.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem/cmake/CheckOrxonoxWinDeps.cmake

    r2197 r2218  
    1 # TODO: do the same here for win as it has been done for Tardis in CheckTardis.cmake
     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 #      Benjamin Knecht
     24 #   Co-authors:
     25 #      ...
     26 #
     27 
     28################# Win check ##################
     29# Set the library directory when using precompiled tarballs for
     30# the dependencies under windows
     31###########################################
    232
    3 # Set the library directory when using precompiled tarballs for the dependencies under windows
     33IF (MINGW)
     34  MESSAGE(STATUS "Running on MinGW. Using customized paths.")
     35  SET(MINGW_LIBRARY_DIR "../libs")
     36  #SET(Boost_ADDITIONAL_VERSIONS "1.36")
     37  SET(BOOST_INCLUDEDIR ".${MINGW_LIBRARY_DIR}/boost_1_34_1")
     38  SET(BOOST_LIBRARYDIR ".${MINGW_LIBRARY_DIR}/boost_1_34_1/stage/lib")
     39  SET(ENV{LUA_DIR} ".${MINGW_LIBRARY_DIR}/enet-1.1")
     40  SET(ENV{ALUTDIR} ".${MINGW_LIBRARY_DIR}/freealut-1.1.0")
     41  SET(ENV{OPENALDIR} ".${MINGW_LIBRARY_DIR}/openal-0.0.8/common")
     42  SET(ENV{ENETDIR} ".${MINGW_LIBRARY_DIR}/lua-5.1.3")
     43  SET(ENV{OGGVORBISDIR} ".${MINGW_LIBRARY_DIR}/libogg-1.1.3")
     44  #SET(TCL_INCLUDE_PATH "/usr/pack/tcltk-8.4.9.linux-mo/include")
     45  SET(ENV{CEGUIDIR} ".${MINGW_LIBRARY_DIR}/cegui-0.6.1")
     46  SET(ENV{OGREDIR} ".${MINGW_LIBRARY_DIR}/ogre/OgreMain;.${MINGW_LIBRARY_DIR}/ogre/Samples/Common/bin/Release")
     47ENDIF (MINGW)
Note: See TracChangeset for help on using the changeset viewer.