您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CMakeLists.txt 311B

1234567891011121314
  1. cmake_minimum_required(VERSION 3.11)
  2. project(PackageTest CXX)
  3. set(CMAKE_CXX_STANDARD 17)
  4. set(CMAKE_CXX_STANDARD_REQUIRED ON)
  5. set(CMAKE_CXX_EXTENSIONS OFF)
  6. include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
  7. conan_basic_setup()
  8. add_executable(example example.cpp)
  9. target_link_libraries(example ${CONAN_LIBS})