COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/${ManPage}
${CMAKE_BINARY_DIR}/share/man/man1/)
- install(PROGRAMS scan-build.1 DESTINATION share/man/man1)
+ install(PROGRAMS ${ManPage} DESTINATION share/man/man1)
endforeach()
foreach(ResourceFile ${ResourceFiles})
scan-view
startfile.py)
-file(GLOB ResourceFiles Resources/*)
+set(ResourceFiles
+ Resources/FileRadar.scpt
+ Resources/GetRadarVersion.scpt
+ Resources/bugcatcher.ico)
if(CLANG_INSTALL_SCANVIEW)
foreach(BinFile ${BinFiles})
COMMAND ${CMAKE_COMMAND} -E make_directory
${CMAKE_BINARY_DIR}/share/scan-view
COMMAND ${CMAKE_COMMAND} -E copy
- ${ResourceFile}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${ResourceFile}
${CMAKE_BINARY_DIR}/share/scan-view/)
install(FILES ${ResourceFile} DESTINATION share/scan-view)
endforeach()