Skip to content
Closed
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
2 changes: 1 addition & 1 deletion Common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ source_group( "ImageSamplers" FILES ${ImageSamplersFiles} )
#---------------------------------------------------------------------
# Create the elxCommon library.

add_library( elxCommon STATIC
add_library( elxCommon
${CommonFiles}
${CostFunctionFiles}
${TransformFiles}
Expand Down
4 changes: 2 additions & 2 deletions Common/MevisDicomTiff/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ project( MevisDicomTiff )

if( ELASTIX_USE_MEVISDICOMTIFF )
add_definitions( -D_ELASTIX_USE_MEVISDICOMTIFF )
add_library( mevisdcmtiff STATIC
add_library( mevisdcmtiff
itkMevisDicomTiffImageIO.cxx
itkMevisDicomTiffImageIOFactory.cxx
itkUseMevisDicomTiff.cxx
)
else()
# avoid dependencies, but compile the lib, so that customers of this
# lib can just call RegisterMevisDicomTiff without checking.
add_library( mevisdcmtiff STATIC
add_library( mevisdcmtiff
itkUseMevisDicomTiff.cxx
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion Common/OpenCL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ set( OpenCL_Files
)

# Create the openCL library
add_library( elxOpenCL STATIC ${OpenCL_Files} )
add_library( elxOpenCL ${OpenCL_Files} )

# Link it against the necessary libraries.
target_link_libraries( elxOpenCL
Expand Down
2 changes: 1 addition & 1 deletion Common/ParameterFileParser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set( param_SRCS

source_group( "Parser" FILES ${param_SRCS} )

add_library( param STATIC ${param_SRCS} )
add_library( param ${param_SRCS} )
install( TARGETS param
ARCHIVE DESTINATION ${ELASTIX_ARCHIVE_DIR}
LIBRARY DESTINATION ${ELASTIX_LIBRARY_DIR}
Expand Down
2 changes: 1 addition & 1 deletion Common/xout/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set( xouthfiles
xoutcell.h )

# a lib defining the global variable xout.
add_library( xoutlib STATIC xoutmain.cxx ${xouthxxfiles} ${xouthfiles} )
add_library( xoutlib xoutmain.cxx ${xouthxxfiles} ${xouthfiles} )
install( TARGETS xoutlib
ARCHIVE DESTINATION ${ELASTIX_ARCHIVE_DIR}
LIBRARY DESTINATION ${ELASTIX_LIBRARY_DIR}
Expand Down
2 changes: 1 addition & 1 deletion Components/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ macro( ADD_ELXCOMPONENT name )

# Create project and static library
project( ${name} )
add_library( ${name} STATIC ${filelist} )
add_library( ${name} ${filelist} )
target_link_libraries( ${name} ${elxLinkLibs} )
install( TARGETS ${name}
ARCHIVE DESTINATION ${ELASTIX_ARCHIVE_DIR}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ set( KNN_Files
add_subdirectory( ann_1.1 )

# Create the KNN library
add_library( KNNlib STATIC ${KNN_Files} )
add_library( KNNlib ${KNN_Files} )

# Link it against the necessary libraries.
target_link_libraries( KNNlib ANNlib ${ITK_LIBRARIES} )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ set( ANN_SRCS
)

# Create the ANNlib library
add_library( ANNlib SHARED ${ANN_SRCS} )
add_library( ANNlib ${ANN_SRCS} )

# Necessary when building a library, because in windows dll_export
# is needed for creating the dll, but dll_import for using it in a program.
Expand Down
2 changes: 1 addition & 1 deletion Core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ source_group( "ProgressCommand" FILES ${ProgressCommandFiles} )
#---------------------------------------------------------------------
# Create the elxCore library.

add_library( elxCore STATIC
add_library( elxCore
${KernelFilesForComponents}
${InstallFilesForComponents}
${ConfigurationFiles}
Expand Down