Remove /FR from Windows build

This commit is contained in:
Andrew Nelless 2017-02-09 16:14:14 +00:00
parent 7bcd595da4
commit df58209e83
1 changed files with 1 additions and 2 deletions

View File

@ -321,11 +321,10 @@ set(OPENSSL_INCLUDE ${OPENSSL_BASE_DIR}/include)
if (WIN32) if (WIN32)
# TODO: consider using /analyze to uncover potential bugs in the source code. # TODO: consider using /analyze to uncover potential bugs in the source code.
# /FR - generate browse information (ncb files) useful for using IDE.
# /MP - use multi cores to compile. # /MP - use multi cores to compile.
# /D _BIND_TO_CURRENT_VCLIBS_VERSION - TODO: explain why. # /D _BIND_TO_CURRENT_VCLIBS_VERSION - TODO: explain why.
# /D _SECURE_SCL=1 - find bugs with iterators. # /D _SECURE_SCL=1 - find bugs with iterators.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /FR /MP /D _BIND_TO_CURRENT_VCLIBS_VERSION=1 /D _SECURE_SCL=1") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP /D _BIND_TO_CURRENT_VCLIBS_VERSION=1 /D _SECURE_SCL=1")
# /MD - use multi-core libraries. # /MD - use multi-core libraries.
# /O2 - get the fastest code. # /O2 - get the fastest code.