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
4083746e
Commit
4083746e
authored
Aug 15, 2019
by
Gennadiy Civil
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2391 from adambadura:FixCygwin
PiperOrigin-RevId: 263574695
parents
9b704069
6dbddd32
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 @
4083746e
...
...
@@ -150,6 +150,14 @@ $env:Path = \"$project_bin;$env:Path\"
& $args"
)
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.
...
...
@@ -162,9 +170,6 @@ $env:Path = \"$project_bin;$env:Path\"
cxx_test
(
gmock-generated-matchers_test gmock_main
)
cxx_test
(
gmock-internal-utils_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-nice-strict_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