CMakeLists.txt 296 B

123456789101112
  1. project(test_package C)
  2. cmake_minimum_required(VERSION 2.8.11)
  3. include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
  4. conan_basic_setup()
  5. file(GLOB SOURCE_FILES *.c)
  6. message("LIBS: ${CONAN_LIBS}")
  7. add_executable(${PROJECT_NAME} ${SOURCE_FILES})
  8. target_link_libraries(${PROJECT_NAME} ${CONAN_LIBS})