Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
6dbddd32
Commit
6dbddd32
authored
Aug 11, 2019
by
Adam Badura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use -Wa,-mbig-obj for Cygwin/MinGW always
parent
90a443f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
CMakeLists.txt
googlemock/CMakeLists.txt
+8
-3
No files found.
googlemock/CMakeLists.txt
View file @
6dbddd32
...
@@ -150,6 +150,14 @@ $env:Path = \"$project_bin;$env:Path\"
...
@@ -150,6 +150,14 @@ $env:Path = \"$project_bin;$env:Path\"
& $args"
)
& $args"
)
endif
()
endif
()
if
(
MINGW OR CYGWIN
)
if
(
CMAKE_VERSION VERSION_LESS
"2.8.12"
)
add_compile_options
(
"-Wa,-mbig-obj"
)
else
()
add_definitions
(
"-Wa,-mbig-obj"
)
endif
()
endif
()
############################################################
############################################################
# C++ tests built with standard compiler flags.
# C++ tests built with standard compiler flags.
...
@@ -162,9 +170,6 @@ $env:Path = \"$project_bin;$env:Path\"
...
@@ -162,9 +170,6 @@ $env:Path = \"$project_bin;$env:Path\"
cxx_test
(
gmock-generated-matchers_test gmock_main
)
cxx_test
(
gmock-generated-matchers_test gmock_main
)
cxx_test
(
gmock-internal-utils_test gmock_main
)
cxx_test
(
gmock-internal-utils_test gmock_main
)
cxx_test
(
gmock-matchers_test gmock_main
)
cxx_test
(
gmock-matchers_test gmock_main
)
if
(
MINGW OR CYGWIN
)
target_compile_options
(
gmock-matchers_test PRIVATE
"-Wa,-mbig-obj"
)
endif
()
cxx_test
(
gmock-more-actions_test gmock_main
)
cxx_test
(
gmock-more-actions_test gmock_main
)
cxx_test
(
gmock-nice-strict_test gmock_main
)
cxx_test
(
gmock-nice-strict_test gmock_main
)
cxx_test
(
gmock-port_test gmock_main
)
cxx_test
(
gmock-port_test gmock_main
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment