mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 05:09:53 +01:00
2c6ace04a7
* Use Xenial as the base distribution * Remove C++11 builds * Add a lot more C++14 builds * Add some C++17 builds * Include newer versions of Clang and GCC
12 lines
353 B
CMake
12 lines
353 B
CMake
cmake_minimum_required(VERSION 3.2.0)
|
|
project(test_package CXX)
|
|
|
|
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
|
conan_basic_setup(TARGETS)
|
|
|
|
find_package(Catch2 REQUIRED CONFIG)
|
|
|
|
add_executable(${PROJECT_NAME} test_package.cpp)
|
|
target_link_libraries(${PROJECT_NAME} CONAN_PKG::Catch2)
|
|
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 14)
|