Browse Source

project update

Sepehr Taghdisian 11 years ago
parent
commit
e3001fb986
2 changed files with 26 additions and 0 deletions
  1. 6 0
      imgui.cpp
  2. 20 0
      libimgui.pro

+ 6 - 0
imgui.cpp

@@ -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

+ 20 - 0
libimgui.pro

@@ -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