]> Creatis software - creaBruker.git/commitdiff
Unify with new CreaNewProject
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 22 Apr 2010 17:20:39 +0000 (17:20 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Thu, 22 Apr 2010 17:20:39 +0000 (17:20 +0000)
appli/CMakeLists.txt
appli/template_appli/CMakeLists.txt
appli/testBruker2Dicom/testBruker2Dicom.cxx

index 6d4daf32176727065fd99463738f4b9c98c4763a..16fb4706d2bde88a571e9cf2f1e332a8c69ce54d 100644 (file)
@@ -1,4 +1,4 @@
-# Add a SUBDIRS command for each of your applications
+# Add a SUBDIRS command for each one of your applications
 # SUBDIRS(MyApp1)
 # SUBDIRS(MyApp2)
 SUBDIRS(
index 020be7eb9eacbb0311a337b0d5c05decc8fdca12..30619a8bd14e0f85cbd668d4ce08443cf69b77c9 100644 (file)
@@ -1,18 +1,34 @@
 #----------------------------------------------------------------------------
 # 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
@@ -23,6 +39,11 @@ 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 !...) 
+
   )
 #----------------------------------------------------------------------------
 
index c8b055258c8d83428eae07eb17ea54ea9ae05a45..bcadbc55614a1e552bd9b6222042ff384e9f7b83 100644 (file)
@@ -3,8 +3,8 @@
   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
@@ -90,10 +90,10 @@ int main(int argc, char *argv[])
    " \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                              ",