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

Fixing fmiFlags=s:euler for CMake FMUs #9677

Merged
merged 3 commits into from Nov 11, 2022

Conversation

AnHeuermann
Copy link
Member

Related Issues

Fix for #9635.

Purpose

Make it possible to use all combinations of fmiFlags and FMU build system (CMake, Makefile):

  • --fmiFlags=s:euler --fmuCMakeBuild=false
  • --fmiFlags=s:cvode--fmuCMakeBuild=false
  • --fmuCMakeBuild=false
  • --fmiFlags=s:euler --fmuCMakeBuild=true
  • --fmiFlags=s:cvode --fmuCMakeBuild=true
  • --fmuCMakeBuild=true

Changes

  • CMakeLists.txt.in:
    • Won't include C source files for CVODE unless needed
    • CMake will define WITH_SUNDIALS if needed
    • Link to sundials_cvode and sundials_nvecserial
  • Removed #define WITH_SUNDIALS from template

  - CMakeLists.txt.in changes:
    - Won't include C source files for CVODE unless needed
    - CMake will define WITH_SUNDIALS if needed
    - Link to sundials_cvode and sundials_nvecserial
  - Removed #define WITH_SUNDIALS from template
@AnHeuermann AnHeuermann added the COMP/FMI Issue and pull request related to FMI export label Nov 9, 2022
@AnHeuermann AnHeuermann self-assigned this Nov 9, 2022
@AnHeuermann AnHeuermann merged commit 3047cde into OpenModelica:master Nov 11, 2022
@AnHeuermann AnHeuermann deleted the issue-9635 branch November 11, 2022 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
COMP/FMI Issue and pull request related to FMI export
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant