add: compiler optimization to Release mode, updated size in readme

This commit is contained in:
2023-05-09 15:25:33 +02:00
parent 54ee7ab902
commit f0bb7161f4
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
# pasm # pasm
PASM is a Scripting language that i made for fun with a few constraints : PASM is a Scripting language that i made for fun with a few constraints :
- the interpreter should be as small as possible and written without the CRT (currently 33ko WITH CRT) - the interpreter should be as small as possible and written without the CRT (currently 13ko WITH CRT)
- the language should be able to call Windows API's - the language should be able to call Windows API's
PASM is meant for being used in C2 agents as its interpreter is small. PASM is meant for being used in C2 agents as its interpreter is small.

View File

@@ -137,6 +137,8 @@
<ConformanceMode>true</ConformanceMode> <ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp20</LanguageStandard> <LanguageStandard>stdcpp20</LanguageStandard>
<LanguageStandard_C>stdc17</LanguageStandard_C> <LanguageStandard_C>stdc17</LanguageStandard_C>
<Optimization>MaxSpeed</Optimization>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
</ClCompile> </ClCompile>
<Link> <Link>
<SubSystem>Console</SubSystem> <SubSystem>Console</SubSystem>