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

Sort source files in CMake targets #1067

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
8 changes: 4 additions & 4 deletions src/bin/exrenvmap/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# Copyright (c) Contributors to the OpenEXR Project.

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

target_link_libraries(exrenvmap OpenEXR::OpenEXR)
Expand Down
4 changes: 2 additions & 2 deletions src/bin/exrmaketiled/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Copyright (c) Contributors (c) to the OpenEXR Project.

add_executable(exrmaketiled
makeTiled.cpp
main.cpp
Image.cpp
main.cpp
makeTiled.cpp
)
target_link_libraries(exrmaketiled OpenEXR::OpenEXR)
set_target_properties(exrmaketiled PROPERTIES
Expand Down
4 changes: 2 additions & 2 deletions src/bin/exrmultiview/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Copyright (c) Contributors to the OpenEXR Project.

add_executable(exrmultiview
makeMultiView.cpp
main.cpp
Image.cpp
main.cpp
makeMultiView.cpp
)
target_link_libraries(exrmultiview OpenEXR::OpenEXR)
set_target_properties(exrmultiview PROPERTIES
Expand Down
20 changes: 10 additions & 10 deletions src/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,22 @@ target_link_libraries(OpenEXRExamples OpenEXR::OpenEXR)
# Examples
install(
FILES
main.cpp
drawImage.cpp
rgbaInterfaceExamples.cpp
rgbaInterfaceTiledExamples.cpp
drawImage.h
generalInterfaceExamples.cpp
lowLevelIoExamples.cpp
previewImageExamples.cpp
generalInterfaceExamples.h
generalInterfaceTiledExamples.cpp
generalInterfaceTiledExamples.h
drawImage.h
rgbaInterfaceExamples.h
generalInterfaceExamples.h
rgbaInterfaceTiledExamples.h
lowLevelIoExamples.cpp
lowLevelIoExamples.h
previewImageExamples.h
main.cpp
namespaceAlias.h
previewImageExamples.cpp
previewImageExamples.h
rgbaInterfaceExamples.cpp
rgbaInterfaceExamples.h
rgbaInterfaceTiledExamples.cpp
rgbaInterfaceTiledExamples.h
DESTINATION
${CMAKE_INSTALL_DOCDIR}/examples
)
Expand Down
12 changes: 6 additions & 6 deletions src/lib/Iex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ openexr_define_library(Iex
CURDIR ${CMAKE_CURRENT_SOURCE_DIR}
SOURCES
IexBaseExc.cpp
IexThrowErrnoExc.cpp
IexMathFloatExc.cpp
IexMathFpu.cpp
IexThrowErrnoExc.cpp
HEADERS
Iex.h
IexBaseExc.h
IexMathExc.h
IexThrowErrnoExc.h
IexErrnoExc.h
IexExport.h
IexForward.h
IexMacros.h
IexMathExc.h
IexMathFloatExc.h
IexMathIeeeExc.h
Iex.h
IexNamespace.h
IexExport.h
IexForward.h
IexThrowErrnoExc.h
DEPENDENCIES
OpenEXR::Config
)
12 changes: 6 additions & 6 deletions src/lib/IlmThread/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ openexr_define_library(IlmThread
IlmThread.cpp
IlmThreadPool.cpp
IlmThreadSemaphore.cpp
IlmThreadSemaphorePosixCompat.cpp
IlmThreadSemaphorePosix.cpp
IlmThreadSemaphoreOSX.cpp
IlmThreadSemaphorePosix.cpp
IlmThreadSemaphorePosixCompat.cpp
IlmThreadSemaphoreWin32.cpp
HEADERS
IlmThreadPool.h
IlmThread.h
IlmThreadSemaphore.h
IlmThreadMutex.h
IlmThreadNamespace.h
IlmThreadExport.h
IlmThreadForward.h
IlmThreadMutex.h
IlmThreadNamespace.h
IlmThreadPool.h
IlmThreadSemaphore.h
DEPENDENCIES
OpenEXR::Config
OpenEXR::Iex
Expand Down
Loading