-# Add a SUBDIRS command for each of your applications
+# Add a SUBDIRS command for each one of your applications
# SUBDIRS(MyApp1)
# SUBDIRS(MyApp2)
SUBDIRS(
#----------------------------------------------------------------------------
# SET THE NAME OF YOUR EXECUTABLE
+# Replace 'MyExe' by the name you want to give your executable.
+# (a good policy is to give the executable the same name that the directory)
+
+#########################
SET ( EXE_NAME MyExe )
+#########################
+
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
# EXECUTABLE SOURCES (TO BE COMPILED)
# EITHER LIST ALL .cxx, *.cpp, *.cc IN CURRENT DIR USING NEXT LINE:
+
FILE(GLOB ${EXE_NAME}_SOURCES *.cxx *.cpp *.cc)
+
# OR MANUALLY LIST YOUR FILES WITH NEXT COMMAND (WITHOUT EXTENSION)
# SET ( ${EXE_NAME}_SOURCES
#
# )
#----------------------------------------------------------------------------
+INCLUDE_DIRECTORIES (
+
+# Add here the directories holding th extra .h files you need
+# e.g.
+# ../../lib/<my_library_I_just_created>
+
+)
+
#----------------------------------------------------------------------------
# DEPENDENCIES (LIBRARIES TO LINK WITH)
SET ( ${EXE_NAME}_LINK_LIBRARIES
# ${ITK_LIBRARIES}
# ${GDCM_LIBRARIES}
# ${BOOST_LIBRARIES}
+
+ # Add here those agmonst the various (?) PROJECT LIBRARIES
+ # you need for the current executable
+ # (If you created only one Library, don't forget it !...)
+
)
#----------------------------------------------------------------------------
Program: gdcm
Module: $RCSfile: testBruker2Dicom.cxx,v $
Language: C++
- Date: $Date: 2010/03/03 11:07:58 $
- Version: $Revision: 1.9 $
+ Date: $Date: 2010/04/22 17:20:41 $
+ Version: $Revision: 1.10 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
" \n testBruker2Dicom : \n ",
" - explores the given directory (holding a FULL Bruker exam), at the 3 levels,",
" - fills an equivalent Directory with the MHD files and/or the DICOM files",
- " usage: testBruker2Dicom --dirin=rootDirectoryName ",
- " --dirout=outputDirectoryName ",
- " [-D] [-M] ",
- " [{-b|-l}] b:BigEndian,l:LittleEndian default : l ",
+ " usage: testBruker2Dicom --dirin=rootDirectoryName ",
+ " --dirout=outputDirectoryName ",
+ " [-D] [-M] ",
+ " [{-b|-l}] b:BigEndian,l:LittleEndian default : l ",
" [--debug] [--verbose] [--listonly] [--usage] ",
" ",
" D : user wants to export as DICOM ",