static define
This commit is contained in:
@@ -79,6 +79,7 @@
|
||||
-DRENDERER_OPENGL \
|
||||
-DWINDOW_GLFW \
|
||||
-DGUIMODULE \
|
||||
-DTESTIMGUI_STATIC \
|
||||
-I src -I include -I $imgui -I . \
|
||||
-lGL -lglfw -lGLEW \
|
||||
-Wall \
|
||||
|
||||
@@ -17,9 +17,12 @@ class TestImgui : public Archimedes::GuiModule {
|
||||
bool demo = true;
|
||||
};
|
||||
|
||||
#ifndef TESTIMGUI_STATIC
|
||||
|
||||
extern "C" {
|
||||
Archimedes::Module* create(void* handle, Archimedes::App* app) {
|
||||
return new TestImgui(handle, app);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user