Browse Source

SDLApp: Moved things around a bit

pitch-detection
Macoy Madson 3 years ago
parent
commit
90acaab22e
  1. 9
      test/SDLOgreApp.cake

9
test/SDLOgreApp.cake

@ -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)

Loading…
Cancel
Save