Documentation and new method for CachedCMakePackage build system (#22706)

Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
This commit is contained in:
Greg Becker
2022-05-23 15:48:12 -07:00
committed by GitHub
parent 07e9c0695a
commit 8616ba04db
3 changed files with 128 additions and 0 deletions

View File

@@ -210,6 +210,10 @@ def std_initconfig_entries(self):
"#------------------{0}\n".format("-" * 60),
]
def initconfig_package_entries(self):
"""This method is to be overwritten by the package"""
return []
def initconfig(self, spec, prefix):
cache_entries = (self.std_initconfig_entries() +
self.initconfig_compiler_entries() +