Sha256: ac1c9050d3401b3fed45bc54380868125d4978784c9b5a83b4fd4be29f343091

Contents?: true

Size: 1.13 KB

Versions: 22

Compression:

Stored size: 1.13 KB

Contents

#  MACRO_WRITE_BASIC_CMAKE_VERSION_FILE( _filename _major _minor _patch)
#    Writes a file for use as <package>ConfigVersion.cmake file to <_filename>.
#    See the documentation of FIND_PACKAGE() for details on this.
#    _filename is the output filename, it should be in the build tree.
#    _major is the major version number of the project to be installed
#    _minor is the minor version number of the project to be installed
#    _patch is the patch version number of the project to be installed
#

# Copyright (c) 2008, Alexander Neundorf, <neundorf@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

get_filename_component(_currentListFileDir ${CMAKE_CURRENT_LIST_FILE} PATH)

function(MACRO_WRITE_BASIC_CMAKE_VERSION_FILE _filename _major _minor _patch)
   set(PROJECT_VERSION_MAJOR ${_major})
   set(PROJECT_VERSION_MINOR ${_minor})
   set(PROJECT_VERSION_PATCH ${_patch})
   configure_file(${_currentListFileDir}/BasicFindPackageVersion.cmake.in "${_filename}" @ONLY)
endfunction(MACRO_WRITE_BASIC_CMAKE_VERSION_FILE _major _minor _patch)

Version data entries

22 entries across 11 versions & 2 rubygems

Version Path
rock-qtbindings-4.8.6.5 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
rock-qtbindings-4.8.6.5 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.5 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.5 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.4 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.4 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.2 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.2 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.1 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.1 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.0 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.6.0 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.5.2 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.5.2 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.5.1 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.5.1 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.5.0 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.5.0 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.3.0-x86-mingw32 ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
qtbindings-4.8.3.0-x86-mingw32 ext/cmake/modules/MacroWriteBasicCMakeVersionFile.cmake