mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-05 04:28:47 +02:00
CI: Add unity builds test. (#2893)
This commit is contained in:
@ -4,11 +4,16 @@
|
||||
#
|
||||
|
||||
EXE = example_null
|
||||
SOURCES = main.cpp
|
||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp ../../imgui_widgets.cpp
|
||||
EXTRA_WARNINGS ?= 0
|
||||
UNITY_BUILD ?= 0
|
||||
ifeq ($(UNITY_BUILD), 1)
|
||||
SOURCES = unity_build.cpp
|
||||
else
|
||||
SOURCES = main.cpp
|
||||
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp ../../imgui_widgets.cpp
|
||||
endif
|
||||
OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))
|
||||
UNAME_S := $(shell uname -s)
|
||||
EXTRA_WARNINGS ?= 0
|
||||
|
||||
CXXFLAGS = -I../ -I../../
|
||||
CXXFLAGS += -g -Wall -Wformat
|
||||
|
Reference in New Issue
Block a user