Skip to content

[Question] Accessing executable build location outside of ecbuild #44

@StegmannJCSDA

Description

@StegmannJCSDA

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions