summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/ObjectLibrary/PostBuild.cmake
blob: dea9a099e85b4988020539f9e6ce979cc4ced214 (plain)
1
2
3
4
add_library(A OBJECT a.c)
add_custom_command(TARGET A POST_BUILD
  COMMAND  ${CMAKE_COMMAND} -E echo "A post-build"
  )