googletest icon indicating copy to clipboard operation
googletest copied to clipboard

Add CPack support

Open zjyhjqs opened this issue 1 year ago • 1 comments
trafficstars

  1. Add PROJECT_IS_TOP_LEVEL variable, to decide whether need to install/package
  2. Add the main information of project() that CPack uses
  3. Set the package name (GTest) as same as the name in find_package
  4. 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.)

zjyhjqs avatar Sep 29 '24 17:09 zjyhjqs

Please review the PR and merge it if possible.

zjyhjqs avatar Mar 16 '25 11:03 zjyhjqs