Browse Source

Fix Demo test rebuilds

pull/272/head
falkTX 4 years ago
parent
commit
77ef4b9b31
2 changed files with 9 additions and 1 deletions
  1. +6
    -1
      tests/Demo.cpp
  2. +3
    -0
      tests/Makefile

+ 6
- 1
tests/Demo.cpp View File

@@ -239,7 +239,12 @@ class DemoWindow : public StandaloneWindow,
static const int kSidebarWidth = 81;

public:
static constexpr const char* const kExampleWidgetName = "Demo";
#ifdef DGL_CAIRO
static constexpr const char* const kExampleWidgetName = "Demo - Cairo";
#endif
#ifdef DGL_OPENGL
static constexpr const char* const kExampleWidgetName = "Demo - OpenGL";
#endif

DemoWindow(Application& app)
: StandaloneWindow(app),


+ 3
- 0
tests/Makefile View File

@@ -133,5 +133,8 @@ clean:
# ---------------------------------------------------------------------------------------------------------------------

-include $(OBJS:%.o=%.d)
-include ../build/tests/Demo.cpp.cairo.d
-include ../build/tests/Demo.cpp.opengl.d
-include ../build/tests/Demo.cpp.vulkan.d

# ---------------------------------------------------------------------------------------------------------------------

Loading…
Cancel
Save