From 08c8e54e8c1cb6f502650f984cca7606a429b9d7 Mon Sep 17 00:00:00 2001 From: Mike Weiblen Date: Tue, 26 Jun 2018 14:47:37 -0600 Subject: [PATCH] build: Insert copyright in cmake files --- CMakeLists.txt | 17 +++++++++++++++++ cube/CMakeLists.txt | 17 +++++++++++++++++ cube/macOS/cube/cube.cmake | 17 +++++++++++++++++ cube/macOS/cubepp/cubepp.cmake | 21 +++++++++++++++++++++ icd/CMakeLists.txt | 17 +++++++++++++++++ mac_common.cmake | 17 +++++++++++++++++ vulkaninfo/CMakeLists.txt | 17 +++++++++++++++++ vulkaninfo/macOS/vulkaninfo.cmake | 17 +++++++++++++++++ 8 files changed, 140 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e525687..30be353 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,20 @@ +# ~~~ +# Copyright (c) 2014-2018 Valve Corporation +# Copyright (c) 2014-2018 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. +# ~~~ + cmake_minimum_required(VERSION 2.8.11) # This must come before the project command. diff --git a/cube/CMakeLists.txt b/cube/CMakeLists.txt index 5574a8b..c336010 100644 --- a/cube/CMakeLists.txt +++ b/cube/CMakeLists.txt @@ -1,3 +1,20 @@ +# ~~~ +# Copyright (c) 2018 Valve Corporation +# Copyright (c) 2018 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. +# ~~~ + set(CUBE_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR}/.. diff --git a/cube/macOS/cube/cube.cmake b/cube/macOS/cube/cube.cmake index 5209e1f..c8529fe 100644 --- a/cube/macOS/cube/cube.cmake +++ b/cube/macOS/cube/cube.cmake @@ -1,3 +1,20 @@ +# ~~~ +# Copyright (c) 2018 Valve Corporation +# Copyright (c) 2018 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. +# ~~~ + # Cube Application Bundle set(cube_SRCS diff --git a/cube/macOS/cubepp/cubepp.cmake b/cube/macOS/cubepp/cubepp.cmake index 32f6700..f2f75b7 100644 --- a/cube/macOS/cubepp/cubepp.cmake +++ b/cube/macOS/cubepp/cubepp.cmake @@ -1,3 +1,24 @@ +# ~~~ +# Copyright (c) 2018 Valve Corporation +# Copyright (c) 2018 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. +# +# +# This file formatted using cmake-format. +# https://github.com/cheshirekow/cmake_format +# ~~~ + # Cube Application Bundle set(cubepp_SRCS diff --git a/icd/CMakeLists.txt b/icd/CMakeLists.txt index bb695c9..505d267 100644 --- a/icd/CMakeLists.txt +++ b/icd/CMakeLists.txt @@ -1,3 +1,20 @@ +# ~~~ +# Copyright (c) 2014-2018 Valve Corporation +# Copyright (c) 2014-2018 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. +# ~~~ + cmake_minimum_required (VERSION 2.8.11) find_package(PythonInterp 3 REQUIRED) diff --git a/mac_common.cmake b/mac_common.cmake index 4b74614..5a892e9 100644 --- a/mac_common.cmake +++ b/mac_common.cmake @@ -1,3 +1,20 @@ +# ~~~ +# Copyright (c) 2018 Valve Corporation +# Copyright (c) 2018 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. +# ~~~ + # Set up common settings for building all demos on Apple platforms. # Source for the MoltenVK ICD library and JSON file diff --git a/vulkaninfo/CMakeLists.txt b/vulkaninfo/CMakeLists.txt index 64b2ebe..30fdc8f 100644 --- a/vulkaninfo/CMakeLists.txt +++ b/vulkaninfo/CMakeLists.txt @@ -1,3 +1,20 @@ +# ~~~ +# Copyright (c) 2018 Valve Corporation +# Copyright (c) 2018 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. +# ~~~ + # CMakeLists.txt file for building Vulkaninfo if(WIN32) diff --git a/vulkaninfo/macOS/vulkaninfo.cmake b/vulkaninfo/macOS/vulkaninfo.cmake index 7ed812e..d517f54 100644 --- a/vulkaninfo/macOS/vulkaninfo.cmake +++ b/vulkaninfo/macOS/vulkaninfo.cmake @@ -1,3 +1,20 @@ +# ~~~ +# Copyright (c) 2018 Valve Corporation +# Copyright (c) 2018 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. +# ~~~ + # Vulkaninfo Application Bundle # We already have a "vulkaninfo" target, so create a new target with a different name -- 2.7.4