#include #ifdef DOCKING #include #endif #ifdef ENABLE_TEST_ENGINE #include #endif #include int main(int, char**) { printf("IMGUI VERSION: %s\n", IMGUI_VERSION); ImGui::CreateContext(); #ifdef DOCKING printf(" with docking\n"); #endif #ifdef ENABLE_TEST_ENGINE printf(" with test engine\n"); ImGuiTestEngine *engine = ImGuiTestEngine_CreateContext(); if (engine == NULL) { printf(" Failed to create test engine context\n"); return -1; } ImGui::DestroyContext(); ImGuiTestEngine_DestroyContext(engine); #else ImGui::DestroyContext(); #endif return 0; }