Browse Source

Add Windows build

master
Macoy Madson 3 months ago
parent
commit
991835529b
  1. 29
      Build.bat
  2. 5
      src/Config_Windows.cake

29
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%

5
src/Config_Windows.cake

@ -0,0 +1,5 @@
(comptime-define-symbol 'Windows)
;; Debug
(add-build-options-global "/Zi")
(add-linker-options "/DEBUG")
Loading…
Cancel
Save