mirror of
https://github.com/boostorg/predef.git
synced 2025-07-28 03:07:14 +02:00
Compare commits
1 Commits
boost-1.86
...
pdimov-pat
Author | SHA1 | Date | |
---|---|---|---|
4ac6dd38a3 |
@ -4,10 +4,6 @@
|
||||
# See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt
|
||||
|
||||
# NOTE:
|
||||
# CMake support for Boost.Predef is currently experimental at best and the
|
||||
# interface is likely to change in the future
|
||||
#
|
||||
# This file provides minimal cmake support (no unit-tests,
|
||||
# no installation) for integration into a "host" cmake project
|
||||
# via the "add_subdirectory( <path-to-boost-predef> )" command.
|
||||
@ -20,12 +16,12 @@
|
||||
|
||||
# Only need the basic minimum of project, add_library, and
|
||||
# target_include_directories commands.
|
||||
cmake_minimum_required( VERSION 3.0 )
|
||||
cmake_minimum_required( VERSION 3.5 )
|
||||
|
||||
# Don't set VERSION, as that's a pita to keep up to date with the version
|
||||
# header. And don't set LANGUAGES as we are multi-language and header
|
||||
# only, so it's irrelevant.
|
||||
project( BoostPredef LANGUAGES NONE )
|
||||
# VERSION is set to the Boost superproject version if present,
|
||||
# otherwise none. LANGUAGES are set to NONE as we are multi-language
|
||||
# and preprocessor-only.
|
||||
project( boost_predef VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES NONE )
|
||||
|
||||
# Simple INTERFACE, and header only, library target.
|
||||
add_library( boost_predef INTERFACE )
|
||||
|
Reference in New Issue
Block a user