Added basic local includes relative to $PWD and includes for files located at /usr/lib/fun.
This commit is contained in:
parent
d25c4b616d
commit
5b7b063086
8 changed files with 356 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue