Build instructions
Checking requirements
Windows
- Visual Studio (C++14 standard) or later
Linux
- CMake 3.1 or newer
- One of: GCC (default), ICC, or Clang
Clone the repository
git clone https://github.com/rehlds/ReSemiclip.git
cd ReSemiclip
Building on Windows
Open msvc/resemiclip.sln in Visual Studio and build. The output is resemiclip_mm.dll.
Building on Linux
Use the provided build.sh script:
./build.sh --compiler=[gcc|icc|clang] --jobs=[N]
For example:
./build.sh --compiler=gcc --jobs=4 # GCC
./build.sh --compiler=intel # ICC
./build.sh --compiler=clang # Clang / LLVM
You can also pass CMake definitions through build.sh with -D<option>=[ON|OFF]:
| Definition | Effect |
|---|---|
DEBUG | Enables a debug build. |
USE_STATIC_LIBSTDC | Statically links libstdc++. |
The Linux build produces resemiclip_mm_i386.so.
See Installation for where each binary goes on a server, and copy dist/config.ini and dist/maps/ alongside it if you're testing a config format change.