mirror of
https://github.com/kennethreitz/static_string.git
synced 2026-06-05 23:00:20 +00:00
committed by
Alan de Freitas
parent
7822f1b991
commit
3e9489a7af
+17
-12
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
||||
# Copyright (c) 2022 Alan de Freitas (alandefreitas@gmail.com)
|
||||
#
|
||||
# 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)
|
||||
@@ -7,16 +7,21 @@
|
||||
# Official repository: https://github.com/boostorg/static_string
|
||||
#
|
||||
|
||||
GroupSources (include/boost/static_string static_string)
|
||||
GroupSources (test "/")
|
||||
set(BOOST_STATIC_STRING_TESTS_FILES
|
||||
CMakeLists.txt
|
||||
Jamfile
|
||||
constexpr_tests.hpp
|
||||
compile_fail.hpp
|
||||
static_string.cpp
|
||||
)
|
||||
|
||||
add_executable (tests
|
||||
${PROJECT_FILES}
|
||||
Jamfile
|
||||
static_string.cpp
|
||||
)
|
||||
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${BOOST_STATIC_STRING_TESTS_FILES})
|
||||
add_executable(boost_static_string_tests ${BOOST_STATIC_STRING_TESTS_FILES})
|
||||
|
||||
target_link_libraries(tests
|
||||
)
|
||||
|
||||
set_property(TARGET tests PROPERTY FOLDER "tests")
|
||||
# The include dependencies are found in the CMakeLists.txt
|
||||
# of the root project directory.
|
||||
# See: BOOST_STATIC_STRING_UNIT_TEST_LIBRARIES
|
||||
target_link_libraries(boost_static_string_tests PRIVATE
|
||||
Boost::static_string
|
||||
Boost::core)
|
||||
add_test(NAME boost_static_string_tests COMMAND boost_static_string_tests)
|
||||
|
||||
Reference in New Issue
Block a user