summaryrefslogtreecommitdiffstats
path: root/COMPILING.md
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2014-01-16 18:55:37 +0100
committerAlexander Harkness <bearbin@gmail.com>2014-01-16 18:55:37 +0100
commitbf0d58428dfa87b6b093b24e977e4163877fed00 (patch)
tree348e126aa37fc1014cf66b7878b413a91e9792b7 /COMPILING.md
parentCMake: Fixed output paths for all MSVC versions. (diff)
parentDocumented the SchedualeTask function (diff)
downloadcuberite-bf0d58428dfa87b6b093b24e977e4163877fed00.tar
cuberite-bf0d58428dfa87b6b093b24e977e4163877fed00.tar.gz
cuberite-bf0d58428dfa87b6b093b24e977e4163877fed00.tar.bz2
cuberite-bf0d58428dfa87b6b093b24e977e4163877fed00.tar.lz
cuberite-bf0d58428dfa87b6b093b24e977e4163877fed00.tar.xz
cuberite-bf0d58428dfa87b6b093b24e977e4163877fed00.tar.zst
cuberite-bf0d58428dfa87b6b093b24e977e4163877fed00.zip
Diffstat (limited to '')
-rw-r--r--COMPILING.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/COMPILING.md b/COMPILING.md
index 6438a2839..31222a5d8 100644
--- a/COMPILING.md
+++ b/COMPILING.md
@@ -80,3 +80,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.