This brings us into conformance with ASWF standards for license text and how the copyright notices read. (And was cleared by Sony and Linux Foundation.) This is the same set of changes made to all the other projects coming into the foundation, including OpenColorIO. Please note that none of the licenses are changing -- it's the same 3-clause BSD license we have always used. Also, this doesn't change any of the copyright holders -- it has always been the case that the authors of each patch retain the copyright to their specific additions or changes. OSL has never required copyright assignment for contributions. * Add a LICENSE-THIRD-PARTY.md file that documents imported software. * Update documentation license to CC-BY-4.0 (from 3.0). * Fully reproduce the Qt license in the two files derived from Qt example code. * Change copyright notice to the new wording of 'Contributors to the Open Shading Language project', per ASWF convention. * Replace lengthy per-file copyright boilerplate with SPDX short form. (This is more readable and is easily scanned by automated software to detect which licenses are used.) * For any files lacking a copyright notice, license text, or SPDX identifier, add them. * Fix test output for many unit tests where line numbers changed after license info was added to .osl files in the testsuite.
32 lines
645 B
CMake
32 lines
645 B
CMake
# Copyright Contributors to the Open Shading Language project.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
# https://github.com/imageworks/OpenShadingLanguage
|
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(OSL)
|
|
|
|
include(RezBuild)
|
|
|
|
rez_install_dirs(
|
|
include lib share
|
|
# python
|
|
DESTINATION .
|
|
)
|
|
|
|
# Bin specified separately so it can be marked as EXECUTABLE, otherwise it
|
|
# installs with only read permissions.
|
|
rez_install_dirs(
|
|
bin
|
|
DESTINATION .
|
|
EXECUTABLE
|
|
)
|
|
|
|
rez_install_cmake(
|
|
DESTINATION .
|
|
INCLUDE_DIRS include
|
|
LIBRARY_DIRS lib
|
|
LIBRARIES oslexec oslcomp oslquery
|
|
oslexec_d oslcomp_d oslquery_d
|
|
)
|