From 90acaab22edcd74fbef06f1f69d0a4bfb816c629 Mon Sep 17 00:00:00 2001 From: Macoy Madson Date: Sun, 15 Nov 2020 20:10:29 -0800 Subject: [PATCH] SDLApp: Moved things around a bit --- test/SDLOgreApp.cake | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/SDLOgreApp.cake b/test/SDLOgreApp.cake index 46fa808..c4fe371 100644 --- a/test/SDLOgreApp.cake +++ b/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)