Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
RingRacers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Disk Poppy
RingRacers
Commits
e42b5c2c
Commit
e42b5c2c
authored
9 months ago
by
Eidolon
Browse files
Options
Downloads
Patches
Plain Diff
Always make debuglink .debug in CI
parent
6b071e95
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab/ci/jobs/windows-x86.yml
+2
-1
2 additions, 1 deletion
.gitlab/ci/jobs/windows-x86.yml
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
src/CMakeLists.txt
+1
-1
1 addition, 1 deletion
src/CMakeLists.txt
with
4 additions
and
2 deletions
.gitlab/ci/jobs/windows-x86.yml
+
2
−
1
View file @
e42b5c2c
...
...
@@ -92,7 +92,8 @@ Windows x86:
-DCMAKE_CXX_COMPILER_LAUNCHER=$CCACHE \
-DCMAKE_C_COMPILER=/usr/bin/i686-w64-mingw32-gcc-posix \
-DCMAKE_CXX_COMPILER=/usr/bin/i686-w64-mingw32-g++-posix \
-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/toolchains/mingw.cmake
-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/toolchains/mingw.cmake \
-DSRB2_CONFIG_ALWAYS_MAKE_DEBUGLINK=ON
-
|
# cmake
...
...
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
0
View file @
e42b5c2c
...
...
@@ -66,6 +66,7 @@ option(SRB2_CONFIG_STATIC_OPENGL "Enable static linking GL (do not do this)" OFF
option
(
SRB2_CONFIG_ERRORMODE
"Compile C code with warnings treated as errors."
OFF
)
option
(
SRB2_CONFIG_DEBUGMODE
"Compile with PARANOIA, ZDEBUG, RANGECHECK and PACKETDROP defined."
OFF
)
option
(
SRB2_CONFIG_DEV_BUILD
"Compile a development build."
OFF
)
option
(
SRB2_CONFIG_ALWAYS_MAKE_DEBUGLINK
"Always make a debuglink .debug."
OFF
)
option
(
SRB2_CONFIG_TESTERS
"Compile a build for testers."
OFF
)
option
(
SRB2_CONFIG_MOBJCONSISTANCY
"Compile with MOBJCONSISTANCY defined."
OFF
)
option
(
SRB2_CONFIG_PACKETDROP
"Compile with PACKETDROP defined."
OFF
)
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
1
−
1
View file @
e42b5c2c
...
...
@@ -611,7 +611,7 @@ add_subdirectory(modp_b64)
# strip debug symbols into separate file when using gcc.
# to be consistent with Makefile, don't generate for OS X.
if
((
CMAKE_COMPILER_IS_GNUCC
)
AND
NOT
(
"
${
CMAKE_SYSTEM_NAME
}
"
MATCHES Darwin
))
if
(
${
CMAKE_BUILD_TYPE
}
MATCHES RelWithDebInfo
)
if
(
${
CMAKE_BUILD_TYPE
}
MATCHES RelWithDebInfo
OR SRB2_CONFIG_ALWAYS_MAKE_DEBUGLINK
)
message
(
STATUS
"Will make separate debug symbols in *.debug"
)
add_custom_command
(
TARGET SRB2SDL2 POST_BUILD
COMMAND
${
OBJCOPY
}
${
OBJCOPY_ONLY_KEEP_DEBUG
}
$<TARGET_FILE:SRB2SDL2> $<TARGET_FILE:SRB2SDL2>.debug
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment