|
3 | 3 | using BinaryBuilder, Pkg |
4 | 4 |
|
5 | 5 | name = "CImPlot3D" |
6 | | -version = v"0.4.0" # tracking implot3d release tags |
| 6 | +# We try to track implot3d release tags, with the occasional patch bump if a |
| 7 | +# rebuild is needed for e.g. a new CImGuiPack_jll version. |
| 8 | +version = v"0.4.1" |
7 | 9 |
|
8 | 10 | # Sources required to build CImPlot3D |
9 | 11 | sources = [ |
10 | 12 | # cimplot3d ships the C wrapper; implot3d is its git submodule pinned at a |
11 | 13 | # SHA that matches the wrapper's generated bindings (currently v0.4 of |
12 | 14 | # implot3d). A recursive submodule init in the script keeps them locked. |
13 | 15 | GitSource("https://github.com/cimgui/cimplot3d.git", |
14 | | - "8c1c16e98fdddc4b3ee78bf0f89e0dd708be79e0"), |
| 16 | + "8d04820c009357e791e30a004e410c6eb98522d1"), |
15 | 17 |
|
16 | 18 | # cimplot3d's generator does `require"cpp2ffi"` and a `dofile` of cimgui's |
17 | | - # generator output, expecting cimgui as a sibling directory. Pinned to the |
18 | | - # SAME cimgui SHA that CImGuiPack_jll 0.12's libcimgui submodule is built |
19 | | - # from, so the C struct types referenced by the generated cimplot3d.cpp |
20 | | - # match the layout inside libcimgui at runtime. |
| 19 | + # generator output, expecting cimgui as a sibling directory. Usually pinned |
| 20 | + # to the same cimgui SHA that CImGuiPack_jll's libcimgui submodule is built |
| 21 | + # from. Currently one commit ahead to get this patch: |
| 22 | + # https://github.com/cimgui/cimgui/pull/326 |
21 | 23 | GitSource("https://github.com/cimgui/cimgui.git", |
22 | | - "1261b231939fc210032f30c4ee8a8f0440372237"), |
| 24 | + "700140771a12e61f4bb851fb4e2d885f04b32dd9"), |
23 | 25 |
|
24 | 26 | # Bundled CMakeLists.txt that links against CImGuiPack_jll's exported |
25 | 27 | # cimgui::cimgui target rather than rebuilding imgui sources locally — |
@@ -81,7 +83,7 @@ products = [ |
81 | 83 | ] |
82 | 84 |
|
83 | 85 | dependencies = [ |
84 | | - Dependency("CImGuiPack_jll"; compat="0.12.1"), |
| 86 | + Dependency("CImGuiPack_jll"; compat="0.13.1"), |
85 | 87 | HostBuildDependency("LuaJIT_jll"), |
86 | 88 | ] |
87 | 89 |
|
|
0 commit comments