Example Makefile.def file

From GiderosMobile
Revision as of 14:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

<syntaxhighlight lang="bash">

QTBASEDIR=/c/Qt

  1. export PATH=$PATH:~/Android_SDK/NDK/
  1. on Windows, also add this to PATH

NDK_HOME=/c/android-ndk

NDKBUILD=cmd //c /c/android-ndk/ndk-build.cmd

  1. remember to escape disallowed characters, or wrap in quotes

JAVA_HOME=C:\Program Files (x86)\Java\jdk1.8.0_181 ANT_HOME=/c/apache-ant-1.10.5 ANDROID_HOME=C:\\\\Users\\\\antho\\\\AppData\\\\Local\\\\Android\\\\Sdk

FXC="/c/Program Files (x86)/Windows Kits/8.1/bin/x86/fxc.exe" FXCx64="/c/Program Files (x86)/Windows Kits/8.1/bin/x64/fxc.exe" MSBUILD="/c/Program Files (x86)/MSBuild/14.0/Bin/MSBuild.exe"

EMSDK=/c/emsdk EMSDKPATH=$(EMSDK):$(EMSDK)/clang/e1.38.12_64bit:$(EMSDK)/node/8.9.1_64bit/bin:$(EMSDK)/python/2.7.13.1_64bit/python-2.7.13.amd64:$(EMSDK)/emscripten/1.38.12:/c/cmake-3.12.3-win32-x86/bin EMSDK_PREFIX=PATH=$(EMSDKPATH):$$$$PATH

  1. EMSDK_PREFIX+=BINARYEN_ROOT=$(EMSDK)/clang/e1.38.12_64bit/binaryen
  2. EMSDK_PREFIX+=EMSDK=$(EMSDK)
  3. EMSDK_PREFIX+=EMSCRIPTEN=$(EMSDK)/emscripten/1.38.12
  4. EMSDK_PREFIX+=EMSCRIPTEN_ROOT=$(EMSDK)/emscripten/incoming
  5. EMSDK_PREFIX+=JAVA=$(EMSDK)/emscripten/java/8.152_64bit/bin/java.exe

EMSDK_PREFIX+=cmd //c

CRUNCHME=crunchme-qt-win.exe

STEAMSDK=/c/steamworks_sdk_142 export STEAMSDK

NSIS=cmd //c "/c/Program Files (x86)/NSIS/makensis.exe" WIN_SIGN="/c/Program Files (x86)/Windows Kits/10/bin/x86/signtool.exe" WIN_KEYSTORE=/c/comodo-code-signing.p12 WIN_KEYPASS=xxxx WIN_KEYTSS="http://timestamp.comodoca.com"

MAC_HOST=user@host MAC_PATH=gideros/gideros OSX_SIGNING_IDENTITY="ID" OSX_SIGNING_PASSWORD="keychain password"

QT_ARCH=mingw53_32 QT_TOOLSARCH=mingw530_32 QTVER=5.10.1 QT5ICUVER=59 #deprecated stuff

</source>