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

COMP: ELASTIX-1 Move auto-generated file to build tree

parent 148cc3c5
No related branches found
No related tags found
No related merge requests found
......@@ -24,19 +24,24 @@ if( NOT EXISTS ${ELASTIX_UNITTEST_OUTPUT_DATA_DIR} )
)
endif()
# ---------------------------------------------------------------------
# Build test data manager
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/elxDataDirectories.h.in
${CMAKE_CURRENT_SOURCE_DIR}/elxDataDirectories.h
${CMAKE_CURRENT_BINARY_DIR}/elxDataDirectories.h
ESCAPE_QUOTES
)
# Build tests
include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
add_library( DataManager elxDataManager.cxx )
list( APPEND TEST_LIBRARIES
DataManager
)
# ---------------------------------------------------------------------
# Build tests
foreach( ElastixUnitTestFilename ${ElastixUnitTestFilenames} )
# Build tests executables
string( REPLACE ".cxx" "" ElastixUnitTest ${ElastixUnitTestFilename} )
......
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