star-camera

Camera models
git clone git://git.meso-star.fr/star-camera.git
Log | Files | Refs | README | LICENSE

commit d3ddd78cf9b966728f1f6bc842fc6a50df6ed921
parent bbcfcf1662d109108acbadd92a79dbd6c51a4a8e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Mon, 30 Oct 2023 11:23:14 +0100

Fix inclusion of dependencies for optional tests

The dependency file for optional test, i.e. this that depend on
Star-3D, was included without being defined as a dependency of the
build_tests target. They were not generated and were therefore not
included correctly.

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -128,7 +128,8 @@ SCAM_CFLAGS = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --cflags scam-local.pc) SCAM_LIBS = $$($(PKG_CONFIG_LOCAL) $(PCFLAGS) --libs scam-local.pc) build_tests: build_library $(TEST_DEP) .test - @$(MAKE) -fMakefile -f.test \ + @if $(S3D_FOUND); then $(MAKE) src/test_scam_cbox.d; fi; \ + $(MAKE) -fMakefile -f.test \ $$(for i in $(TEST_DEP); do echo -f"$${i}"; done) \ $$($(S3D_FOUND) && echo "-fsrc/test_scam_cbox.d") \ test_bin