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