You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so that we could do it to an arbitrary location with arbitrary files?
Then again, if our config files are all *.rc, *.yaml and maybe *.nml we could just hard code those and if a new file glob needs to be added, we do so in this repo in the macro and then boom, all works?
The text was updated successfully, but these errors were encountered:
And maybe then the name should be something like esma_copy_files_to_install() or something truly generic as it doesn't have to be only for config files.
As noticed by @bena-nasa we have code like this:
in a lot of places. We use it to copy over all the
*.rc
files under a directory into a similar directory tree ininstall/etc
.And @bena-nasa in his ExtData2G work would need to add
*.yaml
to all of these.This leads to a couple things. First, this code might be better served with a CMake macro or function. We could do:
say and that would just copy over the files.
But should it be more..."general"? Like maybe:
or even:
esma_copy_config_files(*.rc *.yaml DESTINATION etc)
so that we could do it to an arbitrary location with arbitrary files?
Then again, if our config files are all
*.rc
,*.yaml
and maybe*.nml
we could just hard code those and if a new file glob needs to be added, we do so in this repo in the macro and then boom, all works?The text was updated successfully, but these errors were encountered: