|
|
@ -1,8 +1,12 @@ |
|
|
|
(set-cakelisp-option cakelisp-src-dir "Dependencies/cakelisp/src") |
|
|
|
(set-cakelisp-option executable-output "test/SDLOgreApp") |
|
|
|
|
|
|
|
(import "../src/OgreCore.cake" |
|
|
|
"../src/SDL.cake") |
|
|
|
|
|
|
|
(c-import "SDL.h" "SDL_syswm.h" "SDL_timer.h") |
|
|
|
;; TODO: Somehow inherit this from SDL.cake? |
|
|
|
(module-use-sdl-build-options) |
|
|
|
|
|
|
|
(defun main (&return int) |
|
|
|
(var window (* SDL_Window) nullptr) |
|
|
@ -70,8 +74,3 @@ |
|
|
|
(when exit-reason |
|
|
|
(printf "Exit reason: %s\n" exit-reason)) |
|
|
|
(return 0)) |
|
|
|
|
|
|
|
(set-cakelisp-option executable-output "test/SDLOgreApp") |
|
|
|
|
|
|
|
;; TODO: Somehow inherit this from SDL.cake? |
|
|
|
(module-use-sdl-build-options) |
|
|
|