]> Creatis software - FrontAlgorithms.git/commitdiff
Merge
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Wed, 14 Oct 2015 23:37:58 +0000 (18:37 -0500)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Wed, 14 Oct 2015 23:37:58 +0000 (18:37 -0500)
1  2 
CMakeLists.txt

diff --combined CMakeLists.txt
index 2c9769bab4b0c7a8b865ceb9fe5bba597610cde7,84bf1fa26fec2072b04df56f48d037dead74f57e..5bf1a02de46646e08d9459923c97558beb66a203
@@@ -21,13 -21,10 +21,13 @@@ ENDFOREACH(policy
  ## ================
  
  PROJECT(FrontAlgorithms)
 -SET(FrontAlgorithms_MAJOR_VERSION   "0")
 -SET(FrontAlgorithms_MINOR_VERSION   "0")
 -SET(FrontAlgorithms_RELEASE_VERSION "1")
 -SET(FrontAlgorithms_VERSION "${FrontAlgorithms_MAJOR_VERSION}.${FrontAlgorithms_MINOR_VERSION}.${FrontAlgorithms_RELEASE_VERSION}")
 +SET(prj_MAJOR_VERSION   "0")
 +SET(prj_MINOR_VERSION   "0")
 +SET(prj_RELEASE_VERSION "1")
 +SET(
 +  prj_VERSION
 +  "${prj_MAJOR_VERSION}.${prj_MINOR_VERSION}.${prj_RELEASE_VERSION}"
 +  )
  
  ## ===========
  ## = Options =
@@@ -46,10 -43,25 +46,11 @@@ ENDIF(BUILD_SHARED_LIBS
  ## = Packages =
  ## ============
  
+ # Prepare header to build shared libs (windows)
  INCLUDE(GenerateExportHeader)
  
 -# Find ITK and VTK
 -FIND_PACKAGE(ITK REQUIRED)
 -FIND_PACKAGE(VTK REQUIRED)
 -
 -INCLUDE(${ITK_USE_FILE})
 -INCLUDE(${VTK_USE_FILE})
 -
 -# Do not use itk-vtk glue --> problems ahead!!!
 -IF(ITKVtkGlue_LOADED)
 -  MESSAGE(FATAL_ERROR "ITKVtkGlue module is available. Please re-compile your ITK without it. It could lead to nasty compilation problems... Just waiting for Kitware to solve it.")
 -ENDIF(ITKVtkGlue_LOADED)
 -
 -OPTION(USE_cpPlugins "Build cpPlugins based stuff" OFF)
 -IF(USE_cpPlugins)
 -  FIND_PACKAGE(cpPlugins REQUIRED)
 -ENDIF(USE_cpPlugins)
 +# Find cpPlugins
 +FIND_PACKAGE(cpPlugins REQUIRED)
  
  ## ================================================
  ## = Do not allow to build inside the source tree =