mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 16:53:05 +08:00
Add install googletest/src
Add install googletest/src directory for project that desirable to build Google Test by compiling a single file.
This commit is contained in:
parent
7da4a498b3
commit
530aadc6e2
@ -1,3 +1,3 @@
|
||||
Source: gtest
|
||||
Version: 1.8-1
|
||||
Version: 1.8.0-2
|
||||
Description: GoogleTest and GoogleMock testing frameworks.
|
||||
|
@ -32,6 +32,22 @@ set(ENV{_CL_} "/D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(
|
||||
INSTALL
|
||||
"${SOURCE_PATH}/googletest/src/gtest.cc"
|
||||
"${SOURCE_PATH}/googletest/src/gtest_main.cc"
|
||||
"${SOURCE_PATH}/googletest/src/gtest-all.cc"
|
||||
"${SOURCE_PATH}/googletest/src/gtest-death-test.cc"
|
||||
"${SOURCE_PATH}/googletest/src/gtest-filepath.cc"
|
||||
"${SOURCE_PATH}/googletest/src/gtest-internal-inl.h"
|
||||
"${SOURCE_PATH}/googletest/src/gtest-port.cc"
|
||||
"${SOURCE_PATH}/googletest/src/gtest-printers.cc"
|
||||
"${SOURCE_PATH}/googletest/src/gtest-test-part.cc"
|
||||
"${SOURCE_PATH}/googletest/src/gtest-typed-test.cc"
|
||||
DESTINATION
|
||||
${CURRENT_PACKAGES_DIR}/src
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(INSTALL ${SOURCE_PATH}/googletest/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/gtest RENAME copyright)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user