documented CROSSCOMPILING flag

master
Tycho 2014-01-16 09:51:01 -08:00
parent 8e19ea4744
commit 9a8975420e
1 changed files with 9 additions and 0 deletions

View File

@ -25,3 +25,12 @@ This is useful if you want to compile MCServer to use on another 32-bit machine.
-DFORCE_32=1
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.