Permalink
Browse files

Preliminary code for preventing compilation of some FAST detectors.

To have only FAST-9, do:

--enable-missingfast=7,8,10,11,12

--without and --disable to not allow arguments.
  • Loading branch information...
1 parent fd621bb commit 5c46a74d6c656c4b40c10c98bb6c308ac9f01cd3 edrosten committed Jul 25, 2007
Showing with 3,055 additions and 4,716 deletions.
  1. +31 −12 Makefile.in
  2. +2,962 −4,703 configure
  3. +42 −0 configure.in
  4. +7 −0 cvd_src/fast_corner.cxx
  5. +13 −1 cvd_src/faster_corner.cxx
View
@@ -103,22 +103,41 @@ CVD_OBJS= cvd_src/cvd_timer.o \
cvd_src/nonmax_suppression.o \
cvd_src/timeddiskbuffer.o \
cvd_src/videosource.o \
- cvd_src/fast/fast_7_detect.o \
- cvd_src/fast/fast_7_score.o \
- cvd_src/fast/fast_8_detect.o \
- cvd_src/fast/fast_8_score.o \
- cvd_src/fast/fast_9_detect.o \
- cvd_src/fast/fast_9_score.o \
- cvd_src/fast/fast_10_detect.o \
- cvd_src/fast/fast_10_score.o \
- cvd_src/fast/fast_11_detect.o \
- cvd_src/fast/fast_11_score.o \
- cvd_src/fast/fast_12_detect.o \
- cvd_src/fast/fast_12_score.o \
#cvd_src/fast/7_@fast_pointers@_@fast_force@.o \
#cvd_src/fast/8_@fast_pointers@_@fast_force@.o \
#cvd_src/fast/11_@fast_pointers@_@fast_force@.o \
+
+
+################################################################################
+#
+# Allow disabling of FAST detectors
+#
+ifeq (@have_FAST_7@,yes)
+ CVD_OBJS+=cvd_src/fast/fast_7_detect.o \
+ cvd_src/fast/fast_7_score.o
+endif
+ifeq (@have_FAST_8@,yes)
+ CVD_OBJS+=cvd_src/fast/fast_8_detect.o \
+ cvd_src/fast/fast_8_score.o
+endif
+ifeq (@have_FAST_9@,yes)
+ CVD_OBJS+=cvd_src/fast/fast_9_detect.o \
+ cvd_src/fast/fast_9_score.o
+endif
+ifeq (@have_FAST_10@,yes)
+ CVD_OBJS+=cvd_src/fast/fast_10_detect.o \
+ cvd_src/fast/fast_10_score.o
+endif
+ifeq (@have_FAST_11@,yes)
+ CVD_OBJS+=cvd_src/fast/fast_11_detect.o \
+ cvd_src/fast/fast_11_score.o
+endif
+ifeq (@have_FAST_12@,yes)
+ CVD_OBJS+=cvd_src/fast/fast_12_detect.o \
+ cvd_src/fast/fast_12_score.o
+endif
+
################################################################################
#
# Stuff requiring TooN
Oops, something went wrong.

0 comments on commit 5c46a74

Please sign in to comment.