-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use libcosim stable, simplify build procedure
- Loading branch information
1 parent
f42943c
commit efc061f
Showing
3 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ | |
|
||
.idea | ||
cmake-build-*/ | ||
|
||
build/ | ||
CMakeUserPresets.json | ||
|
||
### Vim | ||
*.swp | ||
*.swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,23 @@ | ||
libcosimc - OSP C co-simulation API | ||
=================================== | ||
![libcosimc CI Conan](https://github.com/open-simulation-platform/libcosimc/workflows/libcosimc%20CI%20Conan/badge.svg) | ||
This repository contains the OSP C library for co-simulations which wraps and exposes a subset of the [`libcosim`] | ||
library's functions. | ||
|
||
This repository contains the [OSP] C library for co-simulations, which wraps and | ||
exposes a subset of the [libcosim] C++ library's functions. | ||
|
||
See [`CONTRIBUTING.md`] for contributor guidelines and [`LICENSE`] for | ||
terms of use. | ||
|
||
|
||
|
||
How to build | ||
------------ | ||
Please read the [libcosim build instructions]. The commands you should run | ||
to build libcosimc are exactly the same, except that the option you need to | ||
add to `conan install` to enable [proxy-fmu] support is | ||
`--options="libcosim/*:proxyfmu=True`. | ||
|
||
`libcosimc` can be built in the same way as libcosim with the following differences in [step 2] | ||
|
||
To include FMU-proxy support use `-o libcosim:'proxyfmu=True'` when installing dependencies in | ||
|
||
conan install .. -o libcosim:'proxyfmu=True' --build=missing | ||
|
||
When running cmake use `-DLIBCOSIMC_USING_CONAN=TRUE` | ||
|
||
[`CONTRIBUTING.md`]: ./CONTRIBUTING.md | ||
[libcosim]: https://github.com/open-simulation-platform/libcosim | ||
[libcosim build instructions]: https://github.com/open-simulation-platform/libcosim#how-to-build | ||
[`LICENSE`]: ./LICENSE | ||
[Step 2]: https://github.com/open-simulation-platform/libcosim#step-2-prepare-build-system | ||
[`libcosim`]: https://github.com/open-simulation-platform/libcosim | ||
[OSP]: https://opensimulationplatform.com/ | ||
[proxy-fmu]: https://github.com/open-simulation-platform/proxy-fmu/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters