Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
b2983b2f
Commit
b2983b2f
authored
Jul 29, 2019
by
Gennadiy Civil
Browse files
Merge pull request #2331 from adambadura:CMakeCorrection
PiperOrigin-RevId: 260509310
parents
bb481d2d
1be5ce09
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
googlemock/CMakeLists.txt
googlemock/CMakeLists.txt
+2
-2
googletest/CMakeLists.txt
googletest/CMakeLists.txt
+1
-1
No files found.
googlemock/CMakeLists.txt
View file @
b2983b2f
...
...
@@ -142,7 +142,7 @@ if (gmock_build_tests)
"$project_bin =
\"
${
CMAKE_BINARY_DIR
}
/bin/$<CONFIG>
\"
$env:Path =
\"
$project_bin;$env:Path
\"
& $args"
)
elseif
(
MINGW
)
elseif
(
MINGW
OR CYGWIN
)
file
(
GENERATE OUTPUT
"
${
CMAKE_CURRENT_BINARY_DIR
}
/RunTest.ps1"
CONTENT
"$project_bin = (cygpath --windows
${
CMAKE_BINARY_DIR
}
/bin)
...
...
@@ -162,7 +162,7 @@ $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
)
if
(
MINGW
OR CYGWIN
)
target_compile_options
(
gmock-matchers_test PRIVATE
"-Wa,-mbig-obj"
)
endif
()
cxx_test
(
gmock-more-actions_test gmock_main
)
...
...
googletest/CMakeLists.txt
View file @
b2983b2f
...
...
@@ -188,7 +188,7 @@ if (gtest_build_tests)
"$project_bin =
\"
${
CMAKE_BINARY_DIR
}
/bin/$<CONFIG>
\"
$env:Path =
\"
$project_bin;$env:Path
\"
& $args"
)
elseif
(
MINGW
)
elseif
(
MINGW
OR CYGWIN
)
file
(
GENERATE OUTPUT
"
${
CMAKE_CURRENT_BINARY_DIR
}
/RunTest.ps1"
CONTENT
"$project_bin = (cygpath --windows
${
CMAKE_BINARY_DIR
}
/bin)
...
...
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