From 7536dd705d121ed3a49b7e4b05af88fd241d1674 Mon Sep 17 00:00:00 2001 From: vimene Date: Sun, 15 Feb 2026 15:11:49 +0100 Subject: more improvements in builds setup - moved slang shaders to spvshaders to separate software and hardware shaders - split Makefile.am into Makefile.am, src/Makefile.am and src/spvshaders/Makefile.am - build shaders as DATA primary, instead of both PROGRAMS and SCRIPTS, which greatly simplifies building. Before that, we had to first build them as PROGRAMS, and then copy them as SCRIPTS to remove executable extensions (i.e. ".exe" for Windows) - changed final executable dir from enginedir to bindir, which makes automake see it as an exec instead of data - compute relative paths from C++, which makes it possible to change dirs arbitrarily when running make while still having a relocatable executable - updated README.md to reflect changes in dirs - use AX_COMPARE_VERSION() to simplify checking if Vulkan headers version is correct - factored out most of paths computation in engine::path_utils::Paths --- common.am | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 common.am (limited to 'common.am') diff --git a/common.am b/common.am new file mode 100644 index 0000000..e54bb09 --- /dev/null +++ b/common.am @@ -0,0 +1,4 @@ +assetsdir = $(pkgdatadir)/assets +assets_objsdir = $(assetsdir)/objs +assets_texturesdir = $(assetsdir)/textures +spvshadersdir = $(pkgdatadir)/spvshaders -- cgit v1.2.3