DeployMacros strip support
This commit is contained in:
@@ -587,7 +587,7 @@ macro(deploy_target _T)
|
||||
set(_LIBS_FILES)
|
||||
set(_VERB)
|
||||
set(_WVERB 1> NUL)
|
||||
set(_OPTIONS)
|
||||
set(_OPTIONS "--strip;${CMAKE_STRIP}")
|
||||
set(_ZIP_DMG 1)
|
||||
set(_DEB_OPT 1)
|
||||
set(_DEB_SERVICE 0)
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
|
||||
This repo contains useful CMake utilites:
|
||||
* FindMinGW - find MinGW compiler locations
|
||||
* DeployMacros - macros for deploy applications on Windows/Debian/MacOS
|
||||
* TargetArch - detect target machine architecture
|
||||
* DeployMacros - macros for deploy applications on Windows/Debian/MacOS
|
||||
* SHSTKMacros - macros to install libraries and applications
|
||||
* SHSTKQtMacros - macros to install Qt libraries and applications, generating typical projects
|
||||
|
||||
## Install
|
||||
Only "install" target exists.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#! /bin/bash
|
||||
export SDK_DIR=/usr/lib/android-sdk
|
||||
export PREFIX=/soft/android
|
||||
rm -rf * && cmake -DCMAKE_TOOLCHAIN_FILE=${SDK_DIR}/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-21 -DQt4=0 -DQt5=1 -DQt5_DIR=${PREFIX}/qt/lib/cmake/Qt5 ../libs
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=${SDK_DIR}/ndk-bundle/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-21 -DQt4=0 -DQt5=1 -DQt5_DIR=${PREFIX}/qt/lib/cmake/Qt5 $@
|
||||
|
||||
Reference in New Issue
Block a user