# RegionExtraction file

PROJECT(VxLRegions)

SET(BASICLIBS	reg_ext_params reg_ext_starter
                region_extractor ell_region_extractor
                tesselator tuytelaars_region_extractor
                multi_region_extractor sift_descriptor
                Templates/vil1_memory_image_of+vdgl_digital_curve)
SET(EXTRALIBS	parall_region_extractor straight_region_extractor
		homogeneous_region_extractor curved_region_extractor)

IF(DEFINED nurbs_base)
  ADD_LIBRARY(region_extraction SHARED ${BASICLIBS} ${EXTRALIBS})
ELSE(DEFINED nurbs_base)
  ADD_LIBRARY(region_extraction SHARED ${BASICLIBS})
ENDIF(DEFINED nurbs_base)

#INCLUDE_DIRECTORIES( ${glut_inc} ) # Andreas needed




#--------------------------------------------------
# -DVERB_STARTER: Turns on verbose information in
#		  RegExtStarter
# -DVERB_PARAL  : Turns on verbose information during
#	          ParallelRegionExtraction
# -DVERB_CURVED : Turns on verbose information during
#		    curved region extraction
#
# -DVERB_STRAIGHT: Dito for StraightRegionExtraction
# -DVERB_HOMOG: Dito for HomogeneousRegionExtraction
#--------------------------------------------------
ADD_DEFINITIONS(-fimplicit-templates )

INSTALL_FILES( lib .so)
