summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/ObjectLibrary/PreLink.cmake
blob: b8890551128ab820e17b29a8403bd8e0bb0fa53e (plain)
1
2
3
4
add_library(A OBJECT a.c)
add_custom_command(TARGET A PRE_LINK
  COMMAND  ${CMAKE_COMMAND} -E echo "A pre-link"
  )