Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CPack support #4622

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add CPack support #4622

wants to merge 2 commits into from

Conversation

zjyhjqs
Copy link

@zjyhjqs zjyhjqs commented Sep 29, 2024

  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.)

Copy link

@defihook defihook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants