Update README.md (by @nii236)
This commit is contained in:
parent
5945d556a6
commit
d0876d5f43
16
README.md
16
README.md
@ -104,8 +104,9 @@ by passing the `-DENABLE_GUI=OFF` flag to the cmake invocation.
|
|||||||
|
|
||||||
### Building for Windows
|
### Building for Windows
|
||||||
|
|
||||||
You will need the usual build tools, CMake, a Windows cross-compiler, and flatc.
|
Ubuntu will require 20.04 or above. Cross-compiling with WSL is also confirmed to work.
|
||||||
On a Debian derivative (e.g. Ubuntu) these can be installed with:
|
|
||||||
|
You will need the usual build tools, CMake, a Windows cross-compiler, and flatc. On a Debian derivative (e.g. Ubuntu) these can be installed with:
|
||||||
|
|
||||||
apt-get install git build-essential cmake mingw-w64 libflatbuffers-dev
|
apt-get install git build-essential cmake mingw-w64 libflatbuffers-dev
|
||||||
|
|
||||||
@ -115,16 +116,7 @@ Before building, check out the project and the necessary submodules:
|
|||||||
cd solvespace
|
cd solvespace
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
|
|
||||||
After that, build 32-bit SolveSpace as following:
|
Build 64-bit SolveSpace with the following:
|
||||||
|
|
||||||
mkdir build
|
|
||||||
cd build
|
|
||||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw32.cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DFLATC=$(which flatc)
|
|
||||||
make
|
|
||||||
|
|
||||||
Or, build 64-bit SolveSpace as following:
|
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
Loading…
Reference in New Issue
Block a user