ecbuild_add_persistent¶
Add persistent layer object classes.
ecbuild_add_persistent( SRC_LIST <variable>
FILES <file1> [<file2> ...] ]
[ NAMESPACE <namespace> ] )
Options¶
- SRC_LISTrequired
CMake variable to append the generated persistent layer objects to
- FILESrequired
list of base names of files to build persistent class information for
The source file is expected to have a .h extension, the generated file gets a .b extension.
- NAMESPACEoptional
C++ namespace to place the persistent class information in