X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FCMakeLists.txt;h=ca366afe6e655443f92532ffead28003bf1eff5f;hb=f05cc2cf37d7ec960b73fa9d2393d5a888e1f87a;hp=a050ba8bfe7bdd98a3dc372457886291b9d18ba0;hpb=a7894a5ffd6848731eba30e4cdf9590cf0c0dce6;p=clitk.git diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index a050ba8..ca366af 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -62,11 +62,14 @@ if(CLITK_BUILD_TOOLS) target_link_libraries(clitkBinarizeImage clitkBinarizeImageLib clitkCommon) set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkBinarizeImage) - add_executable(clitkProfileImage clitkProfileImage.cxx) target_link_libraries(clitkProfileImage clitkProfileImageLib clitkCommon) set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkProfileImage) + add_executable(clitkHistogramImage clitkHistogramImage.cxx) + target_link_libraries(clitkHistogramImage clitkHistogramImageLib clitkCommon) + set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkHistogramImage) + WRAP_GGO(clitkVFResample_GGO_C clitkVFResample.ggo) add_executable(clitkVFResample clitkVFResample.cxx clitkVFResampleGenericFilter.cxx ${clitkVFResample_GGO_C}) target_link_libraries(clitkVFResample clitkCommon) @@ -96,6 +99,16 @@ if(CLITK_BUILD_TOOLS) add_executable(clitkWriteDicomSeries clitkWriteDicomSeries.cxx ${clitkWriteDicomSeries_GGO_C}) target_link_libraries(clitkWriteDicomSeries clitkCommon ) set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkWriteDicomSeries) + + WRAP_GGO(clitkSpect2Dicom_GGO_C clitkSpect2Dicom.ggo) + add_executable(clitkSpect2Dicom clitkSpect2Dicom.cxx ${clitkSpect2Dicom_GGO_C}) + target_link_libraries(clitkSpect2Dicom clitkCommon ) + set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkSpect2Dicom) + + WRAP_GGO(clitkChangeDicomTag_GGO_C clitkChangeDicomTag.ggo) + add_executable(clitkChangeDicomTag clitkChangeDicomTag.cxx ${clitkChangeDicomTag_GGO_C}) + target_link_libraries(clitkChangeDicomTag clitkCommon ) + set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkChangeDicomTag) WRAP_GGO(clitkGateSimulation2Dicom_GGO_C clitkGateSimulation2Dicom.ggo) add_executable(clitkGateSimulation2Dicom clitkGateSimulation2Dicom.cxx ${clitkGateSimulation2Dicom_GGO_C}) @@ -134,13 +147,14 @@ if(CLITK_BUILD_TOOLS) set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkInvertVF) WRAP_GGO(clitkAffineTransform_GGO_C clitkAffineTransform.ggo) + add_library(clitkAffineTransformLib clitkAffineTransform.cxx ${clitkAffineTransform_GGO_C}) add_executable(clitkAffineTransform clitkAffineTransform.cxx ${clitkAffineTransform_GGO_C}) target_link_libraries(clitkAffineTransform clitkCommon ) set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkAffineTransform) WRAP_GGO(clitkElastixTransformToMatrix_GGO_C clitkElastixTransformToMatrix.ggo) add_executable(clitkElastixTransformToMatrix clitkElastixTransformToMatrix.cxx ${clitkElastixTransformToMatrix_GGO_C}) - target_link_libraries(clitkElastixTransformToMatrix clitkCommon ) + target_link_libraries(clitkElastixTransformToMatrix clitkAffineTransformLib clitkCommon ) set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkElastixTransformToMatrix) WRAP_GGO(clitkMatrixToElastixTransform_GGO_C clitkMatrixToElastixTransform.ggo) @@ -205,6 +219,11 @@ if(CLITK_BUILD_TOOLS) WRAP_GGO(clitkImage2DicomRTStruct_GGO_C clitkImage2DicomRTStruct.ggo) add_executable(clitkImage2DicomRTStruct clitkImage2DicomRTStruct.cxx ${clitkImage2DicomRTStruct_GGO_C}) target_link_libraries(clitkImage2DicomRTStruct clitkDicomRTStruct) + + #include pugiXML to parse XML + WRAP_GGO(clitkXml2DicomRTStruct_GGO_C clitkXml2DicomRTStruct.ggo) + add_executable(clitkXml2DicomRTStruct ../utilities/pugixml/pugixml.cpp clitkXml2DicomRTStruct.cxx ${clitkXml2DicomRTStruct_GGO_C}) + target_link_libraries(clitkXml2DicomRTStruct clitkDicomRTStruct) endif() WRAP_GGO(clitkComposeVF_GGO_C clitkComposeVF.ggo) @@ -251,6 +270,16 @@ if(CLITK_BUILD_TOOLS) target_link_libraries(clitkImageStatistics clitkCommon) set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkImageStatistics) + WRAP_GGO(clitkSUVPeak_GGO_C clitkSUVPeak.ggo) + add_executable(clitkSUVPeak clitkSUVPeak.cxx clitkSUVPeakGenericFilter.cxx ${clitkSUVPeak_GGO_C}) + target_link_libraries(clitkSUVPeak clitkCommon) + set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkSUVPeak) + + WRAP_GGO(clitkRTStructStatistics_GGO_C clitkRTStructStatistics.ggo) + add_executable(clitkRTStructStatistics clitkRTStructStatistics.cxx clitkRTStructStatisticsGenericFilter.cxx ${clitkRTStructStatistics_GGO_C}) + target_link_libraries(clitkRTStructStatistics clitkCommon) + set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkRTStructStatistics) + WRAP_GGO(clitkVFConvert_GGO_C clitkVFConvert.ggo) add_executable(clitkVFConvert clitkVFConvert.cxx clitkVFConvertGenericFilter.cxx ${clitkVFConvert_GGO_C}) target_link_libraries(clitkVFConvert clitkCommon ) @@ -285,6 +314,11 @@ if(CLITK_BUILD_TOOLS) target_link_libraries(clitkSum clitkCommon) set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkSum) + WRAP_GGO(clitkExtrude_GGO_C clitkExtrude.ggo) + add_executable(clitkExtrude clitkExtrude.cxx ${clitkExtrude_GGO_C}) + target_link_libraries(clitkExtrude clitkCommon) + set(TOOLS_INSTALL ${TOOLS_INSTALL} clitkExtrude) + WRAP_GGO(clitkTransformLandmarks_GGO_C clitkTransformLandmarks.ggo) add_executable(clitkTransformLandmarks clitkTransformLandmarks.cxx ${clitkTransformLandmarks_GGO_C}) target_link_libraries(clitkTransformLandmarks clitkCommon)