From 06e65e537bd0570aa9de3cc8bad3a1ca006b38b8 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Thu, 6 Jun 2024 12:46:26 -0600 Subject: build: expose option to enable or disable precompiled std headers They are enabled by default, and Meson will also prints whether or not they're enabled at the bottom at the end of configuration. Change-Id: I48db238510bf9e74340b86f243f4bbe360794281 --- tests/unit/meson.build | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/unit/meson.build b/tests/unit/meson.build index 06aff4626..0d3f00ba5 100644 --- a/tests/unit/meson.build +++ b/tests/unit/meson.build @@ -68,7 +68,7 @@ libutil_tester = executable( liblixutil_test_support, nlohmann_json, ], - cpp_pch : ['../../src/pch/precompiled-headers.hh'], + cpp_pch : cpp_pch, ) test( @@ -103,7 +103,7 @@ libstore_test_support = library( include_directories : include_directories( 'libstore-support', ), - cpp_pch : ['../../src/pch/precompiled-headers.hh'], + cpp_pch : cpp_pch, ) liblixstore_test_support = declare_dependency( include_directories : include_directories('libstore-support'), @@ -137,7 +137,7 @@ libstore_tester = executable( gtest, nlohmann_json, ], - cpp_pch : ['../../src/pch/precompiled-headers.hh'], + cpp_pch : cpp_pch, ) test( @@ -169,7 +169,7 @@ libexpr_test_support = library( include_directories : include_directories( 'libexpr-support', ), - cpp_pch : ['../../src/pch/precompiled-headers.hh'], + cpp_pch : cpp_pch, ) liblixexpr_test_support = declare_dependency( include_directories : include_directories('libexpr-support'), @@ -203,7 +203,7 @@ libexpr_tester = executable( gtest, nlohmann_json, ], - cpp_pch : ['../../src/pch/precompiled-headers.hh'], + cpp_pch : cpp_pch, ) test( @@ -230,7 +230,7 @@ libcmd_tester = executable( gtest, boost, ], - cpp_pch : ['../../src/pch/precompiled-headers.hh'], + cpp_pch : cpp_pch, ) test( -- cgit v1.2.3