Skip to content

Add an option to execute environment-setup script to add_opp_run #7

Description

@HpLightcorner

Hi,
When dealing with multiple OMNeT++ Versions, I normally avoid setting global environment variables. When using CMake, setting up various OMNeT++ Versions is supported by using CMake-Tools CMake-Kits. However, running a simulation directly from the IDE does not work as the DLLs are not found - because the paths are missing/not propagated.

It would be handy if I can add a setup script to commands like add_opp_run to, for example, modify the PATH.

Any thoughts on that?
I am implementing a prototype, setting up e.g. the PATH from within CMake for custom_target is not so straightforward, but I think I found a workaround.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions