Exclude DDS-dependent plugins from release scope
- GuiPluginInterface depends on LtsWidgets (DDS dependencies) - HlaJson plugin includes DDS/Core headers - UAS plugin has CycloneDDS dependencies - All excluded from release scope builds Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2 files changed
+5
-1
No files matched your search
@@ -15,12 +15,14 @@ TARGET_INCLUDE_DIRECTORIES(DataPluginInterface PUBLIC ${CMAKE_CURRENT_SOURCE_DIR
|
|||||||
TARGET_LINK_LIBRARIES(DataPluginInterface PUBLIC Qt6::Core)
|
TARGET_LINK_LIBRARIES(DataPluginInterface PUBLIC Qt6::Core)
|
||||||
|
|
||||||
# GuiPluginInterface
|
# GuiPluginInterface
|
||||||
|
IF(NOT RELEASE_BUILD)
|
||||||
ADD_LIBRARY(GuiPluginInterface SHARED
|
ADD_LIBRARY(GuiPluginInterface SHARED
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/gui_plugin_interface.h
|
${CMAKE_CURRENT_SOURCE_DIR}/gui_plugin_interface.h
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/gui_plugin_interface.cpp
|
${CMAKE_CURRENT_SOURCE_DIR}/gui_plugin_interface.cpp
|
||||||
)
|
)
|
||||||
TARGET_INCLUDE_DIRECTORIES(GuiPluginInterface PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/..)
|
TARGET_INCLUDE_DIRECTORIES(GuiPluginInterface PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/..)
|
||||||
TARGET_LINK_LIBRARIES(GuiPluginInterface PUBLIC Qt6::Core LtsWidgets ProjectConfig LtsAppDescriptor LtsUtilsCore)
|
TARGET_LINK_LIBRARIES(GuiPluginInterface PUBLIC Qt6::Core LtsWidgets ProjectConfig LtsAppDescriptor LtsUtilsCore)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
# projectPluginInterface
|
# projectPluginInterface
|
||||||
ADD_LIBRARY(ProjectPluginInterface SHARED
|
ADD_LIBRARY(ProjectPluginInterface SHARED
|
||||||
|
|||||||
@@ -21,7 +21,9 @@ ENDIF()
|
|||||||
|
|
||||||
IF (BUILD_SV AND DEFINED _pname)
|
IF (BUILD_SV AND DEFINED _pname)
|
||||||
IF ("${_pname}" STREQUAL "guez")
|
IF ("${_pname}" STREQUAL "guez")
|
||||||
|
IF(NOT RELEASE_BUILD)
|
||||||
ADD_SUBDIRECTORY(HlaJson)
|
ADD_SUBDIRECTORY(HlaJson)
|
||||||
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
@@ -39,6 +41,6 @@ ENDIF()
|
|||||||
|
|
||||||
|
|
||||||
OPTION(BUILD_UAS_PROXY "Build the UAS TAB Plugin (default: OFF) [needs BUILD_SV = ON and UNIX-like OS]" OFF) # TODO: use 'pname = guez' if done
|
OPTION(BUILD_UAS_PROXY "Build the UAS TAB Plugin (default: OFF) [needs BUILD_SV = ON and UNIX-like OS]" OFF) # TODO: use 'pname = guez' if done
|
||||||
if (BUILD_SV AND BUILD_UAS_PROXY AND NOT WIN32)
|
if (BUILD_SV AND BUILD_UAS_PROXY AND NOT WIN32 AND NOT RELEASE_BUILD)
|
||||||
add_subdirectory(UAS)
|
add_subdirectory(UAS)
|
||||||
endif()
|
endif()
|
||||||
Reference in new issue
Block a user