]> Creatis software - gdcm.git/blobdiff - CMakeLists.txt
*ENH: vtkGdcmReader now supports LUT ! (vtkgdcmViewer for now is not able to use...
[gdcm.git] / CMakeLists.txt
index 4218ea9bfc765c1d1acf178768d557d728823b81..b63a646df2292ec6e2bf2cf24206a53a3a3dc54a 100644 (file)
@@ -1,7 +1,8 @@
 PROJECT(GDCM)\r
 CMAKE_MINIMUM_REQUIRED(VERSION 1.8)\r
 \r
-# The GDCM version number.\r
+#-----------------------------------------------------------------------------\r
+# GDCM version number, usefull for packaging and doxygen doc:\r
 SET(GDCM_VERSION_MAJOR 0)\r
 SET(GDCM_VERSION_MINOR 4)\r
 SET(GDCM_VERSION_PATCH 0)\r
@@ -18,7 +19,7 @@ SET(GDCM_EXECUTABLE_PATH "${EXECUTABLE_OUTPUT_PATH}")
 \r
 #-----------------------------------------------------------------------------\r
 # datadir in CMake:\r
-SET(GDCM_DATA_DIR "/share/gdcm" CACHE INTERNAL \r
+SET(GDCM_DATA_DIR "/share/gdcm/" CACHE INTERNAL \r
   "Install location for data (relative to prefix).")\r
 MARK_AS_ADVANCED(GDCM_DATA_DIR)\r
 \r
@@ -34,8 +35,8 @@ SET(GDCM_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
 # Build directory on which many applications depend\r
 SUBDIRS(\r
   src\r
-  Test\r
   Dicts\r
+  Test\r
 )\r
 \r
 #-----------------------------------------------------------------------------\r
@@ -73,6 +74,14 @@ IF(DOXYGEN)
   ENDIF(GDCM_DOXYGEN)\r
 ENDIF(DOXYGEN)\r
 \r
+#-----------------------------------------------------------------------------\r
+# Configure files with settings for use by the build.\r
+\r
+# to be rewritten to include only the necessary\r
+#CONFIGURE_FILE(${GDCM_SOURCE_DIR}/UseGdcm.cmake.in \r
+#               ${GDCM_BINARY_DIR}/UseGdcm.cmake COPYONLY IMMEDIATE)\r
+\r
+\r
 #-----------------------------------------------------------------------------\r
 # Copy / paste from old m4 script:\r
 \r
@@ -85,7 +94,7 @@ ENDIF(DOXYGEN)
 #      README \\r
 #      TODO \\r
 #      gdcm.spec \\r
-#  gdcm.dsw\r
+#       gdcm.dsw\r
 \r
 #release:\r
 #      $(MAKE) dist distdir=$(PACKAGE)-$(VERSION)\r