Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alchemy
Third Party
3p-discord-rpc
Commits
ae944168
Verified
Commit
ae944168
authored
Oct 22, 2021
by
Xenny Heartsong
Browse files
fix packaging for linux64
parent
56fc6f2a
Pipeline
#1249
passed with stages
in 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autobuild.xml
View file @
ae944168
...
...
@@ -81,6 +81,11 @@
<string>
default
</string>
</map>
</map>
<key>
manifest
</key>
<array>
<string>
lib/discord_rpc/*
</string>
<string>
include/discord_rpc/*
</string>
</array>
<key>
name
</key>
<string>
linux
</string>
</map>
...
...
build-cmd.sh
View file @
ae944168
...
...
@@ -119,7 +119,7 @@ pushd "$SOURCE_DIR"
-DCMAKE_CXX_STANDARD
=
17
\
-DCMAKE_C_FLAGS
=
"
$DEBUG_CFLAGS
"
\
-DCMAKE_CXX_FLAGS
=
"
$DEBUG_CXXFLAGS
"
\
-DCMAKE_INSTALL_PREFIX
=
"
$stage
/
${
PROJECT
}
/debug"
-DCMAKE_INSTALL_PREFIX
=
"
$stage
/
lib/
${
PROJECT
}
/debug"
cmake
--build
.
--config
Debug
--parallel
$AUTOBUILD_CPU_COUNT
...
...
@@ -129,6 +129,9 @@ pushd "$SOURCE_DIR"
#fi
cmake
--install
.
--config
Debug
# FIXME: Delete files that shouldn't be there
rm
-r
"
$stage
/lib/
${
PROJECT
}
/debug/include"
popd
# Release
...
...
@@ -140,7 +143,7 @@ pushd "$SOURCE_DIR"
-DCMAKE_CXX_STANDARD
=
17
\
-DCMAKE_C_FLAGS
=
"
$RELEASE_CFLAGS
"
\
-DCMAKE_CXX_FLAGS
=
"
$RELEASE_CXXFLAGS
"
\
-DCMAKE_INSTALL_PREFIX
=
"
$stage
/
${
PROJECT
}
/release"
-DCMAKE_INSTALL_PREFIX
=
"
$stage
/
lib/
${
PROJECT
}
/release"
cmake
--build
.
--config
Release
--parallel
$AUTOBUILD_CPU_COUNT
...
...
@@ -150,6 +153,10 @@ pushd "$SOURCE_DIR"
# #fi
cmake
--install
.
--config
Release
# FIXME: Temporary workaround for files in the wrong folder
mkdir
-p
"
$stage
/include/"
mv
"
$stage
/lib/
${
PROJECT
}
/release/include"
"
$stage
/include/
${
PROJECT
}
"
popd
;;
esac
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment