Skip to content
Snippets Groups Projects

BF: make fslcomplex preserve image orientation

Merged Paul McCarthy requested to merge bf/fslcomplex-orient into master
Files
6
+ 8
3
@@ -5,7 +5,7 @@ PROJNAME = test-newimage
TESTXFILES = test-newimage
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
# an in-source checkout, or against
@@ -30,8 +30,13 @@ endif
all: ${TESTXFILES}
OBJS = test_main.o test_volume_constructor.o test_complexvolume.o
# We add -I.., -L.., -Wl,-rpath so that
# in-source builds take precedence over
# $FSLDEVDIR/$FSLDIR
test-newimage: test.cc
$(CXX) -I.. ${CXXFLAGS} -o $@ $< -L.. ${RPATH} ${LDFLAGS}
%.o: %.cc
$(CXX) -I.. ${CXXFLAGS} -c -o $@ $<
test-newimage: ${OBJS}
$(CXX) -o $@ $^ -L.. ${RPATH} ${LDFLAGS}
Loading