googletest
googletest copied to clipboard
Add CPack support
trafficstars
- Add
PROJECT_IS_TOP_LEVELvariable, to decide whether need to install/package - Add the main information of
project()that CPack uses - Set the package name (GTest) as same as the name in
find_package - Enable the CPack functionality
The package will be: i.e. GTest-1.15.2-win64.tar.gz
Ref: #2530 (I'm not familiar with RPM/DEB, so I just enable the basic CPack functionalities.)
Please review the PR and merge it if possible.