Skip to content

Commit

Permalink
put output exe in bin/
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Jan 10, 2025
1 parent c5e4181 commit e760bb5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions mk.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@echo off
set OPT=/EHsc -I include -I test /W4 /Oy /O2 /arch:AVX2 /DNDEBUG /DNOMINMAX lib/fmath.lib
cl %OPT% %1%
set SRC=%1
set EXE=%SRC:.cpp=.exe%
set EXE=%EXE:.c=.exe%
set EXE=%EXE:test\=bin\%
echo CCC %EXE%
set OPT=/nologo /EHsc -I include -I test /W4 /Oy /O2 /arch:AVX2 /std:c++20 /DNDEBUG /DNOMINMAX lib/fmath.lib
cl %OPT% %SRC% /Fe:%EXE%

0 comments on commit e760bb5

Please sign in to comment.