From 4731049ba4f8a820cc4aa13a745e41bdfbee284a Mon Sep 17 00:00:00 2001 From: Sanjana2906 Date: Tue, 2 Jun 2026 15:37:07 +0530 Subject: [PATCH] build: exclude mptest target from compile commands build: exclude mptest target from compile commands --- cmake/libmultiprocess.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/libmultiprocess.cmake b/cmake/libmultiprocess.cmake index 027109a9051..0dab1f66ee2 100644 --- a/cmake/libmultiprocess.cmake +++ b/cmake/libmultiprocess.cmake @@ -34,5 +34,5 @@ function(add_libmultiprocess subdir) # exclusion, tools like clang-tidy and IWYU that make use of compilation # database would complain that the generated c++ source files do not exist. An # alternate fix could build "mpexamples" by default like "mptests" above. - set_target_properties(mpcalculator mpprinter mpexample PROPERTIES EXPORT_COMPILE_COMMANDS OFF) + set_target_properties(mpcalculator mpprinter mpexample mptest PROPERTIES EXPORT_COMPILE_COMMANDS OFF) endfunction()