From c698fe5add002106125470d7b69a7726c05ee830 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 10 Feb 2017 13:41:55 +0000 Subject: [PATCH] install LICENSE.md, README and renderdoc_app.h (as renderdoc.h) --- CMakeLists.txt | 4 ++++ renderdoc/CMakeLists.txt | 3 +++ 2 files changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7e2ff2b6..165bccacb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -164,3 +164,7 @@ endif() if(ENABLE_QRENDERDOC) add_subdirectory(qrenderdoc) endif() + +# install documentation files +install (FILES scripts/LINUX_DIST_README DESTINATION share/doc/renderdoc RENAME README) +install (FILES LICENSE.md DESTINATION share/doc/renderdoc) diff --git a/renderdoc/CMakeLists.txt b/renderdoc/CMakeLists.txt index 993a7bcad..0db85e751 100644 --- a/renderdoc/CMakeLists.txt +++ b/renderdoc/CMakeLists.txt @@ -303,6 +303,9 @@ target_link_libraries(renderdoc ${RDOC_LIBRARIES}) install (TARGETS renderdoc DESTINATION lib) +# Copy in application API header to include +install (FILES api/app/renderdoc_app.h DESTINATION include RENAME renderdoc.h) + add_custom_command(TARGET renderdoc POST_BUILD COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_SOURCE_DIR}/bin/) add_custom_command(TARGET renderdoc POST_BUILD