Changeset 3196 for code/trunk/cmake
- Timestamp:
- Jun 20, 2009, 9:20:47 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 1 deleted
- 9 edited
- 8 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/pch (added) merged: 3114-3118,3124-3125,3127-3131,3133,3138-3194
- Property svn:mergeinfo changed
-
code/trunk/cmake/BuildConfig.cmake
r2896 r3196 70 70 ENDIF() 71 71 72 # Enable expensive optimisations: Use this for a binary release build 73 OPTION(ORXONOX_RELEASE "Enable when building restributable releases" FALSE) 74 75 # Use WinMain() or main()? 76 OPTION(ORXONOX_USE_WINMAIN "Use WinMain (doesn't show console) or main" FALSE) 72 77 73 78 ################# OGRE Plugins ################## -
code/trunk/cmake/BuildConfigGCC.cmake
r3111 r3196 24 24 # 25 25 26 # Shortcut for CMAKE_COMPILER_IS_GNUCXX and ..._GNUC 27 SET(CMAKE_COMPILER_IS_GNU TRUE) 28 26 29 # Determine compiler version 27 30 EXEC_PROGRAM( … … 38 41 IF(_compare_result LESS 0) 39 42 SET(GCC_NO_SYSTEM_HEADER_SUPPORT TRUE) 43 ENDIF() 44 45 # GCC only supports PCH in versions 3.4 and above 46 INCLUDE(CompareVersionStrings) 47 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "3.4.0" _compare_result) 48 IF(_compare_result GREATER -1) 49 SET(PCH_COMPILER_SUPPORT TRUE) 40 50 ENDIF() 41 51 … … 67 77 ADD_COMPILER_FLAGS("-Wno-deprecated" CXX CACHE) 68 78 79 # Always show why a precompiled header file could not be used 80 ADD_COMPILER_FLAGS("-Winvalid-pch" CXX CACHE) 81 69 82 # Increase warning level if requested 70 83 IF(EXTRA_COMPILER_WARNINGS) -
code/trunk/cmake/BuildConfigMSVC.cmake
r2710 r3196 24 24 # 25 25 26 ################### Compiler Version #################### 27 28 # We make use of variadic macros, which is only supported by MSVC 8 and above 29 IF(MSVC_VERSION LESS 1400) 30 MESSAGE(FATAL_ERROR "Microsoft Visual Studio versions below 8 (2005) are not supported because of missing compiler extensions.") 31 ENDIF() 32 33 26 34 ######################## Options ######################## 27 35 28 OPTION(VISUAL_LEAK_DETECTOR_ENABLE "Memory leak detector" FALSE) 36 # Currently VLD has a problem with MSVC9 although it actually is supported 37 IF(MSVC8) 38 OPTION(VISUAL_LEAK_DETECTOR_ENABLE "Memory leak detector" off) 39 ENDIF() 40 # Make sure the value is "on" or "off" for vld.ini 41 IF(VISUAL_LEAK_DETECTOR_ENABLE) 42 SET(VISUAL_LEAK_DETECTOR_ENABLE on) 43 ELSE() 44 SET(VISUAL_LEAK_DETECTOR_ENABLE off) 45 ENDIF() 46 47 # Orxonox only supports MSVC 8 and above, which gets asserted above 48 SET(PCH_COMPILER_SUPPORT TRUE) 49 29 50 30 51 #################### Compiler Flags ##################### … … 47 68 48 69 # Overwrite CMake default flags here. 49 SET_COMPILER_FLAGS("-MDd -Od -Z I-D_DEBUG -Gm -RTC1" Debug CACHE)70 SET_COMPILER_FLAGS("-MDd -Od -Zi -D_DEBUG -Gm -RTC1" Debug CACHE) 50 71 SET_COMPILER_FLAGS("-MD -O2 -DNDEBUG -MP2" Release CACHE) 51 72 SET_COMPILER_FLAGS("-MD -O2 -Zi -DNDEBUG -MP2" RelWithDebInfo CACHE) … … 75 96 # Happens on STL member variables which are not public 76 97 ADD_COMPILER_FLAGS("-w44251" CACHE) 98 ADD_COMPILER_FLAGS("-w44275" CACHE) # For inheritance 77 99 78 100 # Multiple assignment operators specified -
code/trunk/cmake/FlagUtilities.cmake
r2792 r3196 24 24 # Release, Debug, RelWithDebInfo, MinSizeRel: Build configs (inclusive) 25 25 # ReleaseAll: Sets the flags of all three release builds 26 # CACHE: Values are witten with SET_CACHE (see above)26 # CACHE: Values are witten with SET_CACHE_ADVANCED 27 27 # FORCE: When writing to the cache, the values are set anyway 28 28 # Any variable names (like WIN32, MSVC, etc.): Condition (combined with AND) 29 29 # You can suffix the condition with a NOT if you wish 30 # Function s:30 # Function names: 31 31 # [ADD/SET/REMOVE]_[COMPILER/LINKER]_FLAGS 32 32 # Caution: -If you use CACHE after calling the macro without CACHE, the value 33 # Will not getwritten unless FORCE is specified.33 # Will not be written unless FORCE is specified. 34 34 # - Also be aware to always specify the flags in quotes. 35 35 # Example: … … 37 37 # This will only remove the CXX (C++) flags on a non Unix system for the 38 38 # Release, RelWithDebInfo and MinSizeRel configurations. The macros should 39 # be able to cope with "test -foo" that is like another flag in the string.39 # be able to cope with "test -foo" as string argument for a flag. 40 40 # 41 41 42 # Write to the cache by force, but only if the user didn't edit the value 43 # Additional argument is the value (may also be a list) 44 MACRO(SET_CACHE _varname _type _docstring) 45 SET(_value ${ARGN}) 46 IF(NOT "${_type}" MATCHES "^(STRING|BOOL|PATH|FILEPATH)$") 47 MESSAGE(FATAL_ERROR "${_type} is not a valid CACHE entry type") 48 ENDIF() 42 INCLUDE(SeparateFlags) 43 INCLUDE(SetCacheAdvanced) 49 44 50 IF(NOT DEFINED _INTERNAL_${_varname} OR "${_INTERNAL_${_varname}}" STREQUAL "${${_varname}}") 51 SET(${_varname} "${_value}" CACHE ${_type} "${_docstring}" FORCE) 52 SET(_INTERNAL_${_varname} "${_value}" CACHE INTERNAL "Do not edit in any case!") 53 ENDIF() 54 ENDMACRO(SET_CACHE) 45 # Compiler flags, additional arguments: 46 # C, CXX: Specify a language, default is both 47 MACRO(SET_COMPILER_FLAGS _flags) 48 _INTERNAL_PARSE_FLAGS_ARGS(SET "C;CXX" "" "${_flags}" "${ARGN}") 49 ENDMACRO(SET_COMPILER_FLAGS) 50 # Add flags (flags don't get added twice) 51 MACRO(ADD_COMPILER_FLAGS _flags) 52 _INTERNAL_PARSE_FLAGS_ARGS(APPEND "C;CXX" "" "${_flags}" "${ARGN}") 53 ENDMACRO(ADD_COMPILER_FLAGS) 54 # Remove flags 55 MACRO(REMOVE_COMPILER_FLAGS _flags) 56 _INTERNAL_PARSE_FLAGS_ARGS(REMOVE_ITEM "C;CXX" "" "${_flags}" "${ARGN}") 57 ENDMACRO(REMOVE_COMPILER_FLAGS) 55 58 56 # Visual studio (esp. IntelliSense) doesn't like dashes to specify arguments57 # Always use foward slashes instead58 IF(MSVC)59 SET(ARGUMENT_STARTER "/")60 ELSE()61 SET(ARGUMENT_STARTER "-")62 ENDIF(MSVC)63 59 64 # Separates a string of flags. " -" or " /" denotes the start of a flag. 65 # The same sequence inside double quotation marks is ignored. 66 # Spaces not within quotes are cleaned meaningfully. 67 # This macro cannot cope with semicolons in the flag string! 68 MACRO(SEPARATE_FLAGS _flags _output_variable) 69 SET(_flags_prep " ${_flags} -") 70 STRING(REPLACE " " " ;" _flag_chunks ${_flags_prep}) # Max loop iterations 71 SET(_flag_string) 72 SET(_parsed_flags) 73 # Loop is necessary because the regex engine is greedy 74 FOREACH(_chunk ${_flag_chunks}) 75 SET(_flag_string "${_flag_string}${_chunk}") 76 # Replace all " -" and " /" inside quotation marks 77 STRING(REGEX REPLACE "^(([^\"]*\"[^\"]*\")*[^\"]*\"[^\"]*) [/-]([^\"]*\")" 78 "\\1@39535493@\\3" _flag_string "${_flag_string}") 79 # Extract one flag if possible 80 SET(_flag) 81 STRING(REGEX REPLACE "^.* [/-](.+)( [/-].*$)" "${ARGUMENT_STARTER}\\1" _flag "${_flag_string}") 82 STRING(REGEX REPLACE "^.* [/-](.+)( [/-].*$)" "\\2" _flag_string "${_flag_string}") 83 IF(NOT _flag STREQUAL _flag_string) 84 LIST(APPEND _parsed_flags "${_flag}") 85 ENDIF(NOT _flag STREQUAL _flag_string) 86 ENDFOREACH(_chunk) 60 # Linker flags, additional arguments: 61 # EXE, SHARED, MODULE: Specify a linker mode, default is all three 62 MACRO(SET_LINKER_FLAGS _flags) 63 _INTERNAL_PARSE_FLAGS_ARGS(SET "EXE;SHARED;MODULE" "_LINKER" "${_flags}" "${ARGN}") 64 ENDMACRO(SET_LINKER_FLAGS) 65 # Add flags (flags don't get added twice) 66 MACRO(ADD_LINKER_FLAGS _flags) 67 _INTERNAL_PARSE_FLAGS_ARGS(APPEND "EXE;SHARED;MODULE" "_LINKER" "${_flags}" "${ARGN}") 68 ENDMACRO(ADD_LINKER_FLAGS) 69 # Remove flags 70 MACRO(REMOVE_LINKER_FLAGS _flags) 71 _INTERNAL_PARSE_FLAGS_ARGS(REMOVE_ITEM "EXE;SHARED;MODULE" "_LINKER" "${_flags}" "${ARGN}") 72 ENDMACRO(REMOVE_LINKER_FLAGS) 87 73 88 # Re-replace all " -" and " /" inside quotation marks89 STRING(REGEX REPLACE "@39535493@" " -" ${_output_variable} "${_parsed_flags}")90 ENDMACRO(SEPARATE_FLAGS)91 92 # Internal macro, do not use93 # Modifies the flags according to the mode: set, add or remove94 # Also sets flags according to the CACHE and FORCE parameter.95 # If only CACHE is specified, SET_CACHE() is used.96 MACRO(_INTERNAL_PARSE_FLAGS _mode _flags _varname _write_to_cache _force)97 SEPARATE_FLAGS("${_flags}" _arg_flag_list)98 99 IF("${_mode}" STREQUAL "SET")100 # SET101 SET(_flag_list "${_arg_flag_list}")102 ELSE()103 # ADD or REMOVE104 SEPARATE_FLAGS("${${_varname}}" _flag_list)105 FOREACH(_flag ${_arg_flag_list})106 LIST(${_mode} _flag_list "${_flag}")107 ENDFOREACH(_flag)108 ENDIF()109 110 LIST(REMOVE_DUPLICATES _flag_list)111 LIST(SORT _flag_list)112 STRING(REPLACE ";" " " _flag_list "${_flag_list}")113 114 IF(_write_to_cache)115 IF(_force)116 SET(${_varname} "${_flag_list}" CACHE STRING "${${_varname}}" FORCE)117 SET(${_varname} "${_flag_list}" CACHE STRING "${${_varname}}" FORCE)118 ELSE()119 SET_CACHE(${_varname} STRING "${${_varname}}" "${_flag_list}")120 ENDIF()121 ELSE()122 SET(${_varname} "${_flag_list}")123 ENDIF()124 ENDMACRO(_INTERNAL_PARSE_FLAGS)125 74 126 75 # Internal macro, do not use … … 155 104 IF(_invert_condition) 156 105 SET(_invert_condition FALSE) 157 IF(${_arg})106 IF(${_arg}) 158 107 SET(_arg_cond FALSE) 159 ELSE()108 ELSE() 160 109 SET(_arg_cond TRUE) 161 ENDIF()110 ENDIF() 162 111 ELSE() 163 112 SET(_arg_cond ${${_arg}}) … … 191 140 192 141 193 # Compiler flags, additional arguments: 194 # C, CXX: Specify a language, default is both 195 MACRO(SET_COMPILER_FLAGS _flags) 196 _INTERNAL_PARSE_FLAGS_ARGS(SET "C;CXX" "" "${_flags}" "${ARGN}") 197 ENDMACRO(SET_COMPILER_FLAGS) 198 # Add flags (flags don't get added twice) 199 MACRO(ADD_COMPILER_FLAGS _flags) 200 _INTERNAL_PARSE_FLAGS_ARGS(APPEND "C;CXX" "" "${_flags}" "${ARGN}") 201 ENDMACRO(ADD_COMPILER_FLAGS) 202 # Remove flags 203 MACRO(REMOVE_COMPILER_FLAGS _flags) 204 _INTERNAL_PARSE_FLAGS_ARGS(REMOVE_ITEM "C;CXX" "" "${_flags}" "${ARGN}") 205 ENDMACRO(REMOVE_COMPILER_FLAGS) 142 # Internal macro, do not use 143 # Modifies the flags according to the mode: set, add or remove 144 # Also sets flags according to the CACHE and FORCE parameter. 145 # If only CACHE is specified, SET_CACHE_ADVANCED() is used. 146 MACRO(_INTERNAL_PARSE_FLAGS _mode _flags _varname _write_to_cache _force) 147 SEPARATE_FLAGS("${_flags}" _arg_flag_list) 206 148 207 # Linker flags, additional arguments: 208 # EXE, SHARED, MODULE: Specify a linker mode, default is all three 209 MACRO(SET_LINKER_FLAGS _flags) 210 _INTERNAL_PARSE_FLAGS_ARGS(SET "EXE;SHARED;MODULE" "_LINKER" "${_flags}" "${ARGN}") 211 ENDMACRO(SET_LINKER_FLAGS) 212 # Add flags (flags don't get added twice) 213 MACRO(ADD_LINKER_FLAGS _flags) 214 _INTERNAL_PARSE_FLAGS_ARGS(APPEND "EXE;SHARED;MODULE" "_LINKER" "${_flags}" "${ARGN}") 215 ENDMACRO(ADD_LINKER_FLAGS) 216 # Remove flags 217 MACRO(REMOVE_LINKER_FLAGS _flags) 218 _INTERNAL_PARSE_FLAGS_ARGS(REMOVE_ITEM "EXE;SHARED;MODULE" "_LINKER" "${_flags}" "${ARGN}") 219 ENDMACRO(REMOVE_LINKER_FLAGS) 149 IF("${_mode}" STREQUAL "SET") 150 # SET 151 SET(_flag_list "${_arg_flag_list}") 152 ELSE() 153 # ADD or REMOVE 154 SEPARATE_FLAGS("${${_varname}}" _flag_list) 155 IF(NOT _flag_list) 156 SET(_flag_list "") # LIST command requires a list in any case 157 ENDIF() 158 FOREACH(_flag ${_arg_flag_list}) 159 LIST(${_mode} _flag_list "${_flag}") 160 ENDFOREACH(_flag) 161 ENDIF() 162 163 LIST(REMOVE_DUPLICATES _flag_list) 164 LIST(SORT _flag_list) 165 STRING(REPLACE ";" " " _flag_list "${_flag_list}") 166 167 IF(_write_to_cache) 168 IF(_force) 169 SET(${_varname} "${_flag_list}" CACHE STRING "${${_varname}}" FORCE) 170 SET(${_varname} "${_flag_list}" CACHE STRING "${${_varname}}" FORCE) 171 ELSE() 172 SET_CACHE_ADVANCED(${_varname} STRING "${${_varname}}" "${_flag_list}") 173 ENDIF() 174 ELSE() 175 SET(${_varname} "${_flag_list}") 176 ENDIF() 177 ENDMACRO(_INTERNAL_PARSE_FLAGS) -
code/trunk/cmake/GenerateToluaBindings.cmake
r2710 r3196 48 48 ) 49 49 SOURCE_GROUP("Tolua" FILES ${_tolua_cxxfile} ${_tolua_hfile}) 50 # Disable annoying GCC warnings 51 IF(CMAKE_COMPILER_IS_GNU) 52 SET_SOURCE_FILES_PROPERTIES(${_tolua_cxxfile} PROPERTIES COMPILE_FLAGS "-w") 53 ENDIF() 50 54 51 55 # Create temporary package file -
code/trunk/cmake/LibraryConfig.cmake
r2925 r3196 67 67 INCLUDE(PackageConfigMinGW) 68 68 INCLUDE(PackageConfigMSVC) 69 70 # On Windows, DLLs have to be in the executable folder, install them 71 IF(DEP_BINARY_DIR AND WIN32) 72 # When installing a debug version, we really can't know which libraries 73 # are used in released mode because there might be deps of deps. 74 INSTALL( 75 DIRECTORY ${DEP_BINARY_DIR}/ 76 DESTINATION bin 77 CONFIGURATIONS Debug 78 REGEX "^.*\\.pdb$" EXCLUDE 79 ) 80 81 # Try to filter out all the debug libraries. If the regex doesn't do the 82 # job anymore, simply adjust it. 83 INSTALL( 84 DIRECTORY ${DEP_BINARY_DIR}/ 85 DESTINATION bin 86 CONFIGURATIONS Release RelWithDebInfo MinSizeRel 87 REGEX "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$" EXCLUDE 88 ) 89 ENDIF(DEP_BINARY_DIR AND WIN32) 90 ENDIF(NOT DEPENDENCY_PACKAGE_DIR) 69 INCLUDE(PackageConfig) # For both msvc and mingw 70 ENDIF() 91 71 ENDIF(DEPENDENCY_PACKAGE_ENABLE) 92 72 … … 172 152 ##### Boost ##### 173 153 # Expand the next statement if newer boost versions than 1.36.1 are released 174 SET(Boost_ADDITIONAL_VERSIONS 1.37 1.37.0 )154 SET(Boost_ADDITIONAL_VERSIONS 1.37 1.37.0 1.38 1.38.0 1.39 1.39.0) 175 155 # MSVC seems to be the only compiler requiring date_time 176 156 IF(MSVC) -
code/trunk/cmake/PackageConfigMSVC.cmake
r2710 r3196 28 28 IF(MSVC) 29 29 30 # MAJOR: Interface breaking change somewhere or added a new library31 # MINOR: Updated a library to a new version32 # PATCH: Bug fix or smaller things33 SET(DEPENDENCY_VERSION 0.0.1)34 35 MESSAGE(STATUS "Using library package for the dependencies.")36 37 30 # 64 bit system? 38 31 IF(CMAKE_SIZEOF_VOID_P EQUAL 8) … … 45 38 STRING(REGEX REPLACE "^Visual Studio ([0-9][0-9]?) .*$" "\\1" 46 39 _msvc_version "${CMAKE_GENERATOR}") 47 IF(MSVC71)48 SET(_msvc_version "7.1")49 ENDIF(MSVC71)50 40 51 41 SET(DEP_INCLUDE_DIR ${DEPENDENCY_PACKAGE_DIR}/include) … … 62 52 SET(CMAKE_LIBRARY_PATH ${DEP_LIBRARY_DIR}) 63 53 64 # Include paths and other special treatments 65 SET(ENV{ALUTDIR} ${DEP_INCLUDE_DIR}/freealut-1.1.0) 66 SET(ENV{BOOST_ROOT} ${DEP_INCLUDE_DIR}/boost-1.37.0) 67 SET(ENV{CEGUIDIR} ${DEP_INCLUDE_DIR}/cegui-0.6.2) 68 SET(ENV{DXSDK_DIR} ${DEP_INCLUDE_DIR}/directx-2007.aug) 69 SET(ENV{ENETDIR} ${DEP_INCLUDE_DIR}/enet-1.2) 70 SET(ENV{LUA_DIR} ${DEP_INCLUDE_DIR}/lua-5.1.4) 71 SET(ENV{OGGDIR} ${DEP_INCLUDE_DIR}/libogg-1.1.3) 72 SET(ENV{VORBISDIR} ${DEP_INCLUDE_DIR}/libvorbis-1.2.0) 73 SET(ENV{OGRE_HOME} ${DEP_INCLUDE_DIR}/ogre-1.4.9) 74 SET(ENV{OGRE_PLUGIN_DIR} ${DEP_BINARY_DIR}) 75 SET(ENV{OPENALDIR} ${DEP_INCLUDE_DIR}/openal-1.1) 76 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/tcl-8.5.2/include) 77 SET(TCL_LIBRARY ${DEP_LIBRARY_DIR}/tcl85.lib CACHE FILEPATH "") 78 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib-1.2.3/include) 79 SET(ZLIB_LIBRARY ${DEP_LIBRARY_DIR}/zdll.lib CACHE FILEPATH "") 54 # Certain find scripts don't behave as ecpected to we have 55 # to specify the libraries ourselves. 56 SET(TCL_LIBRARY ${DEP_LIBRARY_DIR}/tcl85.lib CACHE FILEPATH "") 57 SET(ZLIB_LIBRARY ${DEP_LIBRARY_DIR}/zdll.lib CACHE FILEPATH "") 58 59 # Visual Leak Detector 60 SET(VLD_INCLUDE_DIR ${DEP_INCLUDE_DIR}/vld-1.9h CACHE PATH "") 61 SET(VLD_LIBRARY_DIR ${DEP_LIBRARY_DIR} CACHE PATH "") 62 LINK_DIRECTORIES(${VLD_LIBRARY_DIR}) # Used for auto-linking 63 MARK_AS_ADVANCED(VLD_INCLUDE_DIR VLD_LIBRARY_DIR) 80 64 81 65 ENDIF(MSVC) -
code/trunk/cmake/PackageConfigMinGW.cmake
r2710 r3196 28 28 IF(MINGW) 29 29 30 # MAJOR: Interface breaking change somewhere or added a new library31 # MINOR: Updated a library to a new version32 # PATCH: Bug fix or smaller things33 SET(DEPENDENCY_VERSION 0.0.1)34 35 MESSAGE(STATUS "Using library package for the dependencies.")36 37 30 # 64 bit system? 38 31 IF(CMAKE_SIZEOF_VOID_P EQUAL 8) … … 52 45 SET(CMAKE_LIBRARY_PATH ${DEP_LIBRARY_DIR} ${DEP_BINARY_DIR}) 53 46 54 # Include paths and other special treatments 55 SET(ENV{ALUTDIR} ${DEP_INCLUDE_DIR}/freealut-1.1.0) 56 SET(ENV{BOOST_ROOT} ${DEP_INCLUDE_DIR}/boost-1.37.0) 57 SET(ENV{CEGUIDIR} ${DEP_INCLUDE_DIR}/cegui-0.6.2) 58 SET(ENV{DXSDK_DIR} ${DEP_INCLUDE_DIR}/directx-2007.aug) 59 SET(ENV{ENETDIR} ${DEP_INCLUDE_DIR}/enet-1.2) 60 SET(ENV{LUA_DIR} ${DEP_INCLUDE_DIR}/lua-5.1.4) 61 SET(ENV{OGGDIR} ${DEP_INCLUDE_DIR}/libogg-1.1.3) 62 SET(ENV{VORBISDIR} ${DEP_INCLUDE_DIR}/libvorbis-1.2.0) 63 SET(ENV{OGRE_HOME} ${DEP_INCLUDE_DIR}/ogre-1.4.9) 64 SET(ENV{OGRE_PLUGIN_DIR} ${DEP_BINARY_DIR}) 65 SET(ENV{OPENALDIR} ${DEP_INCLUDE_DIR}/openal-1.1) 66 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/tcl-8.5.2/include) 67 SET(TCL_LIBRARY ${DEP_BINARY_DIR}/tcl85.dll CACHE FILEPATH "") 68 LIST(APPEND CMAKE_INCLUDE_PATH ${DEP_INCLUDE_DIR}/zlib-1.2.3/include) 69 SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/zlib1.dll CACHE FILEPATH "") 47 # Certain find scripts don't behave as ecpected to we have 48 # to specify the libraries ourselves. 49 SET(TCL_LIBRARY ${DEP_BINARY_DIR}/tcl85.dll CACHE FILEPATH "") 50 SET(ZLIB_LIBRARY ${DEP_BINARY_DIR}/zlib1.dll CACHE FILEPATH "") 70 51 71 52 ENDIF(MINGW)
Note: See TracChangeset
for help on using the changeset viewer.