1
0
Fork 0
forked from fun/fun

Added basic local includes relative to $PWD and includes for files located at /usr/lib/fun.

This commit is contained in:
Johannes Findeisen 2025-09-27 17:39:03 +02:00
commit 5b7b063086
8 changed files with 356 additions and 6 deletions

View file

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(fun VERSION 0.5.2 LANGUAGES C)
project(fun VERSION 0.6.0 LANGUAGES C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
@ -68,6 +68,10 @@ add_custom_target(distclean
install(TARGETS fun
RUNTIME DESTINATION /usr/bin)
install(DIRECTORY lib/
DESTINATION /usr/lib/fun
FILES_MATCHING PATTERN "*.fun")
# - Optionally install example scripts
option(FUN_INSTALL_EXAMPLES "Install example .fun scripts" ON)
if(FUN_INSTALL_EXAMPLES)