Skip to content
Snippets Groups Projects
Commit 70637666 authored by Kasper Marstal's avatar Kasper Marstal
Browse files

ELASTIX-1 Add elastix macro for ITK object factory

parent f7f7d41d
No related branches found
No related tags found
No related merge requests found
......@@ -48,14 +48,13 @@ add_subdirectory( Modules )
# Testing requires CMake version 2.8.11 to download test data
if( CMAKE_VERSION VERSION_LESS 2.8.11 )
set( ELASTIX_BUILD_TESTING_DEFAULT OFF )
message( STATUS "ELASTIX_BUILD_TESTING is set to OFF by default because CMake version is less than 2.8.11" )
message( STATUS "ELASTIX_BUILD_TESTING is set to OFF because CMake version is less than 2.8.11" )
else()
set( ELASTIX BUILD_TESTING_DEFAULT ON )
endif()
option( ELASTIX_BUILD_TESTING "Enable building tests." ${ELASTIX_BUILD_TESTING_DEFAULT} )
if( ELASTIX_BUILD_TESTING )
if( ${ELASTIX_BUILD_TESTING} )
enable_testing()
add_subdirectory( Testing )
endif()
......
add_subdirectory(
Core
)
\ No newline at end of file
)
add_subdirectory(
Common
Blueprints
)
\ No newline at end of file
add_subdirectory( Common )
add_subdirectory( Blueprints )
include_directories( include )
\ No newline at end of file
include_directories( include )
......@@ -2,8 +2,8 @@
#define __elxMacro_h
/**
* Register class with the object factory and provide
* associated RTTI (Run-Time Type Information)
* Register class with the object factory and set RTTI (Run-Time Type
* Information)
*/
#define elxNewMacro( className, superClassName ) \
typedef className Self; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment