mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 09:42:42 +01:00
20 lines
373 B
CMake
20 lines
373 B
CMake
cmake_minimum_required(VERSION 3.2)
|
|
project(curl C)
|
|
include("${DEVKITPRO}/wut/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}")
|