0639b4b0c4
* remove IS_TOPLEVEL_PROJECT cmake variable from top level * rework example/CMakeLists.txt with generator expressions * rework test/CMakeLists.txt with generator expressions * fix unknown cxx_std_20 on certain cmake versions * update test_package/CMakeLists.txt with modern cmake
11 lines
338 B
CMake
11 lines
338 B
CMake
cmake_minimum_required(VERSION 3.8)
|
|
project(test_package CXX)
|
|
|
|
set(CMAKE_VERBOSE_MAKEFILE ON)
|
|
|
|
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
|
conan_basic_setup(TARGETS)
|
|
|
|
add_executable(test_package test_package.cpp)
|
|
target_link_libraries(test_package PRIVATE CONAN_PKG::nameof)
|
|
target_compile_features(test_package PRIVATE cxx_std_17)
|