Skip to content

Commit ceced02

Browse files
committed
Add exrperf
1 parent 75e917a commit ceced02

File tree

5 files changed

+2996
-0
lines changed

5 files changed

+2996
-0
lines changed

src/bin/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ add_subdirectory( exrmultiview )
1919
add_subdirectory( exrmultipart )
2020
add_subdirectory( exrcheck )
2121
add_subdirectory( exrmanifest )
22+
add_subdirectory( exrperf )

src/bin/exrperf/CMakeLists.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# SPDX-License-Identifier: BSD-3-Clause
2+
3+
add_executable(exrperf main.cpp)
4+
target_link_libraries(exrperf OpenEXR::OpenEXR)
5+
set_target_properties(exrperf PROPERTIES
6+
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
7+
)
8+
if(OPENEXR_INSTALL_TOOLS)
9+
install(TARGETS exrperf DESTINATION ${CMAKE_INSTALL_BINDIR})
10+
endif()
11+
if(WIN32 AND BUILD_SHARED_LIBS)
12+
target_compile_definitions(exrperf PRIVATE OPENEXR_DLL)
13+
endif()

0 commit comments

Comments
 (0)