Tests: Add case covering PCH in a unity build

Issue: #25650
This commit is contained in:
Brad King
2024-02-02 08:13:22 -05:00
parent 7fc2a83fe6
commit 004c3c3986
3 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1 @@
include(${CMAKE_CURRENT_LIST_DIR}/PchInterface-check.cmake)

View File

@@ -0,0 +1,2 @@
set(CMAKE_UNITY_BUILD 1)
include(PchInterface.cmake)

View File

@@ -12,6 +12,7 @@ endfunction()
run_cmake(DisabledPch)
run_cmake(PchDebugGenex)
run_test(PchInterface)
run_test(PchInterfaceUnity)
run_cmake(PchPrologueEpilogue)
run_test(SkipPrecompileHeaders)
run_test(CXXnotC)