mirror of
https://github.com/boostorg/logic.git
synced 2025-07-29 19:57:17 +02:00
[CMake] Add minimal cmake file
Supports the use of boost logic in a parent cmake project via add_subdirectory( libs/logic )
This commit is contained in:
committed by
James E. King III
parent
fd021e5eb7
commit
3a9110fc34
20
CMakeLists.txt
Normal file
20
CMakeLists.txt
Normal file
@ -0,0 +1,20 @@
|
||||
# Copyright 2018 Mike Dev
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
|
||||
#
|
||||
# NOTE: CMake support for Boost.Logic is currently experimental at best
|
||||
# and the interface is likely to change in the future
|
||||
|
||||
cmake_minimum_required( VERSION 3.5 )
|
||||
project( BoostLogic LANGUAGES CXX )
|
||||
|
||||
add_library( boost_logic INTERFACE )
|
||||
add_library( Boost::logic ALIAS boost_logic )
|
||||
|
||||
target_include_directories( boost_logic INTERFACE include )
|
||||
|
||||
target_link_libraries( boost_logic
|
||||
INTERFACE
|
||||
Boost::config
|
||||
Boost::core
|
||||
)
|
Reference in New Issue
Block a user