Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
SRB2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STJr
SRB2
Commits
8374a162
Commit
8374a162
authored
1 year ago
by
Logan Aerl Arias
Browse files
Options
Downloads
Patches
Plain Diff
added NOEXECINFO to cMake
added NOEXECINFO to cMake
parent
90edfa56
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#1624
passed
1 year ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-0
1 addition, 0 deletions
CMakeLists.txt
src/CMakeLists.txt
+5
-0
5 additions, 0 deletions
src/CMakeLists.txt
src/Makefile
+1
-0
1 addition, 0 deletions
src/Makefile
with
7 additions
and
0 deletions
CMakeLists.txt
+
1
−
0
View file @
8374a162
...
...
@@ -75,6 +75,7 @@ option(SRB2_CONFIG_ERRORMODE "Compile C code with warnings treated as errors." O
option
(
SRB2_CONFIG_DEBUGMODE
"Compile with PARANOIA, ZDEBUG, RANGECHECK and PACKETDROP defined."
OFF
)
option
(
SRB2_CONFIG_MOBJCONSISTANCY
"Compile with MOBJCONSISTANCY defined."
OFF
)
option
(
SRB2_CONFIG_PACKETDROP
"Compile with PACKETDROP defined."
OFF
)
option
(
SRB2_CONFIG_EXECINFO
"Enable stack trace dump support."
ON
)
option
(
SRB2_CONFIG_ZDEBUG
"Compile with ZDEBUG defined."
OFF
)
# SRB2_CONFIG_PROFILEMODE is probably superceded by some CMake setting.
option
(
SRB2_CONFIG_PROFILEMODE
"Compile for profiling (GCC only)."
OFF
)
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
+
5
−
0
View file @
8374a162
...
...
@@ -380,6 +380,11 @@ endif()
if
(
SRB2_CONFIG_PACKETDROP
)
target_compile_definitions
(
SRB2SDL2 PRIVATE -DPACKETDROP
)
endif
()
if
(
SRB2_CONFIG_EXECINFO
)
else
()
target_compile_definitions
(
SRB2SDL2 PRIVATE -DNOEXECINFO
)
message
(
STATUS
"You have disabled stack trace dump support"
)
endif
()
if
(
SRB2_CONFIG_ZDEBUG
)
target_compile_definitions
(
SRB2SDL2 PRIVATE -DZDEBUG
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
src/Makefile
+
1
−
0
View file @
8374a162
...
...
@@ -67,6 +67,7 @@
# NOPOSTPROCESSING=1 - ?
# MOBJCONSISTANCY=1 - ??
# PACKETDROP=1 - ??
# NOEXECINFO=1 - Disable stack trace dump support
# DEBUGMODE=1 - Enable various debugging capabilities.
# Also disables optimizations.
# NOZLIB=1 - Disable some compression capability. Implies
...
...
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