aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjuan-lunarg <juan@lunarg.com>2023-05-05 16:35:44 -0600
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2023-05-05 17:55:04 -0600
commitef785a6fca3b2549eb6001c417eca4e155c07262 (patch)
tree47221d79e7d5dbe3748e52c5d8d2069f71a3a31a
parent6c343a6f99cab7229de2369c9d6df7d47d3d0c5e (diff)
downloadusermoji-ef785a6fca3b2549eb6001c417eca4e155c07262.tar.xz
cmake: Keep VulkanRT-License.txt copyright up to date
closes #754
-rw-r--r--CMakeLists.txt2
-rw-r--r--windows-runtime-installer/CMakeLists.txt26
-rw-r--r--windows-runtime-installer/VulkanRT-License.txt.in79
3 files changed, 107 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e280e4a6..5aa71694 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 00000000..d27bef8e
--- /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 00000000..06c5f249
--- /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 <joseph.werle@gmail.com>
+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.