diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-07-24 00:09:16 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2023-12-15 23:06:16 -0600 |
commit | 51de02c51f06bda67c40474d148e21d4717ba086 (patch) | |
tree | c6f035f4b8f2e085082b24b5d1f2554fa5418b65 /3rd-party/nanosvg/premake4.lua | |
parent | 423f7dc6990b1cb5afde95f8383c44b1a4dce16a (diff) | |
download | wbg-51de02c51f06bda67c40474d148e21d4717ba086.tar.gz |
svg: initial support for SVG images, using nanosvg
Diffstat (limited to '3rd-party/nanosvg/premake4.lua')
-rw-r--r-- | 3rd-party/nanosvg/premake4.lua | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/3rd-party/nanosvg/premake4.lua b/3rd-party/nanosvg/premake4.lua new file mode 100644 index 0000000..8befd82 --- /dev/null +++ b/3rd-party/nanosvg/premake4.lua @@ -0,0 +1,56 @@ + +local action = _ACTION or "" + +solution "nanosvg" + location ( "build" ) + configurations { "Debug", "Release" } + platforms {"native", "x64", "x32"} + + project "example1" + kind "ConsoleApp" + language "C++" + files { "example/example1.c", "example/*.h", "src/*.h" } + includedirs { "example", "src" } + targetdir("build") + + configuration { "linux" } + links { "X11","Xrandr", "rt", "GL", "GLU", "pthread", "glfw" } + + configuration { "windows" } + links { "glu32","opengl32", "gdi32", "winmm", "user32" } + + configuration { "macosx" } + links { "glfw3" } + linkoptions { "-framework OpenGL", "-framework Cocoa", "-framework IOKit", "-framework CoreVideo" } + + configuration "Debug" + defines { "DEBUG" } + flags { "Symbols", "ExtraWarnings"} + + configuration "Release" + defines { "NDEBUG" } + flags { "Optimize", "ExtraWarnings"} + + project "example2" + kind "ConsoleApp" + language "C++" + files { "example/example2.c", "example/*.h", "src/*.h" } + includedirs { "example", "src" } + targetdir("build") + + configuration { "linux" } + links { "X11","Xrandr", "rt", "pthread" } + + configuration { "windows" } + links { "winmm", "user32" } + + configuration { "macosx" } + linkoptions { "-framework Cocoa", "-framework IOKit" } + + configuration "Debug" + defines { "DEBUG" } + flags { "Symbols", "ExtraWarnings"} + + configuration "Release" + defines { "NDEBUG" } + flags { "Optimize", "ExtraWarnings"} |