Skip to content
Snippets Groups Projects

BF: make fslcomplex preserve image orientation

Merged Paul McCarthy requested to merge bf/fslcomplex-orient into master
6 files
+ 194
24
Compare changes
  • Side-by-side
  • Inline
Files
6
+ 8
3
@@ -5,7 +5,7 @@ PROJNAME = test-newimage
@@ -5,7 +5,7 @@ PROJNAME = test-newimage
TESTXFILES = test-newimage
TESTXFILES = test-newimage
LIBS = -lfsl-newimage -lfsl-miscmaths -lfsl-NewNifti \
LIBS = -lfsl-newimage -lfsl-miscmaths -lfsl-NewNifti \
-lfsl-cprob -lfsl-utils -lfsl-znz
-lfsl-cprob -lfsl-utils -lfsl-znz -lboost_unit_test_framework
# The test program can be run against
# The test program can be run against
# an in-source checkout, or against
# an in-source checkout, or against
@@ -30,8 +30,13 @@ endif
@@ -30,8 +30,13 @@ endif
all: ${TESTXFILES}
all: ${TESTXFILES}
 
OBJS = test_main.o test_volume_constructor.o test_complexvolume.o
 
# We add -I.., -L.., -Wl,-rpath so that
# We add -I.., -L.., -Wl,-rpath so that
# in-source builds take precedence over
# in-source builds take precedence over
# $FSLDEVDIR/$FSLDIR
# $FSLDEVDIR/$FSLDIR
test-newimage: test.cc
%.o: %.cc
$(CXX) -I.. ${CXXFLAGS} -o $@ $< -L.. ${RPATH} ${LDFLAGS}
$(CXX) -I.. ${CXXFLAGS} -c -o $@ $<
 
 
test-newimage: ${OBJS}
 
$(CXX) -o $@ $^ -L.. ${RPATH} ${LDFLAGS}
Loading