mirror of
https://github.com/kennethreitz/static_string.git
synced 2026-06-05 23:00:20 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c5df271a1a | |||
| 6978da552e | |||
| e6895ea26b |
+29
-8
@@ -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)
|
# 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
|
# 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)
|
function (DoGroupSources curdir rootdir folder)
|
||||||
@@ -40,8 +61,6 @@ endfunction()
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
project (StaticString VERSION 1)
|
|
||||||
|
|
||||||
set_property (GLOBAL PROPERTY USE_FOLDERS ON)
|
set_property (GLOBAL PROPERTY USE_FOLDERS ON)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
@@ -150,3 +169,5 @@ file (GLOB_RECURSE PROJECT_FILES
|
|||||||
)
|
)
|
||||||
|
|
||||||
add_subdirectory (test)
|
add_subdirectory (test)
|
||||||
|
|
||||||
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user