Test custom converter for std::vector<T> (issue #1840)

This commit is contained in:
Benoit Blanchon
2022-12-24 09:41:48 +01:00
parent ac8e5f01db
commit 7ed2559e9e
2 changed files with 77 additions and 1 deletions

View File

@ -15,6 +15,10 @@ if("cxx_long_long_type" IN_LIST CMAKE_CXX_COMPILE_FEATURES)
list(APPEND SOURCES use_long_long_0.cpp use_long_long_1.cpp)
endif()
if("cxx_range_for" IN_LIST CMAKE_CXX_COMPILE_FEATURES AND "cxx_generalized_initializers" IN_LIST CMAKE_CXX_COMPILE_FEATURES)
list(APPEND SOURCES stl_containers.cpp)
endif()
if(NOT SOURCES)
return()
endif()
@ -28,5 +32,5 @@ add_test(Cpp11 Cpp11Tests)
set_tests_properties(Cpp11
PROPERTIES
LABELS "Catch"
LABELS "Catch"
)