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
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ find_library(
/opt/local/lib64
REQUIRED
)
message("IIO LIBRARIES: " ${IIO_LIBRARIES})
message(STATUS "IIO LIBRARIES: " ${IIO_LIBRARIES})

if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(SCOPY_DLL_BUILD_PATH ${CMAKE_BINARY_DIR}/Scopy.app/Contents/Frameworks)
Expand Down
3 changes: 1 addition & 2 deletions ci/ubuntu/ubuntu_build_process.sh
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,7 @@ build_scopy() {
ls -la $SRC_DIR
pushd $SRC_DIR
CURRENT_BUILD_CMAKE_OPTS="\
-DENABLE_PLUGIN_TEST=ON \
-DENABLE_TESTING=ON
-DENABLE_ALL_PACKAGES=ON
"
build_with_cmake OFF
popd
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/FindQwt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if(QWT_INCLUDE_DIRS)
if(NOT QWT_WRONG_VERSION)
set(QWT_FOUND TRUE)
else(NOT QWT_WRONG_VERSION)
message(STATUS "QWT Version must be >= 5.2 and <= 6.2.0, Found ${QWT_VERSION}")
message(NOTICE "QWT Version must be >= 5.2 and <= 6.2.0, Found ${QWT_VERSION}")
endif(NOT QWT_WRONG_VERSION)

endif(QWT_INCLUDE_DIRS)
Expand Down
22 changes: 13 additions & 9 deletions cmake/Modules/PackageUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function(add_subdirectories_with_options base_dir output_dir prefix)
file(GLOB CHILDREN RELATIVE ${base_dir} ${base_dir}/*)

foreach(child ${CHILDREN})
message("")
if(IS_DIRECTORY ${base_dir}/${child})
string(TOUPPER ${child} CHILD_UPPER)
set(ENABLE_CHILD_VAR "${prefix}_${CHILD_UPPER}")
Expand All @@ -34,7 +35,7 @@ function(add_subdirectories_with_options base_dir output_dir prefix)
endif()

if(${ENABLE_CHILD_VAR})
message(STATUS "Including ${prefix}: ${child}")
message(STATUS "${prefix}: ${child}")

# Set output directories based on platform
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
Expand All @@ -46,10 +47,11 @@ function(add_subdirectories_with_options base_dir output_dir prefix)
if(EXISTS "${base_dir}/${child}/CMakeLists.txt")
add_subdirectory(${base_dir}/${child})
else()
message(STATUS "No CMakeLists.txt in subdirectory: ${base_dir}/${child}")
message(NOTICE "No CMakeLists.txt in subdirectory: ${base_dir}/${child}")
endif()
else()
message(STATUS "Skipping ${prefix}: ${child}")
message(STATUS "Skipping: ${child}")
message(STATUS "To enable this package use -D${ENABLE_CHILD_VAR}=ON")
endif()
endif()
endforeach()
Expand All @@ -61,9 +63,8 @@ function(enable_all base_dir enable prefix)
if(IS_DIRECTORY ${base_dir}/${child})
string(TOUPPER ${child} CHILD_UPPER)
set(ENABLE_CHILD_VAR "${prefix}_${CHILD_UPPER}")

if(NOT DEFINED ${ENABLE_CHILD_VAR})
set(${ENABLE_CHILD_VAR} ${enable} CACHE BOOL "Enable ${prefix} ${child}")
set(${ENABLE_CHILD_VAR} ${enable} CACHE BOOL "Enable ${prefix} ${child}" FORCE)
endif()
endif()
endforeach()
Expand All @@ -83,19 +84,19 @@ endfunction()

function(include_emu_xml base_dir output_dir)
if(IS_DIRECTORY ${base_dir})
message("Found IIO Emulator XMLs in: " ${base_dir})
message(STATUS "Found IIO Emulator XMLs in: " ${base_dir})
file(GLOB EMU_FILES ${base_dir}/*)
if(EMU_FILES)
file(COPY ${EMU_FILES} DESTINATION ${output_dir})
else()
message("No emulator files found in: ${base_dir}")
message(NOTICE "No emulator files found in: ${base_dir}")
endif()
endif()
endfunction()

function(include_resources base_dir output_dir)
if(NOT EXISTS ${base_dir})
message(STATUS "Resources directory doesn't exist: ${base_dir}")
message(NOTICE "Resources directory doesn't exist: ${base_dir}")
return()
endif()
file(GLOB children RELATIVE ${base_dir} ${base_dir}/*)
Expand Down Expand Up @@ -139,7 +140,10 @@ function(install_plugins SRC_DIR INSTALL_DEST TARGET_PREFIX)
PATTERN "resources.qrc.depends" EXCLUDE
)
else()
message(STATUS "No resources to install (only resources.qrc.depends found).")
message(
NOTICE
"No resources to install for: ${plugin} (only resources.qrc.depends found)."
)
endif()
endif()
endif()
Expand Down
4 changes: 2 additions & 2 deletions cmake/Modules/ScopyAbout.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function(configure_about ABOUT_RESOURCES_DIR)
set(BUILD_INFO ${BUILD_INFO}job_link:\ ${CI_JOB_LINK}\n)

if(EXISTS ${CMAKE_SOURCE_DIR}/build-status)
message("build-status found in ${CMAKE_SOURCE_DIR}.. populating")
message(STATUS "build-status found in ${CMAKE_SOURCE_DIR}.. populating")
file(READ ${CMAKE_SOURCE_DIR}/build-status SCOPY_BUILD_STATUS_INFO)
endif()
else()
Expand Down Expand Up @@ -144,6 +144,6 @@ function(configure_about ABOUT_RESOURCES_DIR)
endforeach()

configure_file(${ABOUT_RESOURCES_DIR}/aboutpage.qrc.cmakein ${ABOUT_RESOURCES_TARGET_DIR}/aboutpage.qrc @ONLY)
message(STATUS "built about page in - " ${ABOUT_RESOURCES_TARGET_DIR}/aboutpage.qrc)
message(STATUS "Built about page in - " ${ABOUT_RESOURCES_TARGET_DIR}/aboutpage.qrc)

endfunction()
4 changes: 2 additions & 2 deletions cmake/Modules/ScopyMacOS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ macro(set_macosx_package_location source_dir location extension)
foreach(_file ${files})
file(RELATIVE_PATH _relative_path ${source_dir} ${_file})
get_filename_component(parent_directory ${_relative_path} DIRECTORY)
message(parent_directory: ${parent_directory})
message(STATUS "parent_directory: " ${parent_directory})
set_property(SOURCE ${_file} PROPERTY MACOSX_PACKAGE_LOCATION ${location}/${parent_directory})
message(location/parent_directory ${location}/${parent_directory})
message(STATUS "location/parent_directory: " ${location}/${parent_directory})
set(EXTRA_BUNDLE_FILES ${EXTRA_BUNDLE_FILES} ${_file})
endforeach()
endmacro()
Expand Down
2 changes: 1 addition & 1 deletion cmake/Modules/ScopyStyle.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ function(
if(NOT ret EQUAL "0")
message(FATAL_ERROR "Failed to generate style files! error: ${ret}")
else()
message("-- Generated style files")
message(STATUS "Generated style files")
endif()
endfunction()
1 change: 0 additions & 1 deletion cmake/Modules/ScopyTranslation.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function(generate_translations OUTPUT_LOC)
)
qt_add_translation(QM_FILES ${TS_FILES})

message("Translations QM: " ${QM_FILES})
set(TRANSLATIONS)
foreach(file ${TS_FILES})
get_filename_component(file_name ${file} NAME_WE)
Expand Down
4 changes: 2 additions & 2 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ if(${WITH_PYTHON})
set(PYTHON_VERSION ${PYTHON_VERSION} PARENT_SCOPE)
if(NOT Python3_FOUND)
set(WITH_PYTHON OFF)
message(STATUS "Python not found")
message(NOTICE "Python not found")
endif()
set(BUILD_PYTHON_LIBRARY_DIRS ${Python3_LIBRARY_DIRS}/${PYTHON_VERSION})
endif()
Expand All @@ -99,7 +99,7 @@ if(WITH_SIGROK)
pkg_get_variable(LIBSIGROK_DECODERS_DIR libsigrokdecode decodersdir)
if(NOT LIBSIGROK_DECODE_FOUND)
set(WITH_SIGROK OFF)
message(STATUS "Libsigrokdecode not found")
message(NOTICE "Libsigrokdecode not found")
endif()
endif()

Expand Down
2 changes: 1 addition & 1 deletion gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ find_package(KDDockWidgets QUIET)
add_definitions(-DBOOST_ALL_DYN_LINK)
find_package(Boost COMPONENTS system filesystem thread chrono REQUIRED)

message(STATUS "Building " ${PROJECT_NAME})
message(STATUS "Building: " ${PROJECT_NAME})
add_library(${PROJECT_NAME} SHARED ${PROJECT_SOURCES} ${PROJECT_RESOURCES})

generate_export_header(
Expand Down
16 changes: 13 additions & 3 deletions packages/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,20 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
endif()
include(PackageUtils)

set(ENABLE_PACKAGE_TEST-PLUGINS OFF)
set(ENABLE_PACKAGE_EXTPROC OFF)
if(DISABLE_ALL_PACKAGES)
if(DISABLE_ALL_PACKAGES MATCHES ON)
enable_all_packages(${CMAKE_CURRENT_SOURCE_DIR} OFF)
message(STATUS "DISABLE_ALL_PACKAGES is set.")
elseif(ENABLE_ALL_PACKAGES MATCHES ON)
enable_all_packages(${CMAKE_CURRENT_SOURCE_DIR} ON)
message(STATUS "ENABLE_ALL_PACKAGES is set.")
endif()

# Default disabled packages
if(NOT DEFINED ENABLE_PACKAGE_TEST-PLUGINS)
set(ENABLE_PACKAGE_TEST-PLUGINS ON CACHE BOOL "Enable test plugins package" FORCE)
endif()

if(NOT DEFINED ENABLE_PACKAGE_EXTPROC)
set(ENABLE_PACKAGE_EXTPROC ON CACHE BOOL "Enable extproc package" FORCE)
endif()
add_packages(${CMAKE_CURRENT_SOURCE_DIR} ${SCOPY_PACKAGE_BUILD_PATH})
4 changes: 1 addition & 3 deletions packages/ad936x/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ set(PACKAGE_NAME ${SCOPY_MODULE})
set(PACKAGE_DISPLAY_NAME "AD936X")
set(PACKAGE_DESCRIPTION "Plugin for AD936X")

message(STATUS "building package: " ${SCOPY_MODULE})

project(scopy-package-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

configure_file(manifest.json.cmakein ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/MANIFEST.json @ONLY)
include_emu_xml(${CMAKE_CURRENT_SOURCE_DIR}/emu-xml ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/emu-xml)
include_resources(${CMAKE_CURRENT_SOURCE_DIR}/resources ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/resources)
message("Including plugins")
message(STATUS "Including plugins for ${SCOPY_MODULE}")
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/plugins)
add_plugins(${CMAKE_CURRENT_SOURCE_DIR}/plugins ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/plugins)
install_plugins(
Expand Down
2 changes: 0 additions & 2 deletions packages/ad936x/plugins/ad936x/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE ad936x)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

set(PLUGIN_NAME AD936XPlugin)
Expand Down
4 changes: 1 addition & 3 deletions packages/apollo-ad9084/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ set(PACKAGE_NAME ${SCOPY_MODULE})
set(PACKAGE_DISPLAY_NAME "Apollo AD9084")
set(PACKAGE_DESCRIPTION "This package provides support for Apollo MXFE QUAD AD9084.")

message(STATUS "building package: " ${SCOPY_MODULE})

project(scopy-package-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

configure_file(manifest.json.cmakein ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/MANIFEST.json @ONLY)
include_emu_xml(${CMAKE_CURRENT_SOURCE_DIR}/emu-xml ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/emu-xml)
include_resources(${CMAKE_CURRENT_SOURCE_DIR}/resources ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/resources)
message("Including plugins")
message(STATUS "Including plugins for ${SCOPY_MODULE}")
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/plugins)
add_plugins(${CMAKE_CURRENT_SOURCE_DIR}/plugins ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/plugins)
install_plugins(
Expand Down
2 changes: 0 additions & 2 deletions packages/apollo-ad9084/plugins/ad9084/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE ad9084)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

set(PLUGIN_DISPLAY_NAME "AD9084")
Expand Down
4 changes: 1 addition & 3 deletions packages/generic-plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ set(PACKAGE_NAME ${SCOPY_MODULE})
set(PACKAGE_DISPLAY_NAME "Generic-Plugins")
set(PACKAGE_DESCRIPTION "ADC, DAC, and others")

message(STATUS "building package: " ${SCOPY_MODULE})

project(scopy-package-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

configure_file(manifest.json.cmakein ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/MANIFEST.json @ONLY)

include_emu_xml(${CMAKE_CURRENT_SOURCE_DIR}/emu-xml ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/emu-xml)
include_resources(${CMAKE_CURRENT_SOURCE_DIR}/resources ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/resources)

message("Including plugins")
message(STATUS "Including plugins for ${SCOPY_MODULE}")
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/plugins)
add_plugins(${CMAKE_CURRENT_SOURCE_DIR}/plugins ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/plugins)
install_plugins(
Expand Down
2 changes: 0 additions & 2 deletions packages/generic-plugins/plugins/adc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE adc)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

include(GenerateExportHeader)
Expand Down
2 changes: 0 additions & 2 deletions packages/generic-plugins/plugins/dac/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE dac)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

set(PLUGIN_DISPLAY_NAME "DAC")
Expand Down
2 changes: 0 additions & 2 deletions packages/generic-plugins/plugins/datalogger/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE datalogger)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

set(PLUGIN_DISPLAY_NAME "Data logger")
Expand Down
2 changes: 0 additions & 2 deletions packages/generic-plugins/plugins/debugger/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE debugger)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

set(PLUGIN_DISPLAY_NAME "Debuger")
Expand Down
2 changes: 0 additions & 2 deletions packages/generic-plugins/plugins/jesdstatus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE jesdstatus)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

set(PLUGIN_DISPLAY_NAME "JESDSTATUS")
Expand Down
2 changes: 0 additions & 2 deletions packages/generic-plugins/plugins/regmap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE regmap)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

set(PLUGIN_DISPLAY_NAME "Register map")
Expand Down
4 changes: 1 addition & 3 deletions packages/m2k/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ set(PACKAGE_NAME ${SCOPY_MODULE})
set(PACKAGE_DISPLAY_NAME "ADALM2000")
set(PACKAGE_DESCRIPTION "Plugin for ADALM2000 (M2K).")

message(STATUS "building package: " ${SCOPY_MODULE})

project(scopy-package-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

configure_file(manifest.json.cmakein ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/MANIFEST.json @ONLY)
include_emu_xml(${CMAKE_CURRENT_SOURCE_DIR}/emu-xml ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/emu-xml)
include_resources(${CMAKE_CURRENT_SOURCE_DIR}/resources ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/resources)
message("Including plugins")
message(STATUS "Including plugins for ${SCOPY_MODULE}")
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/plugins)
add_plugins(${CMAKE_CURRENT_SOURCE_DIR}/plugins ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/plugins)
install_plugins(
Expand Down
2 changes: 0 additions & 2 deletions packages/m2k/plugins/m2k/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE m2k)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

set(PLUGIN_DISPLAY_NAME "ADALM2000")
Expand Down
2 changes: 1 addition & 1 deletion packages/m2k/plugins/m2k/m2k-gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ else()
/opt/local/lib64
REQUIRED
)
message("QWT LIBRARIES: " ${QWT_LIBRARIES})
message(STATUS "QWT LIBRARIES: " ${QWT_LIBRARIES})

endif()

Expand Down
4 changes: 1 addition & 3 deletions packages/pqmon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ set(PACKAGE_NAME ${SCOPY_MODULE})
set(PACKAGE_DISPLAY_NAME "PQMON")
set(PACKAGE_DESCRIPTION "Power Quality Monitor (PQM) plugin.")

message(STATUS "building package: " ${SCOPY_MODULE})

project(scopy-package-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

configure_file(manifest.json.cmakein ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/MANIFEST.json @ONLY)

include_emu_xml(${CMAKE_CURRENT_SOURCE_DIR}/emu-xml ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/emu-xml)
include_resources(${CMAKE_CURRENT_SOURCE_DIR}/resources ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/resources)

message("Including plugins")
message(STATUS "Including plugins for ${SCOPY_MODULE}")
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/plugins)
add_plugins(${CMAKE_CURRENT_SOURCE_DIR}/plugins ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/plugins)
install_plugins(
Expand Down
2 changes: 0 additions & 2 deletions packages/pqmon/plugins/pqm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ cmake_minimum_required(VERSION 3.9)

set(SCOPY_MODULE pqm)

message(STATUS "building plugin: " ${SCOPY_MODULE})

project(scopy-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

set(PLUGIN_DISPLAY_NAME "PQM")
Expand Down
4 changes: 1 addition & 3 deletions packages/swiot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ set(PACKAGE_NAME ${SCOPY_MODULE})
set(PACKAGE_DISPLAY_NAME "AD-SWIOT1L-SL")
set(PACKAGE_DESCRIPTION "Plugin for AD-SWIOT1L-SL.")

message(STATUS "building package: " ${SCOPY_MODULE})

project(scopy-package-${SCOPY_MODULE} VERSION 0.1 LANGUAGES CXX)

configure_file(manifest.json.cmakein ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/MANIFEST.json @ONLY)
include_emu_xml(${CMAKE_CURRENT_SOURCE_DIR}/emu-xml ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/emu-xml)
include_resources(${CMAKE_CURRENT_SOURCE_DIR}/resources ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/resources)
message("Including plugins")
message(STATUS "Including plugins for ${SCOPY_MODULE}")
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/plugins)
add_plugins(${CMAKE_CURRENT_SOURCE_DIR}/plugins ${SCOPY_PACKAGE_BUILD_PATH}/${SCOPY_MODULE}/plugins)
install_plugins(
Expand Down
Loading
Loading