{"repo":"Ecos-platform/fmu4cpp","free":true,"listed":false,"github":"https://github.com/Ecos-platform/fmu4cpp","clone":"git clone https://github.com/Ecos-platform/fmu4cpp.git","description":"Build FMUs using modern C++","language":"C++","stars":23,"topics":["fmi-standard","co-simulation","fmi","cmake","github-actions","fmu","cpp17"],"license":"MIT","category":"workflow-automation","readme_excerpt":"FMU4cpp FMU4cpp is a GitHub template repository that allows you to easily create cross-platform FMUs compatible with FMI 2.0 & FMI 3.0 for Co-simulation using CMake and C++. The framework generates the required modelDescription.xml and further packages the necessary content into a ready-to-use FMU archive. How do I get started? 1. Clone this repository using the \"Use this template\" button. 2. Browse the example models from the examples branch. 3. Implement your own model by inheriting from the provided fmu base abstract class. 4. Create an FMU target by using the provided generate fmu CMake function. 5. Build. Models for your platform are located in a models folder within the build folder. 6. Upload your changes to GitHub to trigger cross-compilation and validation against fmusim. 7. Download cross-compiled FMUs from the Actions tab. Alternate workflow using CMake FetchContent You can also use FMU4cpp as a CMake FetchContent dependency in a pre-existing CMake project. Then, you can create your own FMU by inheriting from fmu4cpp::fmu base and using the generate fmu function. Example (BouncingBall) Cross-compilation Cross-compilation (64-bit linux/windows) occurs automatically when you push your changes to GitHub. Such easy, such wow. Requirements C++17 compiler CMake = 3.15","default_branch":null,"files":null,"tree":[],"storefront":"/r/Ecos-platform","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Ecos-platform/fmu4cpp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}