[Lemon-commits] Alpar Juttner: Add /bigobj compiler flag when MS...
Lemon HG
hg at lemon.cs.elte.hu
Thu Apr 2 13:38:34 CEST 2015
details: http://lemon.cs.elte.hu/hg/lemon/rev/f05270f176d9
changeset: 1326:f05270f176d9
user: Alpar Juttner <alpar [at] cs.elte.hu>
date: Thu Apr 02 10:03:35 2015 +0200
description:
Add /bigobj compiler flag when MSVC is used (#520)
diffstat:
CMakeLists.txt | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -168,6 +168,7 @@
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}")
IF(MSVC)
+ SET(CMAKE_CXX_FLAGS "/bigobj ${CMAKE_CXX_FLAGS}")
SET( CMAKE_CXX_FLAGS_MAINTAINER "/WX ${CMAKE_CXX_FLAGS_DEBUG}" CACHE STRING
"Flags used by the C++ compiler during maintainer builds."
)
More information about the Lemon-commits
mailing list