Skip to content

Commit

Permalink
Add cmake hwdef resource bundling debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
elecpower committed Jan 15, 2024
1 parent 3d3a94a commit c949102
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions companion/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ set(HWDEFS_QRC "${CMAKE_CURRENT_BINARY_DIR}/hwdefs.qrc")
# Dynamically update companion.qrc file (XML) adding collected hwdef json files.
foreach(hwdef_json ${hwdefs_json})
get_filename_component(hwdef_json_name ${hwdef_json} NAME)
message(STATUS "Hardware definition found: ${hwdef_json_name}")
# Add file with full path and file name (w/out path) as alias to be used in actual code
set(HWDEF_JSON_LIST "${HWDEF_JSON_LIST} <file alias=\"${hwdef_json_name}\">${HWDEFS_DIR}/${hwdef_json_name}</file>\n")
endforeach()
Expand Down

0 comments on commit c949102

Please sign in to comment.