Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fda0 committed Mar 30, 2022
0 parents commit f7bfc3e
Show file tree
Hide file tree
Showing 6 changed files with 9,043 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@echo off

set BaseFile1="task1.cpp"
set MsvcLinkFlags=-incremental:no -opt:ref -machine:x64 -manifest:no
set MsvcCompileFlags=-Zi -Zo -Gy -GF -GR- -EHs- -EHc- -EHa- -WX -W4 -nologo -FC -diagnostics:column -fp:except- -fp:fast -wd4100 -wd4189 -wd4201 -wd4505 -wd4996 -arch:AVX

set ClangCompileFlags=-Wno-missing-braces -Wno-writable-strings -Wno-unused-function -mavx


echo -----------------
echo ---- Building debug (task 1):
call cl -Fetask1_debug_msvc.exe -Od %MsvcCompileFlags% %BaseFile1% /link %MsvcLinkFlags% -RELEASE
call clang-cl -Fetask1_debug_clang.exe -Od %MsvcCompileFlags% %ClangCompileFlags% %BaseFile1% /link %MsvcLinkFlags% -RELEASE

echo -----------------
echo ---- Building release (task 1):
call cl -Fetask1_release_msvc.exe -Oi -Oxb2 -O2 %CLCompileFlags% %BaseFile1% /link %CLLinkFlags% -RELEASE
call clang-cl -Fetask1_release_clang.exe -Oi -Oxb2 -O2 %MscvCompileFlags% %ClangCompileFlags% %BaseFile1% /link %MsvcLinkFlags% -RELEASE
Binary file added image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added image_odd_size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f7bfc3e

Please sign in to comment.