Changeset 8073 for code/branches/kicklib/cmake
- Timestamp:
- Mar 14, 2011, 4:08:06 AM (14 years ago)
- Location:
- code/branches/kicklib
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib
- Property svn:mergeinfo changed
/code/branches/mac_osx (added) merged: 7789,7933-7934,8042-8049,8054-8056,8059-8060,8065,8069-8070,8072
- Property svn:mergeinfo changed
-
code/branches/kicklib/cmake/CompilerConfigGCC.cmake
r8071 r8073 65 65 66 66 # CMake doesn't seem to set the PIC flags right on certain 64 bit systems 67 # Todo: MinGW too? 68 IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") 67 IF(NOT MINGW AND ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") 69 68 ADD_COMPILER_FLAGS("-fPIC" CACHE) 70 69 ENDIF() -
code/branches/kicklib/cmake/LibraryConfig.cmake
r8071 r8073 48 48 # Scripts for specific library and CMake config 49 49 INCLUDE(LibraryConfigTardis) 50 #INCLUDE(LibraryConfigOSX)51 50 52 51 IF(DEPENDENCY_PACKAGE_ENABLE) -
code/branches/kicklib/cmake/PackageConfigMSVC.cmake
r8071 r8073 59 59 SET(TCL_LIBRARY ${DEP_LIBRARY_DIR}/tcl85.lib CACHE FILEPATH "") 60 60 SET(ZLIB_LIBRARY ${DEP_LIBRARY_DIR}/zdll.lib CACHE FILEPATH "") 61 # Part of Platform SDK and usually gets linked automatically 62 SET(WMI_LIBRARY wbemuuid.lib) 61 63 62 64 ENDIF(MSVC) -
code/branches/kicklib/cmake/PackageConfigMinGW.cmake
r8071 r8073 53 53 SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/libzlib.dll CACHE FILEPATH "") 54 54 55 # Not included in MinGW, so we need to supply it for OIS 56 SET(WMI_INCLUDE_DIR ${DEP_INCLUDE_DIR}/wmi/include) 57 SET(WMI_LIBRARY ${DEP_LIBRARY_DIR}/wbemuuid.lib) 58 55 59 ENDIF(MINGW) -
code/branches/kicklib/cmake/PackageConfigOSX.cmake
r8071 r8073 51 51 SET(ENV{OGRE_PLUGIN_DIR} ${DEP_BINARY_DIR}) 52 52 53 # For OS X 10.5 we have to ship modified headers to make it compile 54 # on gcc >= 4.2 (binaries stay the same) 55 # Sets the library path for the FIND_LIBRARY 56 IF(CMAKE_SYSTEM_VERSION STREQUAL "10.5") 57 SET(ENV{OPENALDIR} ${DEP_INCLUDE_DIR}/openal) 58 ENDIF() 59 53 60 # Xcode won't be able to run the toluabind code generation if we're using the dependency package 54 61 #IF(DEPENDENCY_PACKAGE_ENABLE) -
code/branches/kicklib/cmake/tools/FindALUT.cmake
r8071 r8073 1 # Find ALUT includes and library 2 # 3 # This module defines 4 # ALUT_INCLUDE_DIR 5 # ALUT_LIBRARY, the library to link against to use ALUT. 6 # ALUT_FOUND, If false, do not try to use ALUT 7 # 8 # Copyright © 2007, Matt Williams 9 # Modified by Nicolas Schlumberger to make it work on the Tardis-Infrastucture 10 # of the ETH Zurich (removed later on) 11 # 12 # Redistribution and use is allowed according to the terms of the BSD license. 13 # 14 # Several changes and additions by Fabian 'x3n' Landau 15 # Lots of simplifications by Adrian Friedli 16 # Version checking by Reto Grieder 17 # Adaption of the OGRE find script to ALUT by Kevin Young 18 # > www.orxonox.net < 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 # Author: 21 # Kevin Young 22 # Description: 23 # Variables defined: 24 # ALUT_FOUND 25 # ALUT_INCLUDE_DIR 26 # ALUT_LIBRARY 27 # 19 28 20 INCLUDE(FindPackageHandle AdvancedArgs)29 INCLUDE(FindPackageHandleStandardArgs) 21 30 INCLUDE(HandleLibraryTypes) 22 31 23 32 FIND_PATH(ALUT_INCLUDE_DIR alut.h 24 33 PATHS $ENV{ALUTDIR} 25 PATH_SUFFIXES include include/AL ALUT34 PATH_SUFFIXES include include/AL Headers Headers/AL 26 35 ) 27 36 FIND_LIBRARY(ALUT_LIBRARY_OPTIMIZED 28 NAMES ALUT alut37 NAMES alut ALUT 29 38 PATHS $ENV{ALUTDIR} 30 39 PATH_SUFFIXES lib bin/Release bin/release Release release ALUT 31 40 ) 32 41 FIND_LIBRARY(ALUT_LIBRARY_DEBUG 33 NAMES ALUTD alutd alut_d alutD alut_D42 NAMES alutd alut_d alutD alut_D ALUTd ALUT_d ALUTD ALUT_D 34 43 PATHS $ENV{ALUTDIR} 35 44 PATH_SUFFIXES lib bin/Debug bin/debug Debug debug ALUT … … 37 46 38 47 # Handle the REQUIRED argument and set ALUT_FOUND 39 # Also check the version requirements 40 FIND_PACKAGE_HANDLE_ADVANCED_ARGS(ALUT DEFAULT_MSG 48 FIND_PACKAGE_HANDLE_STANDARD_ARGS(ALUT DEFAULT_MSG 41 49 ALUT_LIBRARY_OPTIMIZED 42 50 ALUT_INCLUDE_DIR
Note: See TracChangeset
for help on using the changeset viewer.