build: exclude mptest target from compile commands

build: exclude mptest target from compile commands
This commit is contained in:
Sanjana2906
2026-06-02 15:37:07 +05:30
parent 34ac53457f
commit 4731049ba4

View File

@@ -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()