diff options
Diffstat (limited to 'thirdparty')
-rw-r--r-- | thirdparty/Jamfile.jam | 7 | ||||
-rw-r--r-- | thirdparty/glad.jam | 4 | ||||
-rw-r--r-- | thirdparty/stb_image.c | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/thirdparty/Jamfile.jam b/thirdparty/Jamfile.jam index 06ab869..7a47589 100644 --- a/thirdparty/Jamfile.jam +++ b/thirdparty/Jamfile.jam @@ -4,6 +4,13 @@ lib glad : gl.xml : <cflags>-fPIC <warnings>off <warnings-as-errors>off + <glad.version>3.3 + ; +lib stb : stb_image.c : + <link>static + <cflags>-fPIC + <warnings>off + <warnings-as-errors>off ; lib imguisdl2 : diff --git a/thirdparty/glad.jam b/thirdparty/glad.jam index f89750c..12e9011 100644 --- a/thirdparty/glad.jam +++ b/thirdparty/glad.jam @@ -4,8 +4,8 @@ import toolset : flags ; generators.register-standard glad.generate.c : XML : C(%) H(glad/%) XML ; feature glad.pythonpath : thirdparty/glad : path ; -feature glad.profile : core compatibility ; -feature glad.version : 4.6 ; +feature glad.profile : core compatibility : symmetric ; +feature glad.version : 4.6 4.5 4.4 4.3 4.2 4.1 4.0 3.3 3.2 3.1 3.0 2.1 2.0 1.5 1.4 1.3 1.2 1.1 1.0 : symmetric ; flags glad.generate.c PYTHONPATH <glad.pythonpath> ; flags glad.generate.c PROFILE <glad.profile> ; flags glad.generate.c VERSION <glad.version> ; diff --git a/thirdparty/stb_image.c b/thirdparty/stb_image.c new file mode 100644 index 0000000..38c72e9 --- /dev/null +++ b/thirdparty/stb_image.c @@ -0,0 +1,2 @@ +#define STB_IMAGE_IMPLEMENTATION +#include "stb/stb_image.h" |