From 7e0fc435ade701d56548674e3817c6e90804a5b8 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Mon, 17 Jun 2024 00:49:38 +0200 Subject: subprojects/perlin: add missing packagefiles Signed-off-by: Anna (navi) Figueiredo Gomes --- .gitignore | 2 +- subprojects/packagefiles/perlin/meson.build | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 subprojects/packagefiles/perlin/meson.build diff --git a/.gitignore b/.gitignore index 1a1effb..51d97be 100644 --- a/.gitignore +++ b/.gitignore @@ -38,5 +38,5 @@ packagecache /*venv* /subprojects/* -!/subprojects/packagefiles/* +!/subprojects/packagefiles !/subprojects/*.wrap diff --git a/subprojects/packagefiles/perlin/meson.build b/subprojects/packagefiles/perlin/meson.build new file mode 100644 index 0000000..8c8ff80 --- /dev/null +++ b/subprojects/packagefiles/perlin/meson.build @@ -0,0 +1,10 @@ +project('perlin', 'c', + version : '0.1', + default_options : ['warning_level=3']) + +cc = meson.get_compiler('c') +perlin = library('perlin', 'perlin.c', + dependencies: cc.find_library('m')) + +meson.override_dependency('perlin', + declare_dependency(link_with: perlin, include_directories: '.')) -- cgit v1.2.3