Add GitHub action to test builds with precompiled headers disabled (#3327)

This commit is contained in:
pajlada
2021-10-30 14:24:43 +02:00
committed by GitHub
parent e24dffa961
commit 076152630a
3 changed files with 18 additions and 1 deletions
+3
View File
@@ -556,7 +556,10 @@ if (BUILD_APP)
endif ()
if (USE_PRECOMPILED_HEADERS)
message(STATUS "Building with precompiled headers")
target_precompile_headers(${LIBRARY_PROJECT} PRIVATE PrecompiledHeader.hpp)
else ()
message(STATUS "Building without precompiled headers")
endif ()
# Enable autogeneration of Qts MOC/RCC/UIC