diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-31 01:09:51 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-31 01:14:53 +0100 |
commit | 9ee03ef4813eaaf6e5098efac41daf8169fcee0e (patch) | |
tree | 4d82031604d68458f4a1b347cee8dab5f9cd1bd7 | |
parent | Remove explicit library referring to imguisdl2 (diff) | |
download | ilt-9ee03ef4813eaaf6e5098efac41daf8169fcee0e.tar.bz2 ilt-9ee03ef4813eaaf6e5098efac41daf8169fcee0e.tar.xz ilt-9ee03ef4813eaaf6e5098efac41daf8169fcee0e.zip |
Add lunasvg (and plutovg)
This is the SVG library used by ImGui, so makes sense a choice even if
we're not using it there yet.
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | thirdparty/Jamfile.jam | 12 | ||||
m--------- | thirdparty/lunasvg | 0 |
3 files changed, 15 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 63a1a38..b5aa2c7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "thirdparty/imgui"] path = thirdparty/imgui url = https://github.com/ocornut/imgui +[submodule "thirdparty/lunasvg"] + path = thirdparty/lunasvg + url = https://github.com/sammycage/lunasvg diff --git a/thirdparty/Jamfile.jam b/thirdparty/Jamfile.jam index b6ed163..26497c9 100644 --- a/thirdparty/Jamfile.jam +++ b/thirdparty/Jamfile.jam @@ -28,3 +28,15 @@ lib imguisdl2 : : : <include>imgui ; + +lib lunasvg : + [ glob lunasvg/source/*.cpp lunasvg/plutovg/source/*.c ] + : + <link>static + <include>lunasvg/include + <include>lunasvg/plutovg/include + <warnings>off + <cflags>-fPIC + : : + <include>lunasvg/include + ; diff --git a/thirdparty/lunasvg b/thirdparty/lunasvg new file mode 160000 +Subproject f8aabfb444bb37f69df7290790f57e4a27730a9 |