> Hello! I want to use your repository as a git submodule, for example.
> Then build from sources everything and link statically to have no
> dependencies. How can I do it properly with CMake? Could you provide a
> simple tutorial.
> I’ve noticed, that you use custom build system…
You can configure CMake to produce a static ODE library via CMake's
BUILD_SHARED_LIBS option (on by default):
cmake -DBUILD_SHARED_LIBS=OFF <path-to-source>
I have not used ODE as a git submodule yet, but all ODE-specific options
are prefixed ODE_. You can also disable demos and tests via the options
ODE_WITH_DEMOS and ODE_WITH_TESTS.
Best regards,
Markus Rickert