From ef785a6fca3b2549eb6001c417eca4e155c07262 Mon Sep 17 00:00:00 2001 From: juan-lunarg Date: Fri, 5 May 2023 16:35:44 -0600 Subject: [PATCH] cmake: Keep VulkanRT-License.txt copyright up to date closes #754 --- CMakeLists.txt | 2 + windows-runtime-installer/CMakeLists.txt | 26 ++++++++ windows-runtime-installer/VulkanRT-License.txt.in | 79 +++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 windows-runtime-installer/CMakeLists.txt create mode 100644 windows-runtime-installer/VulkanRT-License.txt.in diff --git a/CMakeLists.txt b/CMakeLists.txt index e280e4a..5aa7169 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -168,3 +168,5 @@ endif() if(BUILD_ICD) add_subdirectory(icd) endif() + +add_subdirectory(windows-runtime-installer) diff --git a/windows-runtime-installer/CMakeLists.txt b/windows-runtime-installer/CMakeLists.txt new file mode 100644 index 0000000..d27bef8 --- /dev/null +++ b/windows-runtime-installer/CMakeLists.txt @@ -0,0 +1,26 @@ +# ~~~ +# Copyright (c) 2023 Valve Corporation +# Copyright (c) 2023 LunarG, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ~~~ + +string(TIMESTAMP CURRENT_YEAR "%Y") + +# Keep windows-runtime-installer/VulkanRT-License.txt up to date. +# https://github.com/KhronosGroup/Vulkan-Tools/issues/754 +configure_file( + ${CMAKE_CURRENT_LIST_DIR}/VulkanRT-License.txt.in + ${CMAKE_CURRENT_LIST_DIR}/VulkanRT-License.txt + @ONLY +) diff --git a/windows-runtime-installer/VulkanRT-License.txt.in b/windows-runtime-installer/VulkanRT-License.txt.in new file mode 100644 index 0000000..06c5f24 --- /dev/null +++ b/windows-runtime-installer/VulkanRT-License.txt.in @@ -0,0 +1,79 @@ +Copyright (c) 2015-@CURRENT_YEAR@ The Khronos Group Inc. +Copyright (c) 2015-@CURRENT_YEAR@ LunarG, Inc. +Copyright (c) 2015-@CURRENT_YEAR@ Valve Corporation + +The Vulkan Runtime is comprised of 100% open-source components (MIT, and +Apache 2.0). The text of such licenses is included below along with the +copyrights. + +ALL INFORMATION HERE IS PROVIDED "AS IS." LUNARG MAKES NO REPRESENTATIONS OR +WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO THIS LIST OR ITS ACCURACY OR +COMPLETENESS, OR WITH RESPECT TO ANY RESULTS TO BE OBTAINED FROM USE OR +DISTRIBUTION OF THE LIST. BY USING OR DISTRIBUTING THIS LIST, YOU AGREE THAT +IN NO EVENT SHALL LUNARG BE HELD LIABLE FOR ANY DAMAGES WHATSOEVER RESULTING +FROM ANY USE OR DISTRIBUTION OF THIS LIST, INCLUDING, WITHOUT LIMITATION, ANY +SPECIAL, CONSEQUENTIAL, INCIDENTAL OR OTHER DIRECT OR INDIRECT DAMAGES. + +=========================Apache 2.0========================= +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this file except in compliance with the License. You may obtain a copy +of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on as "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See +the License for the specific language governing permissions and limitations +under the License. + +============================MIT============================ + +Copyright (c) 2009 Dave Gamble +Copyright (c) 2015-@CURRENT_YEAR@ The Khronos Group Inc. +Copyright (c) 2015-@CURRENT_YEAR@ Valve Corporation +Copyright (c) 2015-@CURRENT_YEAR@ LunarG, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +============================MIT============================ + +Copyright (c) 2014 joseph werle +Copyright (c) 2015-@CURRENT_YEAR@ The Khronos Group Inc. +Copyright (c) 2015-@CURRENT_YEAR@ Valve Corporation +Copyright (c) 2015-@CURRENT_YEAR@ LunarG, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and/or associated documentation files (the "Materials"), to +deal in the Materials without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Materials, and to permit persons to whom the Materials are +furnished to do so, subject to the following conditions: + +The above copyright notice(s) and this permission notice shall be included in +all copies or substantial portions of the Materials. + +THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE +USE OR OTHER DEALINGS IN THE MATERIALS. -- 2.7.4