[root]/Libs/GenerateCLP
Testing
(7 files, 408 lines)

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 125 (100.0%) | 3231 (100.0%) | 25.8 |
| lorensen | 57 (45.6%) | 2349 (72.7%) | 41.2 |
| millerjv | 20 (16.0%) | 483 (14.9%) | 24.1 |
| barre | 25 (20.0%) | 357 (11.0%) | 14.2 |
| hjohnson | 9 (7.2%) | 20 (0.6%) | 2.2 |
| aylward | 4 (3.2%) | 13 (0.4%) | 3.2 |
| pieper | 4 (3.2%) | 6 (0.2%) | 1.5 |
| malaterre | 1 (0.8%) | 3 (0.1%) | 3.0 |
| jcfr | 3 (2.4%) | 0 (0.0%) | 0.0 |
| finetjul | 1 (0.8%) | 0 (0.0%) | 0.0 |
| davisb | 1 (0.8%) | 0 (0.0%) | 0.0 |
BUG: Fix Libs/GenerateCLP/CMakeLists.txt - Rule of thumb: always add the ADD_SUBDIRECTORY(Testing) at the end of the parent CMakeLists.txt
In this specific case, the GenerateCLPconfig.cmake.in was configured
after the testing directory was included.
Since using ADD_SUBDIRECTORY ensures that things are done in sequence ...
we obviously got a problem.
As specified in the doc:http://cmake.org/cmake/help/cmake-2-8-docs.html#command:add_subdirectory
"The CMakeLists.txt file in the specified source directory will be
processed immediately by CMake before processing in the current input file continues beyond this command."
0 lines of code changed in 1 file:
ENH: In CMakeLists.txt, change deprecated SUBDIRS command into ADD_SUBDIRECTORY
See http://cmake.org/cmake/help/cmake-2-8-docs.html#command:subdirs
when subdirs command was taking a list of directory, change it
using the following pattern:
Before:
subdirs(sagarmatha kumbhu eiger)
After:
SET(dirs
sagarmatha
kumbhu
eiger
)
FOREACH(dir ${dirs})
ADD_SUBDIRECTORY(${dir})
ENDFOREACH(dir)
0 lines of code changed in 1 file:
ENH: Update CMakeLists.txt - CMake 2.6 is now required
The following line have been added:
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
IF(COMMAND CMAKE_POLICY)
CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND CMAKE_POLICY)
MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)
0 lines of code changed in 1 file:
COMP: With the conversion to CMake version 2.6, the variables CMAKE_RUNTIME_OUTPUT_DIRECTORY CMAKE_LIBRARY_OUTPUT_DIRECTORY CMAKE_ARCHIVE_OUTPUT_DIRECTORY should be used instead of EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH.
0 lines of code changed in 3 files:
ENH: move the try{} statement to expose TCLAP::CommandLine and the TCLAP::Args for a dynamic access to the module command line argument.
0 lines of code changed in 1 file:
COMP: you guys should try 64bits...
0 lines of code changed in 1 file:
COMP: gcc warnings.
0 lines of code changed in 1 file:
COMP: Removed compiler warnings from generated CLP files.
0 lines of code changed in 1 file:
ENH: Added "alias" and "deprecatedalias" attributes to <flag> and <longflag> tags in the ModuleDescription. Aliases and deprecated aliases are automatically mapped to the proper flag. Deprecated aliases will emit a warning when used.
0 lines of code changed in 1 file:
COMP: Removed compiler warnings due to mis-matched types.
20 lines of code changed in 2 files:
ENH: apparently the Forward Launcher has issue with space in paths on WIN32. It's OK, we didn't really need it on Windows.
18 lines of code changed in 3 files:
ENH: fix launcher on Win32
1 lines of code changed in 1 file:
ENH: finally, added launchers for GenerateCLP and GenerateLM so that they can be used from an installed Slicer3.
192 lines of code changed in 3 files:
BUG: fix GenerateCLP and GenerateLM for "nmake" and mixed quoted and unquoted arguments with spaces in paths (damn Microsoft compiler)
20 lines of code changed in 1 file:
ENH: fix more evil when spaces in paths are involved. On Win32 (nmake mode), if the path to GENERATECLP_EXE had a space, *and* the second parameter to it had no space, and the third had spaces, then GENERATECLP_EXE would be quoted, the third arg as well, but the second wouldn't; at this point either tclap or nmake apparently would totally choke with the combinations of quoted and non-quoted arguments, and the second argument would be split in strange ways that would ultimately prevent generateclp from working (e.g. d:/foo/bar would end up as two d: and /foo/bar args). Lost hours on that. The trick, I'm afraid, is too use valued arguments everywhere, which is what I changed here by adding --InputXML and --OutputCxx
12 lines of code changed in 4 files:
ENH: VERBATIM is still not the default in ADD_CUSTOM_COMMAND but this is really the way to go if you want to be able to deal with spaces *and* parenthesis in your path on unix
2 lines of code changed in 1 file:
ENH: make sure all sub-project in Libs/ can be built in a standalone fashion (remove 99% of the refs to Slicer3, macros, etc). Make sure all external toolkits are properly included, and fix some issues in MRML with respect to TEEM/vtkTeem.
4 lines of code changed in 1 file:
ENH: stat fixing problem with space in paths
8 lines of code changed in 3 files:
ENH: Slicer3 Spring Installation Clean Up
100 lines of code changed in 5 files:
ENH: allow a module (Modules/GradientAnisotropicDiffusionFilter for now) to be built in a standalone fashion against eithera Slicer3 build or Slicer3 installed. Update the config files accordingly, add missing installation rules, etc. Also unscreamify and indent many CMakeLists.txt in the process.
0 lines of code changed in 1 file:
ENH: Required for CMake 2.6 (beta)
0 lines of code changed in 1 file:
COMP: The NO_MODULE flag to FIND_PACKAGE was introduced after cmake version 2.4
0 lines of code changed in 1 file:
ENH: There is no cmake module for TCLAP or ModuleDescriptionParser, so be explicit in not looking for the module.
0 lines of code changed in 1 file:
BUG: The variables names for filling in the installed version of the configuration were not filled in correctly.
0 lines of code changed in 1 file:
ENH: Changes in the Slicer3 installation layout to simplify navigation. Most things will now try install themselves under <Installation Directory>/lib/<Package> or <Installation Directory>/include/<Package>. For example, <Installation Directory>/lib/Slicer3, <Installation Directory>/lib/MRML, <Installation Directory>/lib/ModuleDescriptionParser. This allows setting include and library paths consistently using ../<SomeOtherPackage> or ../../include/<SomeOtherPackage>, etc.
1 lines of code changed in 1 file:
ENH: Re-order lines needed on linux
1 lines of code changed in 1 file:
ENH: Allows the user to specify an EXECUTABLE_OUTPUT_PATH when using GenerateCLP outside of Slicer
12 lines of code changed in 2 files:
ENH: more changes to Slicer, GenerateCLP, ModuleDescriptionParser, and TCLAP to support building command line modules against an installation. This currently works with a CVSHEAD ITK. Remaining configuration changes are to install .lib's under <install>/lib/Slicer3 instead of under <install>/lib. This will make all the packages consistent in how they navigate from where the <Pkg>Config.cmake lives in the installation to the directories for libs, includes, etc.
15 lines of code changed in 3 files:
ENH: More changes to the configurations of GenerateCLP to streamline its use and installation. Thanks to Hans Johnson for working through many of these issues.
109 lines of code changed in 4 files:
COMP: fix compiler warnings for gcc -Wall
0 lines of code changed in 1 file:
ENH: More configuration changes to support building plugins from a Slicer3 installation (still not complete)
88 lines of code changed in 4 files:
ENH: In the generated code, block the redefinition of main if REGISTER_TEST is defined. This will allow testing of CLI executables with the itk test harness.
1 lines of code changed in 1 file:
ENH: Install targets in preparation for building command line modules from a Slicer installation
1 lines of code changed in 1 file:
BUG: fix lingering use of wrong xml element name and add extra debugging information in the error message
2 lines of code changed in 2 files:
BUG: fix incorrect xml files
1 lines of code changed in 1 file:
COMP: minor change to prototype in generated code.
4 lines of code changed in 1 file:
ENH: GenerateCLP support for <file multiple="true"> when a filename in the list contains commas. Requires quoting some of the filenames in the list and unquoting within the module. All of this is handled by the GUI and command line processing. May need to do similar changes for string-vector.
85 lines of code changed in 1 file:
ENH: Module discovery process now looks into executables for global symbols to avoid running the executable in the discovery process. Discovery process now looks for dlls with globals, dlls with entry points, executables with globals, and executables with command line options --xml, in that order.
33 lines of code changed in 1 file:
ENH: Restructured generated code.
ENH: Investigating using global constants instead of just functions. Instead of running an executable and passing in command line arguments, we can open the executable as if it was a DLL and peek for global symbols that provide the XML description, logos, etc. Peeking in an executable for symbols can be 50 times faster than running the executable.
106 lines of code changed in 1 file:
ENH: Clean up entry point and export tags (to not reference slicer)
8 lines of code changed in 1 file:
(47 more)