documented CROSSCOMPILING flag
This commit is contained in:
parent
8e19ea4744
commit
9a8975420e
@ -25,3 +25,12 @@ This is useful if you want to compile MCServer to use on another 32-bit machine.
|
|||||||
-DFORCE_32=1
|
-DFORCE_32=1
|
||||||
|
|
||||||
to your cmake command and 32 bit will be forced.
|
to your cmake command and 32 bit will be forced.
|
||||||
|
|
||||||
|
Compiling for another computer
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
When compiling for another computer it is important to set cross compiling mode. This tells the compiler not to optimise for your machine. It can be used with debug or release mode. To enable simply add:
|
||||||
|
|
||||||
|
-DCROSSCOMPILE=1
|
||||||
|
|
||||||
|
to your cmake command.
|
||||||
|
Loading…
Reference in New Issue
Block a user