Skip to content

Commit

Permalink
Fix copyright notice, clarify version requirement comment
Browse files Browse the repository at this point in the history
Signed-off-by: Kimball Thurston <[email protected]>
  • Loading branch information
kdt3rd committed Jul 20, 2019
1 parent 0c0b228 commit a8c344f
Show file tree
Hide file tree
Showing 27 changed files with 77 additions and 10 deletions.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# "More Modern" CMake version
# We require this to get object library link library support and
# combined python 2 + 3 support

# We require this to get object library link library support and
# combined python 2 + 3 support
cmake_minimum_required(VERSION 3.12)

# Hint: This can be set to enable custom find_package
Expand Down
6 changes: 5 additions & 1 deletion IlmBase/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# "More Modern" CMake version
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

# We require this to get object library link library support and
# combined python 2 + 3 support
cmake_minimum_required(VERSION 3.12)

# we include this first to parse configure.ac and extract the version
Expand Down
2 changes: 2 additions & 0 deletions IlmBase/Half/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

add_executable(eLut eLut.cpp)
target_compile_features(eLut PUBLIC cxx_std_${OPENEXR_CXX_STANDARD})
Expand Down
6 changes: 2 additions & 4 deletions IlmBase/HalfTest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
##
## SPDX-License-Identifier: BSD-3-Clause
## Copyright Contributors to the OpenEXR Project.
##
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

add_executable(HalfTest
main.cpp
Expand Down
3 changes: 3 additions & 0 deletions IlmBase/Imath/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

ilmbase_define_library(Imath
PRIV_EXPORT IMATH_EXPORTS
CURDIR ${CMAKE_CURRENT_SOURCE_DIR}
Expand Down
2 changes: 2 additions & 0 deletions IlmBase/ImathTest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

add_executable(ImathTest
main.cpp
Expand Down
2 changes: 2 additions & 0 deletions IlmBase/config/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

include(CheckIncludeFiles)
include(CheckSymbolExists)
Expand Down
5 changes: 5 additions & 0 deletions IlmBase/config/IlmBaseConfig.h.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.

// This file is auto-generated by the configure step

#ifndef INCLUDED_ILMBASE_CONFIG_H
#define INCLUDED_ILMBASE_CONFIG_H 1

#pragma once

//
// Define and set to 1 if the target system has c++11/14 support
// and you want IlmBase to NOT use it's features
Expand Down
5 changes: 5 additions & 0 deletions IlmBase/config/IlmBaseConfig.h.in_cmake
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.

// This file is auto-generated by the cmake configure step

#ifndef INCLUDED_ILMBASE_CONFIG_H
#define INCLUDED_ILMBASE_CONFIG_H 1

#pragma once

//
// Options / configuration based on O.S. / compiler
/////////////////////
Expand Down
2 changes: 1 addition & 1 deletion IlmBase/config/IlmBaseConfigInternal.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
// Copyright Contributors to the OpenEXR Project.
//

#pragma once

//
// Dealing with FPEs
//
#undef HAVE_UCONTEXT_H

#undef ILMBASE_HAVE_CONTROL_REGISTER_SUPPORT

4 changes: 4 additions & 0 deletions IlmBase/config/IlmBaseConfigInternal.h.in_cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenEXR Project.

#pragma once

//
// Dealing with FPEs
Expand Down
2 changes: 2 additions & 0 deletions IlmBase/config/IlmBaseSetup.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

include(GNUInstallDirs)

Expand Down
3 changes: 3 additions & 0 deletions IlmBase/config/LibraryDefine.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

# NB: This function has a number if IlmBase specific names / variables
# in it, so be careful copying...
function(ILMBASE_DEFINE_LIBRARY libname)
Expand Down
2 changes: 2 additions & 0 deletions IlmBase/config/ParseConfigure.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

file(READ configure.ac CONFIGURE_AC_CONTENTS)
string(REGEX MATCH "AC_INIT\\(IlmBase,[ ]*([0-9]+).([0-9]+).([0-9]+)" DUMMY ${CONFIGURE_AC_CONTENTS})
Expand Down
6 changes: 5 additions & 1 deletion PyIlmBase/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# "More Modern" CMake version
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

# We require this to get object library link library support and
# combined python 2 + 3 support
cmake_minimum_required(VERSION 3.12)

# we include this first to parse configure.ac and extract the version
Expand Down
3 changes: 3 additions & 0 deletions PyIlmBase/PyImath/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

pyilmbase_define_module(imath
LIBNAME PyImath
PRIV_EXPORT PYIMATH_BUILD
Expand Down
3 changes: 3 additions & 0 deletions PyIlmBase/PyImathNumpy/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

if(TARGET Python2::Python AND
TARGET Boost::${PYILMBASE_BOOST_PY2_COMPONENT} AND
TARGET Python2::IlmBaseNumPy)
Expand Down
2 changes: 2 additions & 0 deletions PyIlmBase/PyImathNumpyTest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

if(TARGET Python2::Interpreter)
add_test(PyIlmBase.PyImathNumpyTest_Python2
Expand Down
3 changes: 3 additions & 0 deletions PyIlmBase/PyImathTest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

if(TARGET Python2::Interpreter)
add_test(PyIlmBase.PyImathTest_Python2
${Python2_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/pyImathTest.in
Expand Down
2 changes: 2 additions & 0 deletions PyIlmBase/config/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

### The autoconf setup for this folder generates a PyIlmBaseConfig.h file
### but no source actually uses that, so let's elide that for now
Expand Down
2 changes: 2 additions & 0 deletions PyIlmBase/config/ModuleDefine.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

function(PYILMBASE_ADD_LIBRARY_PRIV libname)
set(options)
Expand Down
2 changes: 2 additions & 0 deletions PyIlmBase/config/NumPyLocate.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

if(TARGET Python2::Interpreter)
execute_process(
Expand Down
2 changes: 2 additions & 0 deletions PyIlmBase/config/ParseConfigure.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

file(READ configure.ac CONFIGURE_AC_CONTENTS)
string(REGEX MATCH "AC_INIT\\(PyIlmBase,[ ]*([0-9]+).([0-9]+).([0-9]+)" DUMMY ${CONFIGURE_AC_CONTENTS})
Expand Down
2 changes: 2 additions & 0 deletions PyIlmBase/config/PyIlmBaseSetup.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

include(GNUInstallDirs)

Expand Down
3 changes: 3 additions & 0 deletions cmake/SampleCTestScript.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

# This is a sample cmake test script that can be used to integrate into
# a larger CI setup if you are building your own versions of OpenEXR
# and also use a cdash (or cdash compliant) results server.
Expand Down
4 changes: 3 additions & 1 deletion cmake/Toolchain-Linux-VFX_Platform15.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

# This is only an example of a theoretical toolchain file
# that might be used for compiling to target a VFX
# reference platform (https://vfxplatform.com) that is
Expand Down
4 changes: 3 additions & 1 deletion cmake/Toolchain-mingw.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#
# SPDX-License-Identifier: BSD-3-Clause
# Copyright Contributors to the OpenEXR Project.

# This is only an example of cross compiling, but to compile for windows
# under linux, have the relevant bits installed, and
# validate the find path below
Expand Down

0 comments on commit a8c344f

Please sign in to comment.