mirror of
https://github.com/google/googletest.git
synced 2025-12-06 16:57:00 +08:00
Enable "make package" and "make package_source"
This commit is contained in:
parent
ff233bdd4c
commit
e2a71cf83b
@ -34,3 +34,8 @@ if(BUILD_GMOCK)
|
|||||||
else()
|
else()
|
||||||
add_subdirectory( googletest )
|
add_subdirectory( googletest )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(CPACK_VERBATIM_VARIABLES YES)
|
||||||
|
set(CPACK_SOURCE_GENERATOR "TGZ")
|
||||||
|
set(CPACK_SOURCE_IGNORE_FILES "build;/\\.git/;.*~")
|
||||||
|
include(CPack)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user