I am working on updating a legacy project that will use ecbuild to build multiple executables in the following way:
ecbuild_add_executable( TARGET app
SOURCES ${app_src_files}
LIBS crtm )
In the past this was done with local makefiles that built the executables in their source directory.
I would like to be able to create a (likely Python) script that links all the generated executables into a case directory, together with some case-specific input data.
To this end, the Python script would need to know the path of the executables built with ecbuild.
Is there an elegant way to do this?