Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gui/ConfigHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#define GUI_CONFIGHELPER_H

#include <optional>
#include <sstream>
#include <string>
#include "DriverHelper.h"

namespace ConfigHelper {
Expand Down
2 changes: 2 additions & 0 deletions gui/CustomCurve.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include "CustomCurve.h"

#include <algorithm>
#include <sstream>
#include <string>
#include <vector>

#include "DriverHelper.h"
Expand Down
12 changes: 10 additions & 2 deletions gui/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Define the compiler and flags
CXX = g++
CXX ?= g++
CXXFLAGS = -std=c++17 -I . -isystem External

# ImPlot has few of these
IMGUIFLAGS = -Wformat=0 -Wno-format-security
ifneq (,$(findstring clang,$(CXX)))
# ImGui produces many of these
IMGUIFLAGS += -Wno-nontrivial-memcall
endif

WARNFLAGS = -Wall -Wno-sign-compare
OPTIMIZATION_FLAGS = -O2 -flto=auto
DEBUG_FLAGS = -g -O0
Expand Down Expand Up @@ -45,7 +53,7 @@ $(TARGET): $(OBJECTS)

# Rule to build the object files for ImGui source files
External/ImGui/%.o: External/ImGui/%.cpp
$(CXX) $(CXXFLAGS) $(GLFW_CFLAGS) $(OPTIMIZATION_FLAGS) -c $< -o $@
$(CXX) $(CXXFLAGS) $(GLFW_CFLAGS) $(OPTIMIZATION_FLAGS) $(IMGUIFLAGS) -c $< -o $@

.PHONY: all check_deps clean clean-all debug

Expand Down
Loading