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
8bc11c04
Unverified
Commit
8bc11c04
authored
Aug 13, 2018
by
Gennadiy Civil
Committed by
GitHub
Aug 13, 2018
Browse files
Merge pull request #924 from wind-river-cdt/cross-testing-patch-1
Fix #923 - support CMAKE_CROSSCOMPILING_EMULATOR for tests
parents
7800ba3e
47b57ff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/cmake/internal_utils.cmake
googletest/cmake/internal_utils.cmake
+1
-1
No files found.
googletest/cmake/internal_utils.cmake
View file @
8bc11c04
...
@@ -230,7 +230,7 @@ find_package(PythonInterp)
...
@@ -230,7 +230,7 @@ find_package(PythonInterp)
# from the given source files with the given compiler flags.
# from the given source files with the given compiler flags.
function
(
cxx_test_with_flags name cxx_flags libs
)
function
(
cxx_test_with_flags name cxx_flags libs
)
cxx_executable_with_flags
(
${
name
}
"
${
cxx_flags
}
"
"
${
libs
}
"
${
ARGN
}
)
cxx_executable_with_flags
(
${
name
}
"
${
cxx_flags
}
"
"
${
libs
}
"
${
ARGN
}
)
add_test
(
${
name
}
${
name
}
)
add_test
(
NAME
${
name
}
COMMAND
${
name
}
)
endfunction
()
endfunction
()
# cxx_test(name libs srcs...)
# cxx_test(name libs srcs...)
...
...
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