Skip to content
Open
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
10 changes: 4 additions & 6 deletions ApplicationLibCode/Automation/CMakeLists_files.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
set(SOURCE_GROUP_HEADER_FILES
${CMAKE_CURRENT_LIST_DIR}/RiaAutomationServer.h
${CMAKE_CURRENT_LIST_DIR}/RiaAutomationJson.h
set(SOURCE_GROUP_HEADER_FILES ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationServer.h
${CMAKE_CURRENT_LIST_DIR}/RiaAutomationJson.h
)

set(SOURCE_GROUP_SOURCE_FILES
${CMAKE_CURRENT_LIST_DIR}/RiaAutomationServer.cpp
${CMAKE_CURRENT_LIST_DIR}/RiaAutomationJson.cpp
set(SOURCE_GROUP_SOURCE_FILES ${CMAKE_CURRENT_LIST_DIR}/RiaAutomationServer.cpp
${CMAKE_CURRENT_LIST_DIR}/RiaAutomationJson.cpp
)

list(APPEND CODE_HEADER_FILES ${SOURCE_GROUP_HEADER_FILES})
Expand Down
13 changes: 9 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,17 @@ endif()
# UI Automation server (Qt HTTP Server)
# ##############################################################################

option(RESINSIGHT_ENABLE_UI_AUTOMATION
"Enable the localhost UI automation HTTP server (requires Qt6::HttpServer)"
OFF
option(
RESINSIGHT_ENABLE_UI_AUTOMATION
"Enable the localhost UI automation HTTP server (requires Qt6::HttpServer)"
OFF
)
if(RESINSIGHT_ENABLE_UI_AUTOMATION)
find_package(Qt6 COMPONENTS HttpServer REQUIRED)
find_package(
Qt6
COMPONENTS HttpServer
REQUIRED
)
add_definitions(-DENABLE_UI_AUTOMATION)
message(STATUS "UI automation server enabled (Qt6::HttpServer)")
endif()
Expand Down