mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
CMake/Windows: Add PCH support
This commit is contained in:
4
Source/PCH/CMakeLists.txt
Normal file
4
Source/PCH/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
||||
add_library(pch pch.h pch.cpp)
|
||||
set(PCH_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
set(PCH_NAME ${PCH.pch})
|
||||
target_compile_options(pch PUBLIC /Ycpch.h /Fp${PCH_DIRECTORY}/${PCH_NAME})
|
Reference in New Issue
Block a user