Browse Source

Fix Loader via Cakelisp update

* Update Cakelisp for proper executable copy procedure
* Use C linkage only because HotReloadingCodeModifier imports
HotReloading.cake with C linkage. If it didn't it could be removed
pitch-detection
Macoy Madson 3 years ago
parent
commit
5684cc8cfd
  1. 2
      Dependencies/cakelisp
  2. 8
      test/src/Loader.cake

2
Dependencies/cakelisp

@ -1 +1 @@
Subproject commit 48f2aac251bb7236758a318856536ff02c02eaeb
Subproject commit 856dc37aea01812f08227e06f486b037251eb774

8
test/src/Loader.cake

@ -1,5 +1,11 @@
;; Export libraries included? Only if static linked
;; (set-cakelisp-option use-c-linkage true)
;; Make sure HotReloading.cake interface can be found by lib
;; TODO: This shouldn't be necessary because the loader can find C++ mangled types for us. I only
;; have to do this here because HotReloadingCodeModifier imports the header with c-linkage on
;; I would need an option to disable c linkage on that file in order to make it work
(set-cakelisp-option use-c-linkage true)
(add-build-config-label "HotLoader")
(set-cakelisp-option executable-output "test/Loader")

Loading…
Cancel
Save