Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Dec 17, 2013

  1. Jean-Christophe Fillion-Robin

    COMP: Configure include directories into SlicerConfig.cmake

    This commit adds the following variables to the config file:
    
    For each module:
    
    - <Module>_INCLUDE_DIRS
    - <ModuleLogic>_INCLUDE_DIRS
    - <ModuleMRML>_INCLUDE_DIRS
    - <ModuleWidget>_INCLUDE_DIRS
    
    and for MRMLLogic:
    
    - MRMLLogic_INCLUDE_DIRS
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@22779 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Aug 27, 2013

  1. Jean-Christophe Fillion-Robin

    COMP: Add macro "slicerMacroBuildLoadableModule"

    Both macros "slicerMacroBuildQtModule" and "slicerMacroBuildLoadableModule"
    can be used. At this point, no warning message is displayed if the
    deprecated macro is used.
    
    Fixes #2648
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@22342 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Mar 12, 2013

  1. Jean-Christophe Fillion-Robin

    STYLE: Fix typo and remove "Qt" from message associated with slicerMa…

    …croBuildQtModule
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@21798 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Feb 24, 2013

  1. Jean-Christophe Fillion-Robin

    COMP: Update system to use CMake built-in macro "cmake_parse_arguments"

    SLICER_PARSE_ARGUMENTS has been kept around but will display an error
    message if it used by some extension. That will give the opportunity
    for extension maintainer to update their CMakeLists.txt.
    
    Considering that the file "CMakeParseArguments" is also included in the
    code base associated with Slicer 4.2.2-1, simply updating the extension
    so that "cmake_parse_arguments" is used will be sufficient. Say differently,
    CMakeLists.txt maintained for both extension build against Slicer nightly
    and Slicer 4.2.2-1 won't diverge.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@21774 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Feb 22, 2013

  1. Jean-Christophe Fillion-Robin

    ENH: Add option WITH_GENERIC_TESTS to slicerMacroBuildQtModule

    Instead of manually invoking "SlicerMacroConfigureGenericCxxModuleTests"
    and then adding the associated test, specifying this new option
    will auto-magically add the generic tests.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@21768 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Feb 14, 2013

  1. Jean-Christophe Fillion-Robin

    COMP: Unknown keyword passed to build macro now trigger an error.

    This will allow to catch typo early one by preventing developer from
    adding unknown/unused arguments.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@21699 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Mar 22, 2012

  1. Jean-Christophe Fillion-Robin

    STYLE: Display name of export header when configuring loadable module

    * Thanks to Andriy for suggesting the idea :)
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@19681 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Sep 21, 2011

  1. Jean-Christophe Fillion-Robin

    STYLE: Remove year from Kitware copyright

    git-svn-id: http://svn.slicer.org/Slicer4/trunk@18157 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Sep 16, 2011

  1. Jean-Christophe Fillion-Robin

    COMP: slicerMacroBuildQtModule - Add NO_TITLE option

    Usually, one module per directory is defined. Trying to build two modules
    from the same directory will lead to a multiple definition warning related
    to QTMODULE_TITLE macro.
    
    By passing the option NO_TITLE, the macro won't be re-define and we
    will avoid the issue. Doing so implies that we directly hardcode the
    title in qSlicer<MODULENAME>Module.h
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@18083 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored
  2. Jean-Christophe Fillion-Robin

    COMP: Build QtModule/ModuleQtLibrary macro - Make sure to clear varia…

    …bles
    
    * Macro like QT4_ADD_RESOURCES, QT4_WRAP_UI and QT4_WRAP_CPP will append
    source filenames to the variable passed as parameter.
    Let's make sure to clear these variable in case multiple invocation of
    these macro is done within the same directory.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@18082 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Jul 10, 2011

  1. Jean-Christophe Fillion-Robin

    ENH: slicerMacroBuildQtModule - Add NO_INSTALL option

    git-svn-id: http://svn.slicer.org/Slicer4/trunk@17448 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Jul 03, 2011

  1. Jean-Christophe Fillion-Robin

    ENH: Status messages are now displayed at different stage of the conf…

    …iguration process
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@17314 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Jun 23, 2011

  1. Jean-Christophe Fillion-Robin

    STYLE: Rename Doc/copyright/copyright.txt into COPYRIGHT.txt

    git-svn-id: http://svn.slicer.org/Slicer4/trunk@17208 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored
  2. Jean-Christophe Fillion-Robin

    COMP: slicerMacroBuildQtModule - Properly set the files to exclude fr…

    …om wrapping
    
    * Note that the module widget are not wrapped
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@17199 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored
  3. Jean-Christophe Fillion-Robin

    STYLE: Move CMake commands to match new conventions

    The next step in removing end-of-lines is to run through all the
    CMakeLists.txt files and clean them up.
    
    This also changes all the key words to lower
    case. The primary reason for changing key words is that all documentation for
    CMakeLists.txt now shows the key words as lower case. Even the printed
    “Mastering CMake v5” uses lower case. I’ve come across this several
    times in my class where students stumble over the fact that the
    documentation about Cmake does not match the implementation in ITK.
    
    I have a script (a wrapper around a vim macro) written that can make
    these substituions reliably (Tested on the BRAINS tree, the Slicer3
    tree, and the ITK tree without causing any errors).  More complete
    documentation can be found in
    ITK/Utilities/Maintenance/HowToCreateTheCMakeCaseConversion.txt
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@17191 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Jun 11, 2011

  1. Jean-Christophe Fillion-Robin

    COMP: Extension - Output generated libraries in the build directory o…

    …f the extension
    
    Prior to that commit, the library of an extension where generated into
    Slicer build tree.
    
    Slicer now supports the ability to add/remove additional module paths,
    it means generated libraries associated with an extension should be
    outputted in their dedicated location (in that case the build directory of the extension
    itself)
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16948 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Jun 04, 2011

  1. Jean-Christophe Fillion-Robin

    STYLE: Fix indent

    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16776 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored
  2. Jean-Christophe Fillion-Robin

    ENH: Refactor Install rule variables to only be used in install comma…

    …nds.
    
    Added a second set of variables named Slicer_<blah>_DIR which contain the appropriate directory prefixes such as bin lib share. These variables can be used reference file in the build or install trees such as the input/output of a configure command. Slicer_INSTALL_<blah> should only be used for install commands as on the Mac these variables will be prefixed with Slicer.app\Contents which we likely do not want in the root of the build tree.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16771 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

May 09, 2011

  1. Jean-Christophe Fillion-Robin

    COMP: slicerMacroBuildQtModule/SlicerMacroBuildModuleLibrary - Use Sl…

    …icer_DIR to set OUTPUT_DIR
    
    Waiting the infrastructure allowing to add path to module factory,
    doing so will allow extension to be properly loaded in Slicer.
    
    Indeed, at build time both plugins and dependent library will be written in
    the appropriate directory.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16509 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

May 06, 2011

  1. Jean-Christophe Fillion-Robin

    ENH: Slicer Base libraries, ModuleMRML and ModuleLogic targets are ex…

    …ported
    
    Both global list Slicer_Libs_LIBRARIES and Slicer_Base_LIBRARIES have
    been removed. It means libraries are expected to specify explicitly
    their dependencies.
    
    Variable Slicer_CORE_LIBRARY and Slicer_GUI_LIBRARY have been introduced.
    They should be used each time it's required to link against qSlicerBaseQTCore
    or qSlicerBaseQTGUI.
    
    The variable MRML_LIBRARIES has been introduced, it should be used each
    time a module is expected to link against the trhee libraries
     MRML, MRMLLogic and MRMLDisplayableManager. The rational behind this variable
    is too anticipate a future possible relocation of MRML related libraries
    outside of Slicer.
    
    Waiting we setup a way to export the include directory associated with
    all libraries so that they can be available to extension using SlicerConfig.
    tThese diretories are still automatically appended to the global variables:
    Slicer_Libs_INCLUDE_DIRS, Slicer_Base_INCLUDE_DIRS, Slicer_ModuleMRML_INCLUDE_DIRS
    and Slicer_ModuleLogic_INCLUDE_DIRS
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16490 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Apr 28, 2011

  1. Jean-Christophe Fillion-Robin

    COMP: slicerMacroBuildQtModule/SlicerMacroBuildModuleLogic - Add FATA…

    …L_ERROR to message statement
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16410 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Apr 26, 2011

  1. Jean-Christophe Fillion-Robin

    COMP: Add Slicer_INSTALL_DEVELOPMENT option - By default OFF

    For now, this is *just* a regular variable instead of being a CMake Option.
    In order to be able to provide a developer package. More work is required.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16361 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored
  2. Jean-Christophe Fillion-Robin

    STYLE: Fix indent, add comment in CMakeLists.txt and Slicer Build macros

    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16360 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored
  3. Jean-Christophe Fillion-Robin

    COMP: Remove call to find_package(Slicer)

    Find_package(slicer) should be done within the project that depends on Slicer
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16341 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored
  4. Jean-Christophe Fillion-Robin

    STYLE: slicerMacroBuildQtModule - Remove extra code and fix indentation

    git-svn-id: http://svn.slicer.org/Slicer4/trunk@16324 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored

Jan 14, 2011

  1. Julien Finet

    ENH: Expose cmake variables into the build dir of Slicer for external…

    … use.
    
    Add an example to compile a module outside of slicer.
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@15841 3bd1e089-480b-0410-8dfb-8563597acbee
    finetjul authored

Jan 04, 2011

  1. Julien Finet

    ENH: Use vtkMRMLAbstractLogic instead of vtkSlicerLogic as a base cla…

    …ss for
    
    all the modules logics.
    Move pure MRML functionalities from vtkSlicerColorLogic into
    vtkMRMLColorLogic
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@15701 3bd1e089-480b-0410-8dfb-8563597acbee
    finetjul authored

Dec 07, 2010

  1. Jean-Christophe Fillion-Robin

    COMP: Rename SlicerQTModuleMacros.cmake into SlicerMacroBuildQtModule…

    ….cmake
    
    git-svn-id: http://svn.slicer.org/Slicer4/trunk@15444 3bd1e089-480b-0410-8dfb-8563597acbee
    jcfr authored
Something went wrong with that request. Please try again.