Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions core/libs/prx/libSceAgcDriver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2055,6 +2055,18 @@ foreach(agcExecutionTestSource IN LISTS agcExecutionTestSources)
target_link_libraries(${agcExecutionTest} PRIVATE libSceAgcDriver SDL2-static libc)
set_target_properties(${agcExecutionTest} PROPERTIES CXX_EXTENSIONS OFF)
configure_windows_unwind(${agcExecutionTest})
if(agcExecutionTests)
list(GET agcExecutionTests 0 agcExecutionPchTarget)
target_precompile_headers(${agcExecutionTest} REUSE_FROM ${agcExecutionPchTarget})
else()
target_precompile_headers(${agcExecutionTest} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/tests/execution/VulkanTestDevice.hpp
<array> <iostream> <span> <string> <vector>)
endif()
if(CMAKE_CXX_COMPILER_LAUNCHER MATCHES "ccache")
set_target_properties(${agcExecutionTest} PROPERTIES CXX_COMPILER_LAUNCHER
"${CMAKE_COMMAND};-E;env;CCACHE_SLOPPINESS=pch_defines,time_macros;${CMAKE_CXX_COMPILER_LAUNCHER}")
endif()
list(APPEND agcExecutionTests ${agcExecutionTest})
endforeach()
if(BUILD_TESTING)
Expand Down
Loading