run in place

This commit is contained in:
Mrchiantos 2019-07-22 02:39:34 +02:00
parent b0d8474eb8
commit 4b089ae73f
4 changed files with 9 additions and 5 deletions

View File

@ -81,7 +81,7 @@ cmake .. \
-DCMAKE_INSTALL_PREFIX=/tmp \ -DCMAKE_INSTALL_PREFIX=/tmp \
-DBUILD_CLIENT=1 -DBUILD_SERVER=0 \ -DBUILD_CLIENT=1 -DBUILD_SERVER=0 \
-DCMAKE_TOOLCHAIN_FILE=$toolchain_file \ -DCMAKE_TOOLCHAIN_FILE=$toolchain_file \
-DRUN_IN_PLACE=1 \ -DRUN_IN_PLACE=0 \
\ \
-DENABLE_SOUND=1 \ -DENABLE_SOUND=1 \
-DENABLE_CURL=1 \ -DENABLE_CURL=1 \

View File

@ -81,7 +81,7 @@ cmake .. \
-DCMAKE_INSTALL_PREFIX=/tmp \ -DCMAKE_INSTALL_PREFIX=/tmp \
-DBUILD_CLIENT=1 -DBUILD_SERVER=0 \ -DBUILD_CLIENT=1 -DBUILD_SERVER=0 \
-DCMAKE_TOOLCHAIN_FILE=$toolchain_file \ -DCMAKE_TOOLCHAIN_FILE=$toolchain_file \
-DRUN_IN_PLACE=1 \ -DRUN_IN_PLACE=0 \
\ \
-DENABLE_SOUND=1 \ -DENABLE_SOUND=1 \
-DENABLE_CURL=1 \ -DENABLE_CURL=1 \

View File

@ -1940,7 +1940,7 @@
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)", "$(inherited)",
__IOS__, __IOS__,
"RUN_IN_PLACE=1", "RUN_IN_PLACE=0",
"USE_GETTEXT=1", "USE_GETTEXT=1",
"USE_CURL=1", "USE_CURL=1",
"USE_SOUND=1", "USE_SOUND=1",
@ -2035,7 +2035,7 @@
"$(inherited)", "$(inherited)",
"NDEBUG=1", "NDEBUG=1",
__IOS__, __IOS__,
"RUN_IN_PLACE=1", "RUN_IN_PLACE=0",
"USE_GETTEXT=1", "USE_GETTEXT=1",
"USE_CURL=1", "USE_CURL=1",
"USE_SOUND=1", "USE_SOUND=1",

View File

@ -30,10 +30,14 @@ the `init.lua` scripts in a shared environment.
Paths Paths
----- -----
* `RUN_IN_PLACE=1` * `RUN_IN_PLACE=1` (Windows release, local build)
* `$path_share` * `$path_share`
* Linux: `<build directory>` * Linux: `<build directory>`
* Windows: `<build directory>` * Windows: `<build directory>`
* `RUN_IN_PLACE=0`: (Linux release)
* `$path_share`
* Linux: `/usr/share/minetest`
* Windows: `<install directory>/minetest-0.4.x`
Games Games
----- -----