diff --git a/Build.bat b/Build.bat new file mode 100644 index 0000000..a00df5f --- /dev/null +++ b/Build.bat @@ -0,0 +1,29 @@ +cd Dependencies\cakelisp +call Build.bat +@if %ERRORLEVEL% == 0 ( + echo Successfully built Cakelisp + goto user +) else ( + echo Error while building cakelisp + goto fail +) + +:user +cd ../../ +"Dependencies\cakelisp\bin\cakelisp.exe" src/Config_Windows.cake src/Presentation.cake +@if %ERRORLEVEL% == 0 ( + echo Success! + goto success +) else ( + echo Error while building user program + goto fail +) + +:fail +goto end + +:success +goto end + +:end +exit /B %ERRORLEVEL% diff --git a/src/Config_Windows.cake b/src/Config_Windows.cake new file mode 100644 index 0000000..95e756c --- /dev/null +++ b/src/Config_Windows.cake @@ -0,0 +1,5 @@ +(comptime-define-symbol 'Windows) + +;; Debug +(add-build-options-global "/Zi") +(add-linker-options "/DEBUG")