Scripts to (interactively) demonstrate capabilities of Nix. Mirror of https://gitlab.com/SFrijters/nix-container-demo
cmake_minimum_required(VERSION 3.25)

project(wttr-delft VERSION 1.0 LANGUAGES C)

include(FindPkgConfig)
pkg_search_module(CURL REQUIRED libcurl)

add_executable(wttr-delft simple.c)

target_link_libraries(wttr-delft ${CURL_LIBRARIES})
target_include_directories(wttr-delft PUBLIC ${CURL_INCLUDE_DIRS})
target_compile_options(wttr-delft PUBLIC ${CURL_CFLAGS_OTHER})

install(TARGETS wttr-delft RUNTIME DESTINATION bin)