Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add header files for IDEs #1338

Merged
merged 1 commit into from
Feb 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/bin/exrenvmap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@

add_executable( exrenvmap
blurImage.cpp
blurImage.h
EnvmapImage.cpp
EnvmapImage.h
main.cpp
makeCubeMap.cpp
makeCubeMap.h
makeLatLongMap.cpp
makeLatLongMap.h
namespaceAlias.h
readInputImage.cpp
readInputImage.h
resizeImage.cpp
resizeImage.h
)

target_link_libraries(exrenvmap OpenEXR::OpenEXR)
Expand Down
1 change: 1 addition & 0 deletions src/bin/exrmakepreview/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
add_executable(exrmakepreview
main.cpp
makePreview.cpp
makePreview.h
)
target_link_libraries(exrmakepreview OpenEXR::OpenEXR)
set_target_properties(exrmakepreview PROPERTIES
Expand Down
5 changes: 4 additions & 1 deletion src/bin/exrmaketiled/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright (c) Contributors (c) to the OpenEXR Project.

add_executable(exrmaketiled
add_executable(exrmaketiled
Image.cpp
Image.h
main.cpp
makeTiled.cpp
makeTiled.h
namespaceAlias.h
)
target_link_libraries(exrmaketiled OpenEXR::OpenEXR)
set_target_properties(exrmaketiled PROPERTIES
Expand Down
3 changes: 3 additions & 0 deletions src/bin/exrmultiview/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@

add_executable(exrmultiview
Image.cpp
Image.h
main.cpp
makeMultiView.cpp
makeMultiView.h
namespaceAlias.h
)
target_link_libraries(exrmultiview OpenEXR::OpenEXR)
set_target_properties(exrmultiview PROPERTIES
Expand Down
8 changes: 8 additions & 0 deletions src/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,21 @@ endif()

add_executable(OpenEXRExamples
drawImage.cpp
drawImage.h
generalInterfaceExamples.cpp
generalInterfaceExamples.h
generalInterfaceTiledExamples.cpp
generalInterfaceTiledExamples.h
lowLevelIoExamples.cpp
lowLevelIoExamples.h
main.cpp
namespaceAlias.h
previewImageExamples.cpp
previewImageExamples.h
rgbaInterfaceExamples.cpp
rgbaInterfaceExamples.h
rgbaInterfaceTiledExamples.cpp
rgbaInterfaceTiledExamples.h
)
target_link_libraries(OpenEXRExamples OpenEXR::OpenEXR)

Expand Down
2 changes: 2 additions & 0 deletions src/lib/OpenEXRCore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ openexr_define_library(OpenEXRCore
internal_decompress.h
internal_file.h
internal_float_vector.h
internal_huf.h
internal_memory.h
internal_opaque.h
internal_posix_file_impl.h
Expand All @@ -25,6 +26,7 @@ openexr_define_library(OpenEXRCore
internal_string.h
internal_string_vector.h
internal_structs.h
internal_util.h
internal_xdr.h

internal_rle.c
Expand Down
1 change: 1 addition & 0 deletions src/test/IexTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
add_executable(IexTest
main.cpp
testBaseExc.cpp
testBaseExc.h
)

target_link_libraries(IexTest OpenEXR::Iex)
Expand Down
9 changes: 8 additions & 1 deletion src/test/OpenEXRCoreTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@

add_executable(OpenEXRCoreTest
base_units.cpp
base_units.h
compression.cpp
compression.h
deep.cpp
deep.h
general_attr.cpp
general_attr.h
main.cpp
read.cpp
read.h
test_value.h
write.cpp
deep.cpp
write.h
)
target_compile_definitions(OpenEXRCoreTest PRIVATE ILM_IMF_TEST_IMAGEDIR="${CMAKE_CURRENT_SOURCE_DIR}/../OpenEXRTest/")
# TODO: remove exr once we are happy everything is identical
Expand Down
8 changes: 7 additions & 1 deletion src/test/OpenEXRFuzzTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ option(OPENEXR_RUN_FUZZ_TESTS "Controls whether to include the fuzz tests (slow
if(OPENEXR_RUN_FUZZ_TESTS)
add_executable( OpenEXRFuzzTest
fuzzFile.cpp
fuzzFile.h
main.cpp
testFuzzDeepTiles.cpp
tmpDir.h
testFuzzDeepScanLines.cpp
testFuzzDeepScanLines.h
testFuzzDeepTiles.cpp
testFuzzDeepTiles.h
testFuzzScanLines.cpp
testFuzzScanLines.h
testFuzzTiles.cpp
testFuzzTiles.h
)
target_link_libraries(OpenEXRFuzzTest OpenEXR::OpenEXR)
set_target_properties(OpenEXRFuzzTest PROPERTIES
Expand Down
65 changes: 65 additions & 0 deletions src/test/OpenEXRTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,134 @@
# Copyright (c) Contributors to the OpenEXR Project.

add_executable(OpenEXRTest
TestUtilFStream.h
bswap_32.h
compareB44.cpp
compareB44.h
compareDwa.cpp
compareDwa.h
compareFloat.cpp
compareFloat.h
main.cpp
random.cpp
random.h
testAttributes.cpp
testAttributes.h
testB44ExpLogTable.cpp
testB44ExpLogTable.h
testBackwardCompatibility.cpp
testBackwardCompatibility.h
testBadTypeAttributes.cpp
testBadTypeAttributes.h
testChannels.cpp
testChannels.h
testCompositeDeepScanLine.cpp
testCompositeDeepScanLine.h
testCompression.cpp
testCompression.h
testConversion.cpp
testConversion.h
testCopyDeepScanLine.cpp
testCopyDeepScanLine.h
testCopyDeepTiled.cpp
testCopyDeepTiled.h
testCopyMultiPartFile.cpp
testCopyMultiPartFile.h
testCopyPixels.cpp
testCopyPixels.h
testCpuId.cpp
testCpuId.h
testCustomAttributes.cpp
testCustomAttributes.h
testDeepScanLineBasic.cpp
testDeepScanLineBasic.h
testDeepScanLineHuge.cpp
testDeepScanLineHuge.h
testDeepScanLineMultipleRead.cpp
testDeepScanLineMultipleRead.h
testDeepTiledBasic.cpp
testDeepTiledBasic.h
testDwaCompressorSimd.cpp
testDwaCompressorSimd.h
testDwaLookups.cpp
testDwaLookups.h
testExistingStreams.cpp
testExistingStreams.h
testFutureProofing.cpp
testFutureProofing.h
testHuf.cpp
testHuf.h
testIDManifest.cpp
testIDManifest.h
testInputPart.cpp
testInputPart.h
testIsComplete.cpp
testIsComplete.h
testLargeDataWindowOffsets.cpp
testLargeDataWindowOffsets.h
testLineOrder.cpp
testLineOrder.h
testLut.cpp
testLut.h
testMagic.cpp
testMagic.h
testMalformedImages.cpp
testMalformedImages.h
testMultiPartApi.cpp
testMultiPartApi.h
testMultiPartFileMixingBasic.cpp
testMultiPartFileMixingBasic.h
testMultiPartSharedAttributes.cpp
testMultiPartSharedAttributes.h
testMultiPartThreading.cpp
testMultiPartThreading.h
testMultiScanlinePartThreading.cpp
testMultiScanlinePartThreading.h
testMultiTiledPartThreading.cpp
testMultiTiledPartThreading.h
testMultiView.cpp
testMultiView.h
testNativeFormat.cpp
testNativeFormat.h
testOptimized.cpp
testOptimized.h
testOptimizedInterleavePatterns.cpp
testOptimizedInterleavePatterns.h
testPartHelper.cpp
testPartHelper.h
testPreviewImage.cpp
testPreviewImage.h
testRgba.cpp
testRgba.h
testRgbaThreading.cpp
testRgbaThreading.h
testRle.cpp
testRle.h
testSampleImages.cpp
testSampleImages.h
testScanLineApi.cpp
testScanLineApi.h
testSharedFrameBuffer.cpp
testSharedFrameBuffer.h
testStandardAttributes.cpp
testStandardAttributes.h
testTiledCompression.cpp
testTiledCompression.h
testTiledCopyPixels.cpp
testTiledCopyPixels.h
testTiledLineOrder.cpp
testTiledLineOrder.h
testTiledRgba.cpp
testTiledRgba.h
testTiledYa.cpp
testTiledYa.h
testWav.cpp
testWav.h
testXdr.cpp
testXdr.h
testYca.cpp
testYca.h
tmpDir.h
)
target_compile_definitions(OpenEXRTest PRIVATE ILM_IMF_TEST_IMAGEDIR="${CMAKE_CURRENT_SOURCE_DIR}/")
target_link_libraries(OpenEXRTest OpenEXR::OpenEXR)
Expand Down
4 changes: 4 additions & 0 deletions src/test/OpenEXRUtilTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
add_executable(OpenEXRUtilTest
main.cpp
testFlatImage.cpp
testFlatImage.h
testDeepImage.cpp
testDeepImage.h
testIO.cpp
testIO.h
tmpDir.h
)
target_link_libraries(OpenEXRUtilTest OpenEXR::OpenEXRUtil)
set_target_properties(OpenEXRUtilTest PROPERTIES
Expand Down