Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement usage of external osi #12

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

TimmRuppert
Copy link
Collaborator

@TimmRuppert TimmRuppert commented Dec 16, 2024

Reference to a related issue in the repository

closes #9 #11

Add a description

This adds the ability to use an external OSI. E.g. in your main (parent) you can now do stuff like

...
# OSI
set(LINK_WITH_SHARED_OSI OFF)
add_subdirectory(lib/open-simulation-interface)
list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR}/lib/open-simulation-interface)

# asam-osi-utilities
set(USE_EXTERNAL_OSI ON)
add_subdirectory(lib/asam-osi-utilities EXCLUDE_FROM_ALL)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/lib/asam-osi-utilities/include)
...

Self-Checks

  • I have added unit tests for changed or added functions.
  • I have updated function documentation of changed or added functions.
  • My changes generate no errors when passing CI tests.
  • I have successfully implemented and tested my fix/feature locally.
  • Appropriate reviewer(s) are assigned.

Signed-off-by: Timm Ruppert <[email protected]>
@TimmRuppert TimmRuppert marked this pull request as ready for review December 16, 2024 15:23
@TimmRuppert TimmRuppert linked an issue Dec 18, 2024 that may be closed by this pull request
@TimmRuppert TimmRuppert added the enhancement New feature or request label Dec 18, 2024
@TimmRuppert TimmRuppert self-assigned this Dec 18, 2024
@ClemensLinnhoff ClemensLinnhoff merged commit 33685c8 into main Dec 20, 2024
6 checks passed
@ClemensLinnhoff ClemensLinnhoff deleted the 11-implement-usage-of-external-osi branch December 20, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement usage of external OSI Add CMAKE info message before fetching content
2 participants