mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 08:36:16 +00:00
Disable PCH with clang-tidy
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user