ScrapHacks/ScrapHacks/build.bat
Daniel Seiller 7afdfb5869 Lots of changes, expand to read
- Add notes folder with MDBook documentation (the NOTES.md file was getting kind of large)
- Add rz_analyze.py, does the same a r2_analyze.py just with Rizin instead of radare2 so the project can be loaded in Cutter (*and* it's faster)
- Add Scrap.rzdb, Rizin database for the Scrap.exe executable
- Add Scrapper_rs, Rust version of .packed extractor and repacker
- replace helplib.txt with helplib.md
- add Py_Docs folder which contains generated documentation for the binary python modules built into Scrap.exe
2021-01-20 23:53:14 +01:00

21 lines
No EOL
452 B
Batchfile

@echo off
setlocal
set SCRAPLAND_DIR=%1
if "%VSINSTALLDIR%"=="" (
for /f "usebackq tokens=*" %%i in (`vswhere -latest -find **\vcvarsall.bat`) do (
call "%%i" x86
)
)
if "%VSINSTALLDIR%"=="" (
echo "VSINSTALLDIR" not set something is wrong!
exit
) else (
if not exist build cmake -G"NMake Makefiles" -B build
if "%2"=="--run" (
cmake --build build --target run
) else (
cmake --build build --target install
)
)
:END
endlocal