summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/BuildDepends/LinkDependsCheck.cmake
blob: 596e1eb7dc6297eb20498ab34bdad93aede4ee95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

enable_language(C)

file(WRITE "${CMAKE_BINARY_DIR}/LinkDependsUseLinker.cmake"
     "set(CMAKE_LINK_DEPENDS_USE_LINKER ${CMAKE_LINK_DEPENDS_USE_LINKER})
set(CMAKE_C_LINK_DEPENDS_USE_LINKER ${CMAKE_C_LINK_DEPENDS_USE_LINKER})\n")


file(GENERATE  OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/check-$<LOWER_CASE:$<CONFIG>>.cmake"
  CONTENT "
# no required actions
")