Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Nov 7, 2024
1 parent d1fa8fa commit 921950a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmake/AwsPrebuildDependency.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,15 @@ function(aws_get_cmd_arguments_for_prebuild_dependency)

set(variables_to_ignore CMAKE_INSTALL_PREFIX)

# project() call hides these vars.
set(variables_to_always_collect CMAKE_TOOLCHAIN_FILE)

get_cmake_property(vars CACHE_VARIABLES)
foreach(var ${vars})
get_property(currentHelpString CACHE "${var}" PROPERTY HELPSTRING)
if ("${currentHelpString}" MATCHES "No help, variable specified on the command line.")
message(WARNING "=== aws_get_cmd_arguments_for_prebuild_dependency: processing ${var}: ${currentHelpString}")
if ("${currentHelpString}" MATCHES "No help, variable specified on the command line."
OR "${var}" IN_LIST variables_to_always_collect)
if("${var}" IN_LIST variables_to_ignore)
# TODO Remove.
message(WARNING "Ignoring ${var}")
Expand Down

0 comments on commit 921950a

Please sign in to comment.