Skip to content

Set install component when part of OpenModelica.#1251

Merged
mahge merged 1 commit intoOpenModelica:masterfrom
mahge:improve_cmake_config
Sep 5, 2023
Merged

Set install component when part of OpenModelica.#1251
mahge merged 1 commit intoOpenModelica:masterfrom
mahge:improve_cmake_config

Conversation

@mahge
Copy link
Copy Markdown
Contributor

@mahge mahge commented Sep 5, 2023

  • When OMSimulator is built as part of OpenModelica, set the install component to omsimulator for all targets built by it. OpenModelica has multiple install components and so this needs to be set as well. Otherwise CMake will put it under the 'unknown' install component it creates automatically.

  • This can be changed to be set always (even when not part of OpenModelica) It should work just fine as well. For now, it is set only when it is actually required (i.e, OMsimulator is part of OpenModelica.)

  - When OMSimulator is built as part of OpenModelica, set the install
    component to `omsimulator` for all targets built by it.
    OpenModelica has multiple install components and so this needs to be
    set as well. Otherwise CMake will put it under the 'unknown' install
    componet it creates autoamatically.

  - This can be changed to be set always (even when not part of OpenModelica)
    It should work just fine as well. For now, it is set only when it is
    actually required (i.e, OMsimulator is part of OpenModelica.)
@mahge mahge self-assigned this Sep 5, 2023
@mahge mahge enabled auto-merge (squash) September 5, 2023 12:28
@mahge mahge disabled auto-merge September 5, 2023 12:28
@mahge mahge enabled auto-merge (squash) September 5, 2023 12:29
@mahge mahge merged commit fe765f7 into OpenModelica:master Sep 5, 2023
@mahge mahge deleted the improve_cmake_config branch September 5, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant