Skip to content

Generate Findgrpp.cmake, target and pkgconfig files - #2

Open
mtaillefumier wants to merge 2 commits into
aoleynichenko:mainfrom
mtaillefumier:main
Open

mtaillefumier wants to merge 2 commits into
aoleynichenko:mainfrom
mtaillefumier:main

Conversation

@mtaillefumier

Copy link
Copy Markdown

Set and generate all needed files to include the project in other cmake projects such as cp2k. It has several advantages as the burden for finding the library is minimized and standardized. The files are also updated automatically for each release and dependencies are also explicitly included as well (although the library has none at the moment).

The library can be included in any other cmake projects with find_package(grpp REQUIRED)

After calling this function, cmake will define a unique target grpp::grpp that can be used later on as in all target related functions.

@RMeli

RMeli commented Mar 22, 2024

Copy link
Copy Markdown

@aoleynichenko gentle ping, so that we can add this to Spack. (See spack/spack#41670)

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