a7f3c463be48 — Leonard Ritter 2 years ago
* updates for project mode
3 files changed, 6 insertions(+), 9 deletions(-)

M _project.sc
M lib/tukan/core.sc
M lib/tukan/sdl.sc
M _project.sc +2 -1
@@ 1,3 1,4 @@ 
-
+if console?
+    print "console launched"
 import .lib.tukan.use
 

          
M lib/tukan/core.sc +3 -6
@@ 1,11 1,8 @@ 
 
 using import .globals
 
-if (operating-system == 'windows)
-    load-library
-        find-library "tukan_core.dll"
-else
-    load-library
-        find-library "libtukan_core.so"
+project-library
+    static-if (operating-system == 'windows) "tukan_core.dll"
+    else "libtukan_core.so"
 
 none

          
M lib/tukan/sdl.sc +1 -2
@@ 4,8 4,7 @@ using import .globals
 if (operating-system == 'windows)
     load-library "SDL2.dll"
 else
-    load-library
-        find-library "libSDL2-2.0.so.0"
+    project-library "libSDL2-2.0.so.0"
 
 run-stage;