@@ -34,7 +34,7 @@ function(add_subdirectories_with_options base_dir output_dir prefix)
3434 endif ()
3535
3636 if (${ENABLE_CHILD_VAR} )
37- message (STATUS "Including ${prefix} : ${child} " )
37+ message (STATUS "${prefix} : ${child} " )
3838
3939 # Set output directories based on platform
4040 if (${CMAKE_SYSTEM_NAME} MATCHES "Windows" )
@@ -46,10 +46,10 @@ function(add_subdirectories_with_options base_dir output_dir prefix)
4646 if (EXISTS "${base_dir} /${child} /CMakeLists.txt" )
4747 add_subdirectory (${base_dir} /${child} )
4848 else ()
49- message (STATUS "No CMakeLists.txt in subdirectory: ${base_dir} /${child} " )
49+ message (NOTICE "No CMakeLists.txt in subdirectory: ${base_dir} /${child} " )
5050 endif ()
5151 else ()
52- message (STATUS "Skipping ${prefix} : ${child} " )
52+ message (STATUS "Skipping: ${child} " )
5353 endif ()
5454 endif ()
5555 endforeach ()
@@ -83,19 +83,19 @@ endfunction()
8383
8484function (include_emu_xml base_dir output_dir)
8585 if (IS_DIRECTORY ${base_dir} )
86- message ("Found IIO Emulator XMLs in: " ${base_dir} )
86+ message (STATUS "Found IIO Emulator XMLs in: " ${base_dir} )
8787 file (GLOB EMU_FILES ${base_dir} /*)
8888 if (EMU_FILES)
8989 file (COPY ${EMU_FILES} DESTINATION ${output_dir} )
9090 else ()
91- message ("No emulator files found in: ${base_dir} " )
91+ message (NOTICE "No emulator files found in: ${base_dir} " )
9292 endif ()
9393 endif ()
9494endfunction ()
9595
9696function (include_resources base_dir output_dir)
9797 if (NOT EXISTS ${base_dir} )
98- message (STATUS "Resources directory doesn't exist: ${base_dir} " )
98+ message (NOTICE "Resources directory doesn't exist: ${base_dir} " )
9999 return ()
100100 endif ()
101101 file (GLOB children RELATIVE ${base_dir} ${base_dir} /*)
@@ -139,7 +139,10 @@ function(install_plugins SRC_DIR INSTALL_DEST TARGET_PREFIX)
139139 PATTERN "resources.qrc.depends" EXCLUDE
140140 )
141141 else ()
142- message (STATUS "No resources to install (only resources.qrc.depends found)." )
142+ message (
143+ NOTICE
144+ "No resources to install for: ${plugin} (only resources.qrc.depends found)."
145+ )
143146 endif ()
144147 endif ()
145148 endif ()
0 commit comments