Skip to content

Commit fae65c5

Browse files
committed
Add --prefix and --postfix options.
1 parent b7a97b0 commit fae65c5

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

yasm.targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
Condition="'@(YASM)' != '' and '%(YASM.ExcludedFromBuild)' != 'true'"
5252
Inputs="%(YASM.Inputs)"
5353
ObjectFileName="%(YASM.ObjectFileName)"
54+
SymbolsPrefix="%(NASM.SymbolsPrefix)"
55+
SymbolsPostfix="%(NASM.SymbolsPostfix)"
5456
GenerateDebugInformation="%(YASM.GenerateDebugInformation)"
5557
IncludePaths="%(YASM.IncludePaths)"
5658
PreIncludeFiles="%(YASM.PreIncludeFiles)"

yasm.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,18 @@
6262
Description="Generates Debug Information."
6363
HelpUrl="http://www.tortall.net/projects/yasm/manual/html/yasm-options.html#yasm-option-dformat"
6464
Switch="-g cv8" />
65+
<StringProperty
66+
Name="SymbolsPrefix"
67+
Category="Assembler Options"
68+
DisplayName="Symbols Prefix"
69+
Description="Prepend the given argument to all global or extern variables."
70+
Switch="--prefix [value]" />
71+
<StringProperty
72+
Name="SymbolsPostfix"
73+
Category="Assembler Options"
74+
DisplayName="Symbols Postfix"
75+
Description="Append the given argument to all global or extern variables."
76+
Switch="--postfix [value]" />
6577
<StringListProperty
6678
Name="IncludePaths"
6779
Category="General"

0 commit comments

Comments
 (0)