convert boost module to yaml
This commit is contained in:
parent
51cdb55c53
commit
d0dc52c7a9
@ -5,11 +5,14 @@
|
||||
# Autocmake update time.
|
||||
# Note that the build-up commands are not Windows-compatible!
|
||||
#
|
||||
# Your autocmake.cfg should look like this::
|
||||
# Your autocmake.cfg should contain::
|
||||
#
|
||||
# [boost]
|
||||
# override: {'major': 1, 'minor': 59, 'patch': 0, 'components': 'chrono;timer;system'}
|
||||
# source: https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost.cmake
|
||||
# - boost:
|
||||
# - major: 1
|
||||
# - minor: 59
|
||||
# - patch: 0
|
||||
# - components: "chrono;timer;system"
|
||||
# - source: "https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost.cmake"
|
||||
#
|
||||
# Cross-dependencies between required components are not checked for.
|
||||
# For example, Boost.Timer depends on Boost.Chrono and Boost.System thus you
|
||||
@ -43,28 +46,31 @@
|
||||
# MPI_FOUND
|
||||
# BUILD_CUSTOM_BOOST
|
||||
#
|
||||
# autocmake.cfg configuration::
|
||||
# autocmake.yml configuration::
|
||||
#
|
||||
# major=1
|
||||
# minor=48
|
||||
# patch=0
|
||||
# components=''
|
||||
# fetch: https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_unpack.cmake
|
||||
# https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_userconfig.cmake
|
||||
# https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_configure.cmake
|
||||
# https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_build.cmake
|
||||
# https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_install.cmake
|
||||
# https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_headers.cmake
|
||||
# https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_cleanup.cmake
|
||||
# http://sourceforge.net/projects/boost/files/boost/%(major)s.%(minor)s.%(patch)s/boost_%(major)s_%(minor)s_%(patch)s.zip
|
||||
# docopt: --boost-headers=<BOOST_INCLUDEDIR> Include directories for Boost [default: ''].
|
||||
# --boost-libraries=<BOOST_LIBRARYDIR> Library directories for Boost [default: ''].
|
||||
# --build-boost=<FORCE_CUSTOM_BOOST> Deactivate Boost detection and build on-the-fly <ON/OFF> [default: OFF].
|
||||
# define: '-DBOOST_INCLUDEDIR="{0}"'.format(arguments['--boost-headers'])
|
||||
# '-DBOOST_LIBRARYDIR="{0}"'.format(arguments['--boost-libraries'])
|
||||
# '-DFORCE_CUSTOM_BOOST="{0}"'.format(arguments['--build-boost'])
|
||||
# '-DBOOST_MINIMUM_REQUIRED="%(major)s.%(minor)s.%(patch)s"'
|
||||
# '-DBOOST_COMPONENTS_REQUIRED="%(components)s"'
|
||||
# major: 1
|
||||
# minor: 48
|
||||
# patch: 0
|
||||
# components: ""
|
||||
# fetch:
|
||||
# - "https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_unpack.cmake"
|
||||
# - "https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_userconfig.cmake"
|
||||
# - "https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_configure.cmake"
|
||||
# - "https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_build.cmake"
|
||||
# - "https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_install.cmake"
|
||||
# - "https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_headers.cmake"
|
||||
# - "https://github.com/coderefinery/autocmake/raw/master/modules/boost/boost_cleanup.cmake"
|
||||
# - "http://sourceforge.net/projects/boost/files/boost/%(major)s.%(minor)s.%(patch)s/boost_%(major)s_%(minor)s_%(patch)s.zip"
|
||||
# docopt:
|
||||
# - "--boost-headers=<BOOST_INCLUDEDIR> Include directories for Boost [default: '']."
|
||||
# - "--boost-libraries=<BOOST_LIBRARYDIR> Library directories for Boost [default: '']."
|
||||
# - "--build-boost=<FORCE_CUSTOM_BOOST> Deactivate Boost detection and build on-the-fly <ON/OFF> [default: OFF]."
|
||||
# define:
|
||||
# - "'-DBOOST_INCLUDEDIR=\"{0}\"'.format(arguments['--boost-headers'])"
|
||||
# - "'-DBOOST_LIBRARYDIR=\"{0}\"'.format(arguments['--boost-libraries'])"
|
||||
# - "'-DFORCE_CUSTOM_BOOST=\"{0}\"'.format(arguments['--build-boost'])"
|
||||
# - "'-DBOOST_MINIMUM_REQUIRED="%(major)s.%(minor)s.%(patch)s"'"
|
||||
# - "'-DBOOST_COMPONENTS_REQUIRED="%(components)s"'"
|
||||
|
||||
# FIXME Maintainer should be able to choose between fail (end-user has to satisfy dependency
|
||||
# on its own) and soft-fail (self-build of Boost)
|
||||
|
Loading…
x
Reference in New Issue
Block a user