mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 02:29:59 -06:00
CMake/Windows: Add PCH support
This commit is contained in:
@ -46,6 +46,10 @@ if (MSVC)
|
||||
# All files are encoded as UTF-8
|
||||
add_compile_options(/utf-8)
|
||||
|
||||
# Use PCH
|
||||
add_subdirectory(PCH)
|
||||
add_definitions(/I${PCH_DIRECTORY})
|
||||
add_definitions(/Yu${PCH_PATH})
|
||||
endif()
|
||||
|
||||
# These aren't actually needed for C11/C++11
|
||||
|
Reference in New Issue
Block a user