Skip to content
Snippets Groups Projects
Commit e5af0216 authored by Amorilia's avatar Amorilia
Browse files

Add build script.

parent 0c9c40a7
No related branches found
No related tags found
Loading
......@@ -2,3 +2,4 @@
*.h text
CMakeLists.txt text
*.sh eol=lf
*.bat eol=crlf
:: batch script for Windows build
@echo off
if "%cd%\" == "%~dp0" (
echo Please call the script from your build folder, for instance:
echo.
echo cd ..
echo mkdir build
echo ..\niflib\build.bat
echo.
pause
exit /b 1
)
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release %~dp0
nmake
nmake package
nmake package_source
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment