Skip to content

Commit 5168f6a

Browse files
Build - make ImGui-based interface optional
Interface is disabled by default
1 parent 477fc3b commit 5168f6a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/gui/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1+
option(BUILD_IMGUI_INTERFACE "Build the ImGui-based graphical interface" ON)
2+
3+
message(STATUS "ImGui Interface: ${BUILD_IMGUI_INTERFACE}")
4+
15
add_subdirectory(qt)
2-
add_subdirectory(imgui)
6+
7+
if(BUILD_IMGUI_INTERFACE)
8+
add_subdirectory(imgui)
9+
endif()

0 commit comments

Comments
 (0)