Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jul 2, 2024
1 parent d5014c3 commit ec47fa0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Config.cmake/mergestaticlibs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,15 @@ function(merge_static_libs outlib)
foreach(config_type ${CMAKE_CONFIGURATION_TYPES})
string(TOUPPER "${config_type}" CONFIG_TYPE)
get_target_property(libfile ${lib} "IMPORTED_LOCATION_${CONFIG_TYPE}")
message(STATUS "${lib}=${lib} CONFIG_TYPE=${CONFIG_TYPE} libfile=${libfile}")
get_target_property(libfile2 ${lib} "IMPORTED_LOCATION")
get_target_property(libfile3 ${lib} "LOCATION_${CONFIG_TYPE}")
get_target_property(libfile4 ${lib} "LOCATION")
set(is_target FALSE)
if (TARGET ${lib})
set(is_target TRUE)
endif ()

message(STATUS "${lib}=${lib} is_target=${is_target} CONFIG_TYPE=${CONFIG_TYPE} libfile=${libfile} libfile2=${libfile2} libfile3=${libfile3} libfile4=${libfile4}")
if (libfile)
list(APPEND libfiles_${CONFIG_TYPE} ${libfile})
list(APPEND libfiles ${libfile})
Expand Down

0 comments on commit ec47fa0

Please sign in to comment.