We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b4a813 commit ac03515Copy full SHA for ac03515
package/archlinux/PKGBUILD
@@ -18,9 +18,12 @@ build() {
18
mkdir -p "$_rootdir/build"
19
cd "$_rootdir/build"
20
21
+ # RelWithDebInfo is enabled but not built -- it's meant for profiling from
22
+ # within the build dir
23
cmake .. \
- -DCMAKE_CONFIGURATION_TYPES="Debug;Release" \
24
+ -DCMAKE_CONFIGURATION_TYPES="Debug;Release;RelWithDebInfo" \
25
-DCMAKE_CROSS_CONFIGS=all \
26
+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g -DNDEBUG -fno-omit-frame-pointer" \
27
-DCMAKE_INSTALL_PREFIX=/usr \
28
-DMAGNUM_WITH_AUDIO=ON \
29
-DMAGNUM_WITH_VK=ON \
@@ -57,7 +60,7 @@ build() {
57
60
-DMAGNUM_BUILD_GL_TESTS=ON \
58
61
-DMAGNUM_BUILD_VK_TESTS=ON \
59
62
-G "Ninja Multi-Config"
- ninja all:all
63
+ ninja all:Debug all:Release
64
}
65
66
check() {
0 commit comments