Skip to content

Commit e760bb5

Browse files
committed
put output exe in bin/
1 parent c5e4181 commit e760bb5

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

mk.bat

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
@echo off
2-
set OPT=/EHsc -I include -I test /W4 /Oy /O2 /arch:AVX2 /DNDEBUG /DNOMINMAX lib/fmath.lib
3-
cl %OPT% %1%
2+
set SRC=%1
3+
set EXE=%SRC:.cpp=.exe%
4+
set EXE=%EXE:.c=.exe%
5+
set EXE=%EXE:test\=bin\%
6+
echo CCC %EXE%
7+
set OPT=/nologo /EHsc -I include -I test /W4 /Oy /O2 /arch:AVX2 /std:c++20 /DNDEBUG /DNOMINMAX lib/fmath.lib
8+
cl %OPT% %SRC% /Fe:%EXE%

0 commit comments

Comments
 (0)