Browse Source

Add debugging statements

master
Gavin Howard 4 years ago
parent
commit
6b6469130c
Signed by: gavin GPG Key ID: C08038BDF280D33E
  1. 3
      functions.cmake

3
functions.cmake

@ -182,6 +182,9 @@ function(merge_static_libs outlib)
# Relative path is needed by ar under MSYS.
file(RELATIVE_PATH objlistfilerpath ${objdir} ${objlistfile})
message(STATUS "Absolute: ${objlistfile}")
message(STATUS "Relative: ${objlistfilerpath}")
add_custom_command(TARGET ${outlib}
POST_BUILD
COMMAND ${CMAKE_AR} r "${outfile}" @"${objlistfilerpath}"

Loading…
Cancel
Save