Update to match window-starter template

This commit is contained in:
McMassiveNZ
2023-05-28 21:58:29 +02:00
parent 05f1069e2f
commit c7a4dde1de
14 changed files with 55 additions and 78 deletions

8
cmake/precompiled.cmake Normal file
View File

@@ -0,0 +1,8 @@
include_guard()
function( target_precompiled_header _target _header _source )
if( MSVC )
set_target_properties( ${_target} PROPERTIES COMPILE_FLAGS "/Yu${_header}" )
set_source_files_properties( ${_source} PROPERTIES COMPILE_FLAGS "/Yc${_header}" )
endif()
endfunction()