From d5ddadf3d6b46bc50b69caee59a3f320959c8488 Mon Sep 17 00:00:00 2001 From: arun3688 Date: Wed, 23 Sep 2026 14:51:46 +0200 Subject: [PATCH] remove Leftover from the old C++/ImGui OMSimulatorGui prototype --- CMakeLists.txt | 29 ----------------------------- cmake/standalone.cmake | 1 - 2 files changed, 30 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 426c8432..5ed22ef9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -171,35 +171,6 @@ message(STATUS "##### 3rdParty CTPL") add_subdirectory(CTPL EXCLUDE_FROM_ALL) add_library(oms::3rd::ctpl::header ALIAS ctpl_header_only) -######################################################################### -## Dear ImGui. -if (OMS_ENABLE_OMSimulatorGui) - message(STATUS "##### 3rdParty Dear ImGui") - add_subdirectory(imgui EXCLUDE_FROM_ALL) - add_library(oms::3rd::imgui ALIAS imgui) -endif () - -######################################################################### -## GLFW. -if (OMS_ENABLE_OMSimulatorGui) - message(STATUS "##### 3rdParty GLFW") - set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE) - set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE) - set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) - set(GLFW_BUILD_WAYLAND OFF CACHE BOOL "" FORCE) - - add_subdirectory(glfw EXCLUDE_FROM_ALL) - add_library(oms::3rd::GLFW ALIAS glfw) -endif () - -######################################################################### -## tinyfiledialogs. -if (OMS_ENABLE_OMSimulatorGui) - message(STATUS "##### 3rdParty tinyfiledialogs") - add_subdirectory(tinyfd EXCLUDE_FROM_ALL) - add_library(oms::3rd::tinyfd ALIAS tinyfd) -endif () - ######################################################################### ## nlohmann/json message(STATUS "##### 3rdParty nlohmann/json") diff --git a/cmake/standalone.cmake b/cmake/standalone.cmake index 9a331fb3..95ffd3e9 100644 --- a/cmake/standalone.cmake +++ b/cmake/standalone.cmake @@ -18,7 +18,6 @@ # OPENMODELICA_NEW_CMAKE_BUILD is deliberately left undefined: standalone we are # not part of the OpenModelica superproject, so 3rdParty configures its own # SUNDIALS, exactly like a standalone OMSimulator build does. -option(OMS_ENABLE_OMSimulatorGui "Enable OMSimulator GUI component" OFF) set(CMAKE_CXX_STANDARD 17) set(CXX_STANDARD_REQUIRED ON)