For building FMI4cpp, you are can use either conan or apt-get for getting the required dependencies.
Install conan and run conan install:
conan install . -s build_type=Debug --install-folder=cmake-build-debug
conan install . -s build_type=Release --install-folder=cmake-build-releaseOn Linux you should add -s compiler.libcxx=libstdc++11 to the command.
When using conan, set FMI4CPP_USING_CONAN=ON.
Linux:~/$ sudo apt-get install libzip-dev libboost-dev libboost-filesystem-devThe examples are built by default. To change this pass -DFMI4CPP_BUILD_EXAMPLES=OFF to CMake.
Test are on the other hand not built by default. To change this pass -DFMI4CPP_BUILD_TESTS=ON to CMake.
To run the tests you will need an additional dependency:
Dependency should already be fulfilled..
Linux:~/$ sudo apt-get install libboost-test-dev