# HG changeset patch # User Leonard Ritter # Date 1647765102 -3600 # Sun Mar 20 09:31:42 2022 +0100 # Node ID a7f3c463be4877816ece6c5c17370f1ff369df81 # Parent 080be51259ec1cd549eea62e317c2c1f60149bfd * updates for project mode diff --git a/_project.sc b/_project.sc --- a/_project.sc +++ b/_project.sc @@ -1,3 +1,4 @@ - +if console? + print "console launched" import .lib.tukan.use diff --git a/lib/tukan/core.sc b/lib/tukan/core.sc --- a/lib/tukan/core.sc +++ b/lib/tukan/core.sc @@ -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 diff --git a/lib/tukan/sdl.sc b/lib/tukan/sdl.sc --- a/lib/tukan/sdl.sc +++ b/lib/tukan/sdl.sc @@ -4,8 +4,7 @@ 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;