mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
4 lines
179 B
CMake
4 lines
179 B
CMake
|
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})
|