mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-27 16:29:02 +08:00
project update
This commit is contained in:
parent
56bb993d63
commit
e3001fb986
@ -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
libimgui.pro
Normal file
20
libimgui.pro
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user