Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/qmake.mk
| Show All 10 Lines | |||||
| # Feature: qmake | # Feature: qmake | ||||
| # Usage: USES=qmake or USES=qmake:ARGS | # Usage: USES=qmake or USES=qmake:ARGS | ||||
| # Must be used along with 'USE_QT*=#' | # Must be used along with 'USE_QT*=#' | ||||
| # Valid ARGS: norecursive outsource | # Valid ARGS: norecursive outsource | ||||
| # ARGS description: | # ARGS description: | ||||
| # norecursive Don't pass -recursive argument to qmake binary | # norecursive Don't pass -recursive argument to qmake binary | ||||
| # outsource Perform an out-of-source build | # outsource Perform an out-of-source build | ||||
| # no_env Suppress modification of configure and make environment. | # no_env Suppress modification of configure and make environment. | ||||
| # no_configure Don't add the configure target -- this is implied by | # no_configure Don't add the configure target -- this is implied by | ||||
| # HAS_CONFIGURE=yes and GNU_CONFIGURE=yes | # HAS_CONFIGURE=yes and GNU_CONFIGURE=yes | ||||
| # | # | ||||
| # | # | ||||
| # Variables for ports: | # Variables for ports: | ||||
| # QMAKE_ENV - Environment passed to qmake. | # QMAKE_ENV - Environment passed to qmake. | ||||
| # Default: ${CONFIGURE_ENV} | # Default: ${CONFIGURE_ENV} | ||||
| # QMAKE_ARGS - Arguments passed to qmake. | # QMAKE_ARGS - Arguments passed to qmake. | ||||
| # Default: see below | # Default: see below | ||||
| ▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | QMAKE_ARGS+= -spec ${QMAKESPEC} \ | ||||
| QMAKE_LFLAGS="${LDFLAGS}" \ | QMAKE_LFLAGS="${LDFLAGS}" \ | ||||
| QMAKE_LIBS="${LIBS}" \ | QMAKE_LIBS="${LIBS}" \ | ||||
| QMAKE_CFLAGS_DEBUG="" \ | QMAKE_CFLAGS_DEBUG="" \ | ||||
| QMAKE_CFLAGS_RELEASE="" \ | QMAKE_CFLAGS_RELEASE="" \ | ||||
| QMAKE_CXXFLAGS_DEBUG="" \ | QMAKE_CXXFLAGS_DEBUG="" \ | ||||
| QMAKE_CXXFLAGS_RELEASE="" \ | QMAKE_CXXFLAGS_RELEASE="" \ | ||||
| PREFIX="${PREFIX}" | PREFIX="${PREFIX}" | ||||
| . if defined(WITH_DEBUG) | . if defined(_WITH_DEBUG) | ||||
| PLIST_SUB+= DEBUG="" | PLIST_SUB+= DEBUG="" | ||||
| QMAKE_ARGS+= CONFIG+="debug separate_debug_info" \ | QMAKE_ARGS+= CONFIG+="debug separate_debug_info" \ | ||||
| CONFIG-="release" | CONFIG-="release" | ||||
| . else | . else | ||||
| PLIST_SUB+= DEBUG="@comment " | PLIST_SUB+= DEBUG="@comment " | ||||
| QMAKE_ARGS+= CONFIG+="release" \ | QMAKE_ARGS+= CONFIG+="release" \ | ||||
| CONFIG-="debug separate_debug_info" | CONFIG-="debug separate_debug_info" | ||||
| . endif # defined(WITH_DEBUG) | . endif # defined(_WITH_DEBUG) | ||||
| # We set -recursive by default to keep qmake from running in the build stage. | # We set -recursive by default to keep qmake from running in the build stage. | ||||
| . if ! ${qmake_ARGS:Mnorecursive} | . if ! ${qmake_ARGS:Mnorecursive} | ||||
| QMAKE_ARGS+= -recursive | QMAKE_ARGS+= -recursive | ||||
| . endif | . endif | ||||
| . if defined(QMAKE_VERBOSE) | . if defined(QMAKE_VERBOSE) | ||||
| QMAKE_ARGS+= -d | QMAKE_ARGS+= -d | ||||
| ▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines | |||||