You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(PchPrologueEpilogue)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
set(CMAKE_PCH_PROLOGUE "#pragma warning(push, 0)")
|
|
set(CMAKE_PCH_EPILOGUE "#pragma warning(pop)")
|
|
|
|
add_executable(main main.cpp)
|
|
target_precompile_headers(main PRIVATE pch.h)
|