wut/samples/curl/CMakeLists.txt

20 lines
368 B
CMake
Raw Normal View History

2018-06-18 13:17:30 +02:00
cmake_minimum_required(VERSION 3.2)
project(curl C)
include("${WUT_ROOT}/share/wut.cmake" REQUIRED)
add_executable(curl
main.c)
target_link_libraries(curl
whb
proc_ui
sysapp
nsysnet
nlibcurl)
wut_enable_newlib(curl)
wut_create_rpx(curl.rpx curl)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/curl.rpx"
DESTINATION "${CMAKE_INSTALL_PREFIX}")