summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ParseImplicitLinkInfo/Inspect.cmake
blob: 42e1c67762baca20833169649df86e4fe4704047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
enable_language(C)

set(info "")
foreach(var
    CMAKE_C_IMPLICIT_LINK_DIRECTORIES
    )
  if(DEFINED ${var})
    string(APPEND info "set(INFO_${var} \"${${var}}\")\n")
  endif()
endforeach()

file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/info.cmake" "${info}")