Skip to content

Commit 74ce371

Browse files
committed
(Hopefully...) speeding up compilation.
1 parent 6185f19 commit 74ce371

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

BrotBoxEngine/BBE/BrotBoxEngine.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include "../BBE/Window.h"
4444

4545
#include "imgui.h"
46+
#define IMPLOT_NO_FORCE_INLINE
4647
#include "implot.h"
4748

4849
#ifdef BBE_RENDERER_VULKAN

BrotBoxEngine/OpenGL/OpenGLManager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "imgui.h"
44
#include "imgui_impl_glfw.h"
55
#include "imgui_impl_opengl3.h"
6+
#define IMPLOT_NO_FORCE_INLINE
67
#include "implot.h"
78
#include "BBE/FatalErrors.h"
89
#include "BBE/Rectangle.h"

Third-Party/implot-0.17/implot.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ You can read releases logs https://github.com/epezent/implot/releases for more d
129129
#ifndef IMGUI_DEFINE_MATH_OPERATORS
130130
#define IMGUI_DEFINE_MATH_OPERATORS
131131
#endif
132+
#define IMPLOT_NO_FORCE_INLINE
132133
#include "implot.h"
133134
#ifndef IMGUI_DISABLE
134135
#include "implot_internal.h"

Third-Party/implot-0.17/implot_demo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#define IMPLOT_DISABLE_OBSOLETE_FUNCTIONS
2929
#endif
3030

31+
#define IMPLOT_NO_FORCE_INLINE
3132
#include "implot.h"
3233
#ifndef IMGUI_DISABLE
3334
#include <math.h>

Third-Party/implot-0.17/implot_items.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#ifndef IMGUI_DEFINE_MATH_OPERATORS
2727
#define IMGUI_DEFINE_MATH_OPERATORS
2828
#endif
29+
#define IMPLOT_NO_FORCE_INLINE
2930
#include "implot.h"
3031
#ifndef IMGUI_DISABLE
3132
#include "implot_internal.h"

0 commit comments

Comments
 (0)