Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion cmake/standalone.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Loading