RxDock uses Meson for building.
Generic instructions: you'll need Meson and Ninja. Other dependencies (Eigen, PCG, fmt, Loguru, nlohmann_json, cxxopts, and optional Google Test) will be downloaded from Wrap DB if not available on the system.
If your platform and compiler are listed mentioned below as supported, but you're experiencing issues, please let us know.
C++11 support in the compiler is mandatory, so GCC 4.8+ and Clang 3.3+ (Xcode 5+ on macOS) are supported.
Download a release, a snapshot, or clone the repository and cd
into the
directory. Then
$ cd /wherever/your/rxdock/directory/is
$ meson -Dbuildtype=release -Dtests=true builddir
$ ninja -C builddir
$ ninja -C builddir test
At the moment installation is only supported on Unix-like operating systems.
Either use sudo
to do ninja install
such as
$ sudo ninja -C builddir install
or su
to root and then run ninja install
like
# ninja -C builddir install
C++11 support in the compiler is mandatory, so MSVC 2015+ is supported.
Meson has a Visual Studio backend for generating Visual Studio projects that can
be built with msbuild
. The commands are
> meson builddir --backend=vs
> cd builddir
> msbuild RxDock.sln /m
> msbuild RUN_TESTS.vcxproj