You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Samples\Content\cpp-win32\Squares\Squares.vcxproj" doesn't configure precompiled headers correctly, meaning that:
'pch.cpp' is compiled unnecessarily
Other '.cpp' files don't benefit from precompiled headers.
Only the Debug|Win32 configuration actually specifies any precompiled header settings, and they appear to be wrong - it sets the PrecompiledHeader metadata to Create for all ClCompile items, it should be set to Use by default and Create for pch.cpp.
Without precompiled headers (i.e. as the project is currently defined) the build takes ~26 seconds on my machine. Opt-ing in to precompiled headers takes it to ~11 seconds for a full build, and incremental builds would also benefit.
The text was updated successfully, but these errors were encountered:
mschofie
added a commit
to mschofie/WindowsAppSDK-Samples
that referenced
this issue
Dec 1, 2022
"Samples\Content\cpp-win32\Squares\Squares.vcxproj" doesn't configure precompiled headers correctly, meaning that:
Only the
Debug|Win32
configuration actually specifies any precompiled header settings, and they appear to be wrong - it sets thePrecompiledHeader
metadata toCreate
for allClCompile
items, it should be set toUse
by default andCreate
forpch.cpp
.Without precompiled headers (i.e. as the project is currently defined) the build takes ~26 seconds on my machine. Opt-ing in to precompiled headers takes it to ~11 seconds for a full build, and incremental builds would also benefit.
The text was updated successfully, but these errors were encountered: