Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
40377081
Commit
40377081
authored
Mar 26, 2019
by
Florian Oetke
Browse files
added no_dead_strip to asm sections
parent
f89c2ca0
Pipeline
#2691
passed with stage
in 9 minutes and 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
embed_recursive_into_asm.cmake
View file @
40377081
...
@@ -37,7 +37,7 @@ if("${EMBED_MODE} " STREQUAL "MSVC ")
...
@@ -37,7 +37,7 @@ if("${EMBED_MODE} " STREQUAL "MSVC ")
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E touch
"
${
EMBED_SRC_FILE
}
"
OUTPUT_QUIET
)
execute_process
(
COMMAND
${
CMAKE_COMMAND
}
-E touch
"
${
EMBED_SRC_FILE
}
"
OUTPUT_QUIET
)
else
()
else
()
if
(
"
${
EMBED_MODE
}
"
STREQUAL
"APPLE "
)
if
(
"
${
EMBED_MODE
}
"
STREQUAL
"APPLE "
)
set
(
SECTION
".const_data"
)
set
(
SECTION
".const_data
, no_dead_strip
"
)
else
()
else
()
set
(
SECTION
".section .rodata"
)
set
(
SECTION
".section .rodata"
)
endif
()
endif
()
...
...
embedded_assets.s.in
View file @
40377081
${SECTION}
.global ${ID}
.global ${ID}
.global ${ID}_size
.global ${ID}_size
${SECTION}
${ID}:
${ID}:
.incbin "${DST_DIR}/embedded_assets.zip"
.incbin "${DST_DIR}/embedded_assets.zip"
1:
1:
...
...
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