mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-13 04:06:52 +07:00
19 lines
485 B
CMake
19 lines
485 B
CMake
project(vmath.hpp.vendors)
|
|
|
|
#
|
|
# doctest
|
|
#
|
|
|
|
add_library(${PROJECT_NAME}.doctest STATIC doctest/doctest/parts/doctest.cpp)
|
|
add_library(${PROJECT_NAME}::doctest ALIAS ${PROJECT_NAME}.doctest)
|
|
|
|
target_compile_features(${PROJECT_NAME}.doctest
|
|
PUBLIC cxx_std_17)
|
|
|
|
target_include_directories(${PROJECT_NAME}.doctest SYSTEM
|
|
PUBLIC doctest)
|
|
|
|
target_compile_definitions(${PROJECT_NAME}.doctest
|
|
PRIVATE DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
|
|
INTERFACE DOCTEST_CONFIG_USE_STD_HEADERS)
|