summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-06-24 23:49:43 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-06-24 23:49:43 +0100
commit6cd132b9740af30c41f478cf73d41b0a10399945 (patch)
treefc508483565f98e94e1fc460ad8601efb60d4e0b
parentUse shared installed libraries explicitly (diff)
downloadilt-6cd132b9740af30c41f478cf73d41b0a10399945.tar.bz2
ilt-6cd132b9740af30c41f478cf73d41b0a10399945.tar.xz
ilt-6cd132b9740af30c41f478cf73d41b0a10399945.zip
Build ImGui as a static library
-rw-r--r--thirdparty/Jamfile.jam6
1 files changed, 5 insertions, 1 deletions
diff --git a/thirdparty/Jamfile.jam b/thirdparty/Jamfile.jam
index 2a91a0b..06ab869 100644
--- a/thirdparty/Jamfile.jam
+++ b/thirdparty/Jamfile.jam
@@ -11,8 +11,12 @@ lib imguisdl2 :
imgui/backends/imgui_impl_sdl2.cpp
imgui/backends/imgui_impl_opengl3.cpp
:
+ <link>static
<include>imgui
- <library>..//sdl2
+ <use>..//sdl2
+ <cflags>-fPIC
+ <warnings>off
+ <warnings-as-errors>off
: :
<include>imgui
;