mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
merge PBuildType and _build_type
This commit is contained in:
parent
675e45e0ae
commit
83ab4838d7
20
kdeapps.conf
20
kdeapps.conf
@ -26,12 +26,15 @@ _pkgprefix="kde"
|
||||
# Install prefix
|
||||
_installprefix="/usr"
|
||||
|
||||
# Build type; can be one of Debug,Release and RelWithDebInfo
|
||||
PBuildType="RelWithDebInfo"
|
||||
|
||||
# Build type, one of the following:
|
||||
# Release: Compile with no debugging information, optimization enabled
|
||||
# Debug: Minimal optimization, with debugging information
|
||||
# RelWithDebInfo: Normal optimization, with debugging information
|
||||
# MinSizeRel: No debugging information, with optimization for smallest size
|
||||
_build_type="RelWithDebInfo"
|
||||
|
||||
function cmake_kf5() {
|
||||
cmake -DCMAKE_BUILD_TYPE=${PBuildType} \
|
||||
cmake -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DLIB_INSTALL_DIR=lib \
|
||||
-DSYSCONF_INSTALL_DIR=/etc \
|
||||
@ -40,15 +43,6 @@ function cmake_kf5() {
|
||||
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
|
||||
}
|
||||
|
||||
|
||||
|
||||
# Build type, one of the following:
|
||||
# Release: Compile with no debugging information, optimization enabled
|
||||
# Debug: Minimal optimization, with debugging information
|
||||
# RelWithDebInfo: Normal optimization, with debugging information
|
||||
# MinSizeRel: No debugging information, with optimization for smallest size
|
||||
_build_type="RelWithDebInfo"
|
||||
|
||||
# Working directory for this repository
|
||||
_build_work="/chakra/desktop-testing/"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user