Browse Source

Turn on Control Flow Guard for MSVC builds

The performance impact should be negligible according to the
documentation on msdn.
Closes #9101.
adaptive-webui-19844
Chocobo1 7 years ago
parent
commit
171bc77059
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 5
      conf.pri.windows

5
conf.pri.windows

@ -61,3 +61,8 @@ DEFINES += BOOST_USE_WINAPI_VERSION=0x0501 @@ -61,3 +61,8 @@ DEFINES += BOOST_USE_WINAPI_VERSION=0x0501
# Enable stack trace support
CONFIG += stacktrace
win32-msvc* {
QMAKE_CXXFLAGS += "/guard:cf"
QMAKE_LFLAGS += "/guard:cf"
}

Loading…
Cancel
Save