Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/10
12 lines
354 B
CMake
12 lines
354 B
CMake
cmake_minimum_required(VERSION 3.1)
|
|
project(test_package C)
|
|
|
|
include("${CMAKE_BINARY_DIR}/conanbuildinfo.cmake")
|
|
conan_basic_setup()
|
|
if(CONAN_SETTINGS_COMPILER_RUNTIME MATCHES ".*d")
|
|
add_compile_definitions(DISABLE_FFI_CALL)
|
|
endif()
|
|
|
|
add_executable(${PROJECT_NAME} ../test_package/test_package.c)
|
|
target_link_libraries(${PROJECT_NAME} ${CONAN_LIBS})
|