mirror of
git://slackware.nl/current.git
synced 2025-01-06 05:25:20 +01:00
36 lines
1 KiB
Text
36 lines
1 KiB
Text
|
mkdir build-python3
|
||
|
cd build-python3
|
||
|
cmake \
|
||
|
$KDE_OPT_ARGS \
|
||
|
-DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \
|
||
|
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DMAN_INSTALL_DIR=/usr/man \
|
||
|
-DSYSCONF_INSTALL_DIR=/etc/kde \
|
||
|
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
|
||
|
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
||
|
-DPYKDEUIC4_ALTINSTALL:BOOL=ON \
|
||
|
..
|
||
|
cd -
|
||
|
|
||
|
mkdir build-python2
|
||
|
cd build-python2
|
||
|
cmake \
|
||
|
$KDE_OPT_ARGS \
|
||
|
-DKDE_PLATFORM_FEATURE_DISABLE_DEPRECATED=TRUE \
|
||
|
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_C_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS" \
|
||
|
-DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DMAN_INSTALL_DIR=/usr/man \
|
||
|
-DSYSCONF_INSTALL_DIR=/etc/kde \
|
||
|
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
|
||
|
..
|
||
|
cd -
|