Browse Source
Note that this required modifying Ogre for https://github.com/OGRECave/ogre-next/pull/186, which hasn't been merged yet. Unfortunately, I need to build relative to GameLib, because there are way too many relative paths that depend on Cakelisp's current working directory. I don't know yet how I would like to solve this.master
5 changed files with 23 additions and 3 deletions
@ -0,0 +1,9 @@ |
|||
#!/bin/sh |
|||
|
|||
# Note that we everything build relative to GameLib, because GameLib isn't relocatable yet |
|||
|
|||
cd Dependencies/gamelib && ./Build_Debug.sh #|| exit $? TODO Uncomment after restart |
|||
CAKELISP=./Dependencies/cakelisp/bin/cakelisp |
|||
# After relocation, this will be able to be simply . |
|||
KITTY_DIR=../.. |
|||
$CAKELISP --execute $KITTY_DIR/src/Main.cake || exit $? |
@ -1 +1 @@ |
|||
Subproject commit af35b040cf8b830575f2240f900ac782de08b048 |
|||
Subproject commit 9151effffed592173077afb0f3c9540d290aa444 |
Binary file not shown.
@ -1,5 +1,16 @@ |
|||
(comptime-define-symbol 'Unix) |
|||
|
|||
;; Until GameLib is relocatable, we will build from it |
|||
;; (add-cakelisp-search-directory "Dependencies/gamelib/src") |
|||
;; (set-cakelisp-option cakelisp-src-dir "Dependencies/gamelib/Dependencies/cakelisp/src") |
|||
;; (add-cakelisp-search-directory "Dependencies/gamelib/Dependencies/cakelisp/runtime") |
|||
(add-cakelisp-search-directory "src") |
|||
|
|||
(c-import "<stdio.h>") |
|||
|
|||
(import "SDL.cake") |
|||
|
|||
(defun main (&return int) |
|||
(printf "Hello, Kitty Gridlock!\n") |
|||
(test--sdl-main) |
|||
(return 0)) |
|||
|
Loading…
Reference in new issue