We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75e917a commit ceced02Copy full SHA for ceced02
src/bin/CMakeLists.txt
@@ -19,3 +19,4 @@ add_subdirectory( exrmultiview )
19
add_subdirectory( exrmultipart )
20
add_subdirectory( exrcheck )
21
add_subdirectory( exrmanifest )
22
+add_subdirectory( exrperf )
src/bin/exrperf/CMakeLists.txt
@@ -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
0 commit comments