aboutsummaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile29
1 files changed, 22 insertions, 7 deletions
diff --git a/makefile b/makefile
index 679f661..ee8acba 100644
--- a/makefile
+++ b/makefile
@@ -91,18 +91,33 @@ markup_dir_samples:
all: dmd ldc gdc
all_ver: dmd_ver ldc_ver gdc_ver
all_debug: dmd_debug gdc_debug ldc_debug
-meson: dub_upgrade
- rm -r build; mkdir build
- meson --buildtype=debugoptimized build
- ninja -C build
- notify-send -t 0 'D meson build ldc compiled test release executable ready' 'spine'
-mesonredo:
+meson_clean_build_dir:
rm -r build; mkdir build
+meson_get_subprojects: meson_clean_build_dir
+ rm -rf subprojects/d2sqlite3; rm -rf subprojects/imageformats
+ rm -rf subprojects/dyaml; rm -rf subprojects/tinyendian
+ git clone https://github.com/biozic/d2sqlite3.git subprojects/d2sqlite3
+ git clone https://github.com/lgvz/imageformats.git subprojects/imageformats
+ cd subprojects/d2sqlite3; \
+ git checkout -b add_meson_build_patch; \
+ cp ../d2sqlite3.meson.build meson.build; \
+ git add . ; git commit -m"project meson.build added"; \
+ cd ../..
+ cd subprojects/imageformats; \
+ git checkout -b add_meson_build_patch v7.0.0; \
+ cp ../imageformats.meson.build meson.build; \
+ git add . ; git commit -m"project meson.build added"; \
+ cd ../..
+mesonclean: clean skel tangle dub_upgrade
meson --buildtype=debugoptimized build
ninja -C build
-mesonclean: clean skel tangle dub_upgrade
+meson_build: meson_clean_build_dir
meson --buildtype=debugoptimized build
ninja -C build
+ notify-send -t 0 'D meson build ldc compiled test release executable ready' 'spine'
+meson_upgrade: dub_upgrade meson_get_subprojects
+meson_upgrade_and_build: dub_upgrade meson_get_subprojects meson_clean_build_dir meson_build
+meson: meson_clean_build_dir meson_build
all_clean: clean tangle dmd ldc gdc
all_ver_clean: clean tangle dmd_ver ldc_ver gdc_ver
all_debug_ver: dmd_debug_ver gdc_debug_ver ldc_debug_ver