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
98d988de
Commit
98d988de
authored
Nov 23, 2015
by
Taylor Braun-Jones
Browse files
Add CMake install rules for gtest libraries and headers
parent
786564fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
googletest/CMakeLists.txt
googletest/CMakeLists.txt
+8
-0
No files found.
googletest/CMakeLists.txt
View file @
98d988de
...
@@ -91,6 +91,14 @@ cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
...
@@ -91,6 +91,14 @@ cxx_library(gtest "${cxx_strict}" src/gtest-all.cc)
cxx_library
(
gtest_main
"
${
cxx_strict
}
"
src/gtest_main.cc
)
cxx_library
(
gtest_main
"
${
cxx_strict
}
"
src/gtest_main.cc
)
target_link_libraries
(
gtest_main gtest
)
target_link_libraries
(
gtest_main gtest
)
########################################################################
#
# Install rules
install
(
TARGETS gtest gtest_main
DESTINATION lib
)
install
(
DIRECTORY
${
gtest_SOURCE_DIR
}
/include/gtest
DESTINATION include
)
########################################################################
########################################################################
#
#
# Samples on how to link user tests with gtest or gtest_main.
# Samples on how to link user tests with gtest or gtest_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