Compare commits

..

2 Commits

Author SHA1 Message Date
6978da552e Do not include test/CMakeLists.txt 2021-06-02 06:01:04 +03:00
e6895ea26b Update CMakeLists.txt 2021-06-02 04:51:10 +03:00

View File

@ -1,3 +1,30 @@
# Generated by `boostdep --cmake static_string`
# Copyright 2020 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt
cmake_minimum_required(VERSION 3.5...3.16)
project(boost_static_string VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
if(NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
add_library(boost_static_string INTERFACE)
add_library(Boost::static_string ALIAS boost_static_string)
target_include_directories(boost_static_string INTERFACE include)
target_link_libraries(boost_static_string
INTERFACE
Boost::assert
Boost::container_hash
Boost::static_assert
Boost::throw_exception
Boost::utility
)
else()
#
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
#
@ -7,12 +34,6 @@
# Official repository: https://github.com/boostorg/static_string
#
cmake_minimum_required (VERSION 3.5.1)
if (POLICY CMP0074)
cmake_policy (SET CMP0074 NEW)
endif()
#-------------------------------------------------------------------------------
function (DoGroupSources curdir rootdir folder)
@ -40,8 +61,6 @@ endfunction()
#
#-------------------------------------------------------------------------------
project (StaticString VERSION 1)
set_property (GLOBAL PROPERTY USE_FOLDERS ON)
if (MSVC)
@ -150,3 +169,5 @@ file (GLOB_RECURSE PROJECT_FILES
)
add_subdirectory (test)
endif()