Skip to content

Commit dd33a19

Browse files
committed
move exrreader_max to its own directory
Signed-off-by: Cary Phillips <cary@ilm.com>
1 parent e16a738 commit dd33a19

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

website/ReadingAndWritingImageFiles.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ must process untrusted EXR files in an environment where failure is
15671567
catastrophic, it may be best to provide a limit but allow it to be
15681568
configured by the user:
15691569

1570-
.. literalinclude:: src/exrreader/exrreader_max.cpp
1570+
.. literalinclude:: src/exrreader_max/exrreader_max.cpp
15711571
:lines: 5-
15721572

15731573
Is this an OpenEXR File?

website/src/exrreader/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ find_package(OpenEXR REQUIRED)
1010
add_executable(${PROJECT_NAME} exrreader.cpp)
1111
target_link_libraries(${PROJECT_NAME} OpenEXR::OpenEXR)
1212

13-
add_executable(${PROJECT_NAME}_max exrreader_max.cpp)
14-
target_link_libraries(${PROJECT_NAME}_max OpenEXR::OpenEXR)
1513

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# SPDX-License-Identifier: BSD-3-Clause
3+
# Copyright (c) Contributors to the OpenEXR Project.
4+
#
5+
6+
cmake_minimum_required(VERSION 3.12)
7+
project(exrreader_max)
8+
find_package(OpenEXR REQUIRED)
9+
10+
add_executable(${PROJECT_NAME} exrreader_max.cpp)
11+
target_link_libraries(${PROJECT_NAME} OpenEXR::OpenEXR)
12+
File renamed without changes.

0 commit comments

Comments
 (0)