From 0667a955c2650e40f825b47e4f9d36ebf603bcfa Mon Sep 17 00:00:00 2001 From: Hyblocker Date: Thu, 5 Dec 2024 15:07:07 +0100 Subject: [PATCH] (chore): Add README alongside binaries. --- NOTICE | 1 + src/overlay/CMakeLists.txt | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 NOTICE diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..d0cfeb6 --- /dev/null +++ b/NOTICE @@ -0,0 +1 @@ +You may find the source code of this program at https://github.com/hyblocker/OpenVR-SpaceCalibrator . You should also have a LICENSE file alongside this one. \ No newline at end of file diff --git a/src/overlay/CMakeLists.txt b/src/overlay/CMakeLists.txt index 9f3866a..dd3b9b0 100644 --- a/src/overlay/CMakeLists.txt +++ b/src/overlay/CMakeLists.txt @@ -125,6 +125,14 @@ add_custom_command( ${CMAKE_BINARY_DIR}/artifacts/$/LICENSE ) +# Copy NOTICE +add_custom_command( + TARGET SpaceCalibratorOverlay POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy + ${CMAKE_SOURCE_DIR}/NOTICE + ${CMAKE_BINARY_DIR}/artifacts/$/README +) + # Copy openvr_api.dll add_custom_command( TARGET SpaceCalibratorOverlay POST_BUILD