Added precompiled header support for Visual Studio and Xcode (#6710)

Fixes https://github.com/libsdl-org/SDL/issues/6704
This commit is contained in:
Sam Lantinga authored and GitHub committed 2022-11-29 18:34:15 -08:00
1 parent 6ca7212b75
commit c5790359fd
742 files changed
+1139 -768

No files matched your search

+1
View File
@@ -130,6 +130,7 @@ add_sdl_test_executable(testerror NONINTERACTIVE testerror.c)
if(LINUX AND TARGET sdl-build-options)
add_sdl_test_executable(testevdev NONINTERACTIVE testevdev.c)
target_include_directories(testevdev BEFORE PRIVATE $<TARGET_PROPERTY:sdl-build-options,INTERFACE_INCLUDE_DIRECTORIES>)
target_include_directories(testevdev BEFORE PRIVATE ${SDL3_SOURCE_DIR}/src)
endif()
add_sdl_test_executable(testfile testfile.c)