This repository has been archived by the owner on Nov 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add comments in CMD scripts, tweak CLI
- Loading branch information
Showing
3 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
@ECHO OFF | ||
:: | ||
:: ** CL CLI reminder ** | ||
:: optimize size: /Os | ||
:: optimize speed: /Ot | ||
:: compile dynamic: /MD | ||
:: compile static: /MT | ||
:: | ||
:: Don't forget setargv_*.obj | ||
:: | ||
set t="\"%date% %time%\"" | ||
clang-cl src\*.c src\executables\*.c src\etc\*.c src\images\*.c src\documents\*.c src\audio\*.c src\archives\*.c src\vdisk\*.c %1 %2 %3 -DTIMESTAMP=%t% /Zp /o "ff.exe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
@ECHO OFF | ||
:: | ||
:: CLI reminder | ||
:: -O3 | ||
:: | ||
:: Don't forget setargv_*.obj | ||
:: | ||
set t="\"%date% %time%\"" | ||
clang src\*.c src\executables\*.c src\etc\*.c src\images\*.c src\documents\*.c src\audio\*.c src\archives\*.c src\vdisk\*.c %1 %2 %3 -std=c99 -fno-stack-protector -fshort-enums -fstrict-enums -fpack-struct=1 -off.exe -DTIMESTAMP=%t% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters