@@ -161,6 +161,12 @@
#include <stdio.h> // vsnprintf
#include <string.h> // memset
+#ifdef __GNUC__
+ #include <limits.h>
+ #include <stdint.h>
+#endif
+
#ifdef _MSC_VER
#pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen
#endif
@@ -0,0 +1,20 @@
+TEMPLATE = lib
+CONFIG += static
+CONFIG -= app_bundle
+CONFIG -= qt
+CONFIG -= warn_on
+CONFIG(release, debug|release) {
+ TARGET = imgui
+}
+CONFIG(debug, debug|release) {
+ TARGET = imgui-dbg
+SOURCES += \
+ imgui.cpp
+HEADERS += \
+ imgui.h \
+ imconfig.h