forked from shodanium/freq
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmk.cmd
More file actions
35 lines (26 loc) · 1.61 KB
/
mk.cmd
File metadata and controls
35 lines (26 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
echo === building everything...
setlocal
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" 1>nul
echo === freq03.cpp
cl.exe /permissive- /GS /GL /W3 /Gy /Zc:wchar_t /Gm- /O2 /sdl /Zc:inline /fp:precise /D "_MBCS" /errorReport:prompt /WX- /Zc:forScope /Gd /Oi /MD /FC /EHsc /nologo /diagnostics:column /Fo"bin\\" /Fe"bin\freq03cpp.exe" src\freq03.cpp src\ext\windows-mmap.c
echo === freq01.cpp
cl.exe /permissive- /GS /GL /W3 /Gy /Zc:wchar_t /Gm- /O2 /sdl /Zc:inline /fp:precise /D "_MBCS" /errorReport:prompt /WX- /Zc:forScope /Gd /Oi /MD /FC /EHsc /nologo /diagnostics:column /Fo"bin\\" /Fe"bin\freq01cpp.exe" src\freq01.cpp src\ext\windows-mmap.c
echo === freq02.cpp
cl.exe /permissive- /GS /GL /W3 /Gy /Zc:wchar_t /Gm- /O2 /sdl /Zc:inline /fp:precise /D "_MBCS" /errorReport:prompt /WX- /Zc:forScope /Gd /Oi /MD /FC /EHsc /nologo /diagnostics:column /Fo"bin\\" /Fe"bin\freq02cpp.exe" src\freq02.cpp src\ext\windows-mmap.c
echo === hack01.cpp
cl.exe /permissive- /GS /GL /W3 /Gy /Zc:wchar_t /Gm- /O2 /sdl /Zc:inline /fp:precise /D "_MBCS" /errorReport:prompt /WX- /Zc:forScope /Gd /Oi /MD /FC /EHsc /nologo /diagnostics:column /Fo"bin\\" /Fe"bin\hack01cpp.exe" src\hack01.cpp src\ext\windows-mmap.c
echo === freq01.go
call go build -o bin\freq01go.exe src\freq01.go
echo === freq01.rs
cd build\rust
call cargo build --release --color=never
cd ..\..
move "junk\rust\release\freq01.exe" "bin\freq01rs.exe"
echo === freq01.scala
cd build\scala
call sbt assembly
cd ..\..
move "junk\freq01scala.jar" "bin\freq01scala.jar"
echo === all done
endlocal