From 89394f5a02e82a0e5460fabb6cb5e1ababe147fb Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: May 06 2018 13:19:37 +0000 Subject: Add macros.vpath from redhat-rpm-config These are useful macros that are intended to make it easier to do out-of-tree builds for Meson and CMake dynamically and safely using the macros provided in those packages. --- diff --git a/macros.d/macros.vpath b/macros.d/macros.vpath new file mode 100644 index 0000000..a37f1f9 --- /dev/null +++ b/macros.d/macros.vpath @@ -0,0 +1,7 @@ +# ---- VPATH default settings + +# directory where CMakeLists.txt/meson.build/etc. are placed +%_vpath_srcdir . + +# directory (doesn't need to exist) where all generated build files will be placed +%_vpath_builddir %_target_platform