GateNetwork/gate
No results
3
Build CMake
Stefan edited this page 2026年06月26日 23:51:00 +02:00
Table of Contents
Build GATE with CMAKE
All build scripts are in the /scripts directory and begin with
an build- token.
Build support files are written to /build/.../, each individual
build method produces another subdirectory.
Final output binaries will be written to /build/.../deploy.
- Generic (all mainstream platforms)
- Run generic build script from checkout root directory
- Windows:
build.bat - Unix based:
./build.sh
- Windows:
- Find generated binaries in
/build/cmake/deploy/bin
- Run generic build script from checkout root directory
- Linux or BSD (with
make)- Run
makebuild script./build-make.sh
- Find generated binaries in
/build/make/deploy/bin
- Run
- Windows (MSVC 2015+)
- Run the desired target output script (win32/win64/arm32/arm64)
build-msbuild_win32_ansi.batbuild-msbuild_win64.batbuild-msbuild_winarm32.batbuild-msbuild_winarm64.bat
- Find generated binaries in
\build\msbuild_win32_ansi\deploy\bin\build\msbuild_win64\deploy\bin\build\msbuild_winarm32\deploy\bin\build\msbuild_winarm64\deploy\bin
- Run the desired target output script (win32/win64/arm32/arm64)
- Windows (classic MSVC
nmake)- Run the default nmake target script
build-nmake.bat
- Find generated binaries in
\build\nmake\deploy\bin
- Run the default nmake target script
- DOS (WATCOM)
- Run the WMAKE build script
build-wmake_dos.bat
- Find generated binaries in
\build\wmakedos\deploy\bin
- Run the WMAKE build script
- Crosscompiling on Linux with GCC
- Run
gccbuild script./build-gcc_amd64-linux-gnu.sh./build-gcc_i686-linux-gnu.sh./build-gcc_aarch64-linux-gnu.sh./build-gcc_arm-linux-gnueabihf.sh./build-gcc_riscv64-linux-gnu.sh
- Find generated binaries in
/build/gcc_amd64-linux-gnu/build/gcc_i686-linux-gnu/build/gcc_aarch64-linux-gnu/build/gcc_arm-linux-gnueabihf/build/gcc_riscv64-linux-gnu
- Run
Links
Project
Build system
Concepts
© 2018-2026 OpenGATE.at