1cmake_minimum_required(VERSION 2.8.12) 2project(PackageTest CXX) 3 4include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) 5conan_basic_setup() 6 7add_executable(example example.cpp) 8target_link_libraries(example ${CONAN_LIBS}) 9 10# CTest is a testing tool that can be used to test your project. 11# enable_testing() 12# add_test(NAME example 13# WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin 14# COMMAND example) 15