Disable PCH with clang-tidy

This commit is contained in:
momo5502
2025-03-18 20:22:37 +01:00
parent db1ef0dd16
commit d07656c1ee
3 changed files with 9 additions and 3 deletions

View File

@@ -10,7 +10,9 @@ add_executable(analyzer ${SRC_FILES})
momo_assign_source_group(${SRC_FILES})
target_precompile_headers(analyzer PRIVATE std_include.hpp)
if(NOT MOMO_ENABLE_CLANG_TIDY)
target_precompile_headers(analyzer PRIVATE std_include.hpp)
endif()
target_link_libraries(analyzer PRIVATE
reflect

View File

@@ -10,7 +10,9 @@ add_executable(fuzzer ${SRC_FILES})
momo_assign_source_group(${SRC_FILES})
target_precompile_headers(fuzzer PRIVATE std_include.hpp)
if(NOT MOMO_ENABLE_CLANG_TIDY)
target_precompile_headers(fuzzer PRIVATE std_include.hpp)
endif()
target_link_libraries(fuzzer PRIVATE
fuzzing-engine

View File

@@ -10,7 +10,9 @@ add_library(windows-emulator ${SRC_FILES})
momo_assign_source_group(${SRC_FILES})
target_precompile_headers(windows-emulator PRIVATE std_include.hpp)
if(NOT MOMO_ENABLE_CLANG_TIDY)
target_precompile_headers(windows-emulator PRIVATE std_include.hpp)
endif()
target_link_libraries(windows-emulator PRIVATE
unicorn-emulator