Commit 0545aad9 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Setup conditional unit-tests in Scribo.

	* tests/tests.mk: Add specific flags for external dependencies.

	* tests/unit_test/Makefile.am
	(EXTRA_DIST): Add const_tests_* files.
	(regen-am): Use build-aux/build_unit_test.sh.
	(scribo_*FLAGS): Remove specific flags for conditional unit-tests.

	* tests/unit_test/build_unit_test.sh: Remove. Useless since
	build-aux/build_unit_test.sh is used instead.

	* tests/unit_test/cond_tests_qt,
	* tests/unit_test/cond_tests_qt_tesseract_tiff,
	* tests/unit_test/cond_tests_tesseract_tiff: New.

	* tests/unit_test/unit-tests.mk: Regen.
parent 324908fe
2010-08-10 Guillaume Lazzara <z@lrde.epita.fr>
Setup conditional unit-tests in Scribo.
* tests/tests.mk: Add specific flags for external dependencies.
* tests/unit_test/Makefile.am
(EXTRA_DIST): Add const_tests_* files.
(regen-am): Use build-aux/build_unit_test.sh.
(scribo_*FLAGS): Remove specific flags for conditional unit-tests.
* tests/unit_test/build_unit_test.sh: Remove. Useless since
build-aux/build_unit_test.sh is used instead.
* tests/unit_test/cond_tests_qt,
* tests/unit_test/cond_tests_qt_tesseract_tiff,
* tests/unit_test/cond_tests_tesseract_tiff: New.
* tests/unit_test/unit-tests.mk: Regen.
2010-08-09 Guillaume Lazzara <z@lrde.epita.fr>
* tests/unit_test/disabled_tests: Update list of disabled tests.
......
......@@ -18,3 +18,17 @@ AM_CPPFLAGS = -I$(top_srcdir)/ -I$(top_builddir)/ -I$(top_srcdir)/milena -I$(top
SCRIBO_TESTS_CXXFLAGS = @SCRIBO_TESTS_CXXFLAGS@
AM_CXXFLAGS = $(SCRIBO_TESTS_CXXFLAGS)
# Flags for optional dependencies.
MAGICKXX_CPPFLAGS = @MAGICKXX_CPPFLAGS@
MAGICKXX_LDFLAGS = @MAGICKXX_LDFLAGS@
TIFF_CPPFLAGS = @TIFF_CPPFLAGS@
TIFF_LDFLAGS = @TIFF_LDFLAGS@
QT_CPPFLAGS = @QT_CPPFLAGS@
QT_LDFLAGS = @QT_LDFLAGS@ @QT_LIBS@
TESSERACT_CPPFLAGS = @TESSERACT_CPPFLAGS@
TESSERACT_LDFLAGS = @TESSERACT_LDFLAGS@
\ No newline at end of file
......@@ -16,16 +16,23 @@
include $(top_srcdir)/scribo/tests/tests.mk
EXTRA_DIST = build_unit_test.sh disabled_tests
COND_TESTS = cond_tests_qt \
cond_tests_qt_tesseract_tiff \
cond_tests_tesseract_tiff
EXTRA_DIST = disabled_tests \
$(COND_TESTS)
# Regen files.
include $(top_srcdir)/build-aux/regen-recursive.mk
regen-am:
cd $(top_srcdir) \
&& scribo/tests/unit_test/build_unit_test.sh \
&& ./build-aux/build_unit_test.sh \
scribo \
scribo/tests/unit_test \
scribo/tests/unit_test/disabled_tests
scribo/tests/unit_test/disabled_tests \
scribo
# FIXME: Change build_unit_test.sh so that the action looks like this:
#
......@@ -33,47 +40,17 @@ regen-am:
#
# `$(abs_top_srcdir)' is required because of the change of directory
# at the beginning og the action.
$(srcdir)/unit-tests.mk: build_unit_test.sh disabled_tests
$(srcdir)/unit-tests.mk: build_unit_test.sh disabled_tests $(COND_TESTS)
cd $(top_srcdir) \
&& scribo/tests/unit_test/build_unit_test.sh \
&& ./build-aux/build_unit_test.sh \
scribo \
scribo/tests/unit_test \
scribo/tests/unit_test/disabled_tests
scribo/tests/unit_test/disabled_tests \
scribo
include $(srcdir)/unit-tests.mk
#FIXME: how to handle that automaticaly during the unit test list
#generation?
scribo_convert_from_qimage_CPPFLAGS=\
$(QT_CPPFLAGS) $(AM_CPPFLAGS) -I$(srcdir)
scribo_convert_from_qimage_CXXFLAGS=\
$(QT_CXXFLAGS) $(AM_CXXFLAGS)
scribo_convert_from_qimage_LDFLAGS=\
$(QT_LDFLAGS) $(LDFLAGS)
scribo_convert_from_qimage_LDADD=\
$(QT_LIBS) $(LDADD)
scribo_toolchain_nepomuk_text_extraction_CPPFLAGS=\
$(QT_CPPFLAGS) $(TESSERACT_CPPFLAGS) $(TIFF_CPPFLAGS) \
$(AM_CPPFLAGS) -I$(srcdir)
scribo_toolchain_nepomuk_text_extraction_CXXFLAGS=\
$(QT_CXXFLAGS) $(AM_CXXFLAGS)
scribo_toolchain_nepomuk_text_extraction_LDFLAGS=\
$(QT_LDFLAGS) $(TESSERACT_LDFLAGS) $(TIFF_LDFLAGS) \
$(LDFLAGS)
scribo_toolchain_nepomuk_text_extraction_LDADD=\
$(QT_LIBS) $(LDADD)
scribo_text_recognition_CPPFLAGS=\
$(TESSERACT_CPPFLAGS) $(TIFF_CPPFLAGS) \
$(AM_CPPFLAGS) -I$(srcdir)
scribo_text_recognition_LDFLAGS=\
$(TESSERACT_LDFLAGS) $(TIFF_LDFLAGS) \
$(LDFLAGS)
MAINTAINERCLEANFILES = $(srcdir)/scribo_*.cc
TESTS = $(check_PROGRAMS)
#! /bin/sh
# Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
# (LRDE)
#
# This file is part of Olena.
#
# Olena is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, version 2 of the License.
#
# Olena is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Olena. If not, see <http://www.gnu.org/licenses/>.
## FIXME: Unify with build-aux/build_unit_test.sh.
## FIXME: Don't use `echo -n', as echo's options are not portable.
##
## http://www.gnu.org/software/autoconf/manual/html_node/Limitations-of-Builtins.html#Limitations-of-Builtins
##
## As an ugly workaround, use `printf' instead. The right approach
## would be to only emit lines ended with newlines.
ECHO_N=printf
# Use the C locale to have a deterministic sort.
export LC_ALL=C
test $# -eq 3 || { echo "Usage: $0 <scanned dir> <output_dir> <disabled_tests>" && exit 1; }
scanned_dir=$1
output_dir=$2
disabled_tests=$3
HEADERS=$(find $scanned_dir -type f -name "*.hh" \
| sort \
| sed -e 's/.*\/scribo\/\(.*\)/scribo\/\1/g' | sed 's/\.\.\/\.\.\///g' \
| comm -23 - "$disabled_tests")
output="$output_dir/unit-tests.mk"
rm -f "$output"
rm -f scribo_*.cc
# Build unit-tests.mk.
echo "## Generated by $0, do not modify." >"$output"
echo >>"$output"
$ECHO_N "check_PROGRAMS = " >>"$output"
for i in $HEADERS; do
FILE_CC=`echo $i | sed 's/[/.]/_/g' | sed 's/_hh/\.cc/g'`
# Build .cc.
cat > "$output_dir/$FILE_CC" << EOF
// Unit test for $i.
// Generated by $0, do not modify.
// Include the file twice, so we detect missing inclusion guards.
#include <$i>
#include <$i>
int main()
{
// Nothing.
}
EOF
# Build unit-tests.mk.
TARGET=`echo "${FILE_CC}" | sed 's/\.cc//'`
echo " \\" >>"$output"
$ECHO_N "${TARGET}" >>"$output"
done
# Build "$output".
echo "" >>"$output"
echo "" >>"$output"
for i in $HEADERS; do
FILE_CC=`echo $i | sed 's/[/.]/_/g' | sed 's/_hh/\.cc/g'`
NAME=`echo $FILE_CC | sed 's/\.cc//g'`
echo "${NAME}_SOURCES = $FILE_CC" >>"$output"
done
scribo/convert/from_qimage.hh
scribo/toolchain/nepomuk/text_extraction.hh
## Generated by scribo/tests/unit_test/build_unit_test.sh, do not modify.
## Generated by ./build-aux/build_unit_test.sh, do not modify.
check_PROGRAMS = \
check_PROGRAMS =
# Starting a conditional unit test list.
if HAVE_QT
check_PROGRAMS += \
scribo_convert_from_qimage
scribo_convert_from_qimage_CPPFLAGS= ${QT_CPPFLAGS} ${AM_CPPFLAGS}
scribo_convert_from_qimage_LDFLAGS= ${QT_LDFLAGS} ${AM_LDFLAGS}
scribo_convert_from_qimage_SOURCES = scribo_convert_from_qimage.cc
endif HAVE_QT
# Starting a conditional unit test list.
if HAVE_QT
if HAVE_TESSERACT
if HAVE_TIFF
check_PROGRAMS += \
scribo_toolchain_nepomuk_text_extraction
scribo_toolchain_nepomuk_text_extraction_CPPFLAGS= ${TIFF_CPPFLAGS} ${TESSERACT_CPPFLAGS} ${QT_CPPFLAGS} ${AM_CPPFLAGS}
scribo_toolchain_nepomuk_text_extraction_LDFLAGS= ${TIFF_LDFLAGS} ${TESSERACT_LDFLAGS} ${QT_LDFLAGS} ${AM_LDFLAGS}
scribo_toolchain_nepomuk_text_extraction_SOURCES = scribo_toolchain_nepomuk_text_extraction.cc
endif HAVE_TIFF
endif HAVE_TESSERACT
endif HAVE_QT
# Starting a conditional unit test list.
if HAVE_TESSERACT
if HAVE_TIFF
check_PROGRAMS += \
scribo_text_recognition
scribo_text_recognition_CPPFLAGS= ${TIFF_CPPFLAGS} ${TESSERACT_CPPFLAGS} ${AM_CPPFLAGS}
scribo_text_recognition_LDFLAGS= ${TIFF_LDFLAGS} ${TESSERACT_LDFLAGS} ${AM_LDFLAGS}
scribo_text_recognition_SOURCES = scribo_text_recognition.cc
endif HAVE_TIFF
endif HAVE_TESSERACT
# Starting non-conditional unit test list.
check_PROGRAMS += \
scribo_all \
scribo_binarization_all \
scribo_binarization_global_threshold \
scribo_binarization_global_threshold_auto \
scribo_binarization_internal_first_pass_functor \
scribo_binarization_internal_min_mean_max_stddev \
scribo_binarization_local_threshold \
scribo_binarization_sauvola \
scribo_binarization_sauvola_ms \
......@@ -13,7 +52,6 @@ scribo_binarization_sauvola_ms_split \
scribo_binarization_sauvola_threshold_image \
scribo_binarization_sauvola_threshold_image_debug \
scribo_canvas_integral_browsing \
scribo_convert_from_qimage \
scribo_core_all \
scribo_core_central_sites \
scribo_core_component_info \
......@@ -23,12 +61,10 @@ scribo_core_concept_link_functor \
scribo_core_def_lbl_type \
scribo_core_erase_objects \
scribo_core_init_integral_image \
scribo_core_internal_link_functor_base \
scribo_core_line_info \
scribo_core_line_set \
scribo_core_macros \
scribo_core_object_groups \
scribo_core_object_image \
scribo_core_object_links \
scribo_core_tag_anchor \
scribo_core_tag_component \
......@@ -36,72 +72,21 @@ scribo_core_tag_line \
scribo_debug_alignment_decision_image \
scribo_debug_all \
scribo_debug_bboxes_enlarged_image \
scribo_debug_char_space_image \
scribo_debug_decision_image \
scribo_debug_highlight_text_area \
scribo_debug_line_info_image \
scribo_debug_links_decision_image \
scribo_debug_looks_like_a_text_line_image \
scribo_debug_mean_and_base_lines_image \
scribo_debug_save_bboxes_image \
scribo_debug_save_comp_diff \
scribo_debug_save_label_image \
scribo_debug_save_linked_bboxes_image \
scribo_debug_save_object_diff \
scribo_debug_save_table_image \
scribo_debug_several_links_decision_image \
scribo_debug_text_areas_image \
scribo_debug_usage \
scribo_demo_demat_src_doc_type \
scribo_demo_demat_src_main_window \
scribo_demo_demat_src_preprocessing_task \
scribo_demo_demat_src_process_args \
scribo_demo_demat_src_runner \
scribo_demo_review_src_mainwindow \
scribo_demo_shared_src_bak_crop_item \
scribo_demo_shared_src_bak_image_viewer \
scribo_demo_shared_src_bak_types \
scribo_demo_shared_src_browse_widget \
scribo_demo_shared_src_crop_item \
scribo_demo_shared_src_image_viewer \
scribo_demo_shared_src_internal_bak_interactive_scene \
scribo_demo_shared_src_internal_bak_selection_rectangle \
scribo_demo_shared_src_internal_interactive_scene \
scribo_demo_shared_src_internal_selection_rectangle \
scribo_demo_shared_src_to_mln_image \
scribo_demo_shared_src_types \
scribo_demo_shared_ui_interactive_scene \
scribo_demo_tip_src_custom_delegate \
scribo_demo_tip_src_launch_dialog \
scribo_demo_tip_src_main_window \
scribo_demo_viewer_browser_widget \
scribo_demo_viewer_common \
scribo_demo_viewer_domitem \
scribo_demo_viewer_dommodel \
scribo_demo_viewer_help_dialog \
scribo_demo_viewer_image_region \
scribo_demo_viewer_image_scene \
scribo_demo_viewer_image_view \
scribo_demo_viewer_image_widget \
scribo_demo_viewer_key_widget \
scribo_demo_viewer_property_widget \
scribo_demo_viewer_step_widget \
scribo_demo_viewer_viewer \
scribo_demo_viewer_xml_widget \
scribo_demo_wizard_src_crop_page \
scribo_demo_wizard_src_crop_widget \
scribo_demo_wizard_src_doc_type \
scribo_demo_wizard_src_doc_type_page \
scribo_demo_wizard_src_doc_type_widget \
scribo_demo_wizard_src_load_page \
scribo_demo_wizard_src_load_widget \
scribo_demo_wizard_src_main_window \
scribo_demo_wizard_src_preprocessing_page \
scribo_demo_wizard_src_preprocessing_task \
scribo_demo_wizard_src_preprocessing_widget \
scribo_demo_wizard_src_process_page \
scribo_demo_wizard_src_process_widget \
scribo_demo_wizard_src_result_page \
scribo_demo_wizard_src_result_widget \
scribo_demo_wizard_src_rotate_page \
scribo_demo_wizard_src_rotate_widget \
scribo_demo_wizard_src_runner \
scribo_draw_all \
scribo_draw_bounding_box_links \
scribo_draw_bounding_boxes \
......@@ -144,7 +129,7 @@ scribo_io_xml_save \
scribo_make_all \
scribo_make_debug_filename \
scribo_make_influence_zone_graph \
scribo_make_text \
scribo_postprocessing_all \
scribo_postprocessing_fill_object_holes \
scribo_preprocessing_all \
scribo_preprocessing_crop \
......@@ -181,22 +166,17 @@ scribo_primitive_extract_vertical_separators \
scribo_primitive_group_all \
scribo_primitive_group_apply \
scribo_primitive_group_from_double_link \
scribo_primitive_group_from_double_link_any \
scribo_primitive_group_from_graph \
scribo_primitive_group_from_single_link \
scribo_primitive_group_from_single_link_robust \
scribo_primitive_internal_all \
scribo_primitive_internal_find_graph_link \
scribo_primitive_internal_find_root \
scribo_primitive_internal_find_root_robust \
scribo_primitive_internal_have_link_valid \
scribo_primitive_internal_is_link_valid \
scribo_primitive_internal_rd \
scribo_primitive_internal_update_graph_link \
scribo_primitive_internal_update_link_array \
scribo_primitive_link_all \
scribo_primitive_link_compute \
scribo_primitive_link_internal_anchors_3 \
scribo_primitive_link_internal_compute_anchor \
scribo_primitive_link_internal_dmax_default \
scribo_primitive_link_internal_dmax_functor_base \
......@@ -204,8 +184,6 @@ scribo_primitive_link_internal_dmax_width_and_height \
scribo_primitive_link_internal_dmax_width_only \
scribo_primitive_link_internal_find_link \
scribo_primitive_link_internal_link_functor_base \
scribo_primitive_link_internal_link_ms_dmax_base \
scribo_primitive_link_internal_link_ms_dmax_ratio_base \
scribo_primitive_link_internal_link_several_dmax_base \
scribo_primitive_link_internal_link_single_dmax_base \
scribo_primitive_link_internal_link_single_dmax_ratio_base \
......@@ -214,7 +192,6 @@ scribo_primitive_link_with_graph \
scribo_primitive_link_with_rag \
scribo_primitive_link_with_several_graphes \
scribo_primitive_link_with_several_left_links \
scribo_primitive_link_with_several_right_closest_links \
scribo_primitive_link_with_several_right_links \
scribo_primitive_link_with_single_down_link \
scribo_primitive_link_with_single_left_link \
......@@ -222,67 +199,11 @@ scribo_primitive_link_with_single_left_link_dmax_ratio \
scribo_primitive_link_with_single_right_link \
scribo_primitive_link_with_single_right_link_bottom \
scribo_primitive_link_with_single_right_link_dmax_ratio \
scribo_primitive_link_with_single_right_link_dmax_ratio_aligned \
scribo_primitive_link_with_single_right_link_top \
scribo_primitive_link_with_single_up_link \
scribo_primitive_regroup_from_single_left_link \
scribo_primitive_regroup_from_single_left_link_wrt_h_ratio \
scribo_primitive_remove_separators \
scribo_sandbox__julien_hough_hough_hough_pgm \
scribo_sandbox__julien_hough_hough_hough_v1 \
scribo_sandbox__julien_hough_hough_hough_v2 \
scribo_sandbox__julien_hough_hough_hough_v3 \
scribo_sandbox__julien_hough_hough_hough_v4 \
scribo_sandbox__julien_hough_kht_buffer_2d \
scribo_sandbox__julien_hough_kht_closing \
scribo_sandbox__julien_hough_kht_eigen \
scribo_sandbox__julien_hough_kht_filter \
scribo_sandbox__julien_hough_kht_kht \
scribo_sandbox__julien_hough_kht_linking \
scribo_sandbox__julien_hough_kht_peak_detection \
scribo_sandbox__julien_hough_kht_subdivision \
scribo_sandbox__julien_hough_kht_types \
scribo_sandbox__julien_hough_kht_voting \
scribo_sandbox__julien_upsampling_eagle \
scribo_sandbox__julien_upsampling_pyxies \
scribo_sandbox_green_mln_accu_stat_histo1d \
scribo_sandbox_green_mln_accu_stat_histo2d \
scribo_sandbox_green_mln_accu_stat_histo3d_hsl \
scribo_sandbox_green_mln_accu_stat_histo3d_rgb \
scribo_sandbox_green_mln_clustering_k_mean \
scribo_sandbox_green_mln_clustering_kmean1d \
scribo_sandbox_green_mln_clustering_kmean2d \
scribo_sandbox_green_mln_clustering_kmean3d \
scribo_sandbox_green_mln_clustering_kmean_rgb \
scribo_sandbox_green_mln_display_display_histo \
scribo_sandbox_green_mln_display_project_histo \
scribo_sandbox_green_mln_fun_p2b_achromatic \
scribo_sandbox_green_mln_fun_p2b_component_equals \
scribo_sandbox_green_mln_fun_v2v_achromatism \
scribo_sandbox_green_mln_fun_v2v_hue_concentration \
scribo_sandbox_green_mln_fun_v2v_int_u16_to_int_u14 \
scribo_sandbox_green_mln_fun_v2v_log \
scribo_sandbox_green_mln_fun_v2v_rg_to_rgb \
scribo_sandbox_green_mln_fun_v2v_rgb8_to_int_u8 \
scribo_sandbox_green_mln_fun_v2v_rgb8_to_rgbn \
scribo_sandbox_green_mln_fun_v2v_rgb_to_achromatism_map \
scribo_sandbox_green_mln_fun_v2v_rgb_to_hsv \
scribo_sandbox_green_mln_fun_v2v_rgb_to_hue_map \
scribo_sandbox_green_mln_fun_v2v_rgb_to_rg \
scribo_sandbox_green_mln_fun_v2v_rgb_to_saturation_map \
scribo_sandbox_green_mln_fun_v2v_rgb_to_value_map \
scribo_sandbox_green_mln_img_path \
scribo_sandbox_green_mln_io_plot_save_image_sh \
scribo_sandbox_green_mln_math_ceil \
scribo_sandbox_green_mln_math_floor \
scribo_sandbox_green_mln_value_hsv \
scribo_sandbox_green_mln_value_rg \
scribo_sandbox_green_ok_mln_accu_histo_histo1d \
scribo_sandbox_green_ok_mln_accu_histo_histo2d \
scribo_sandbox_green_ok_mln_accu_histo_histo3d \
scribo_sandbox_green_ok_mln_img_path \
scribo_src_afp_components \
scribo_src_afp_link \
scribo_src_afp_regroup \
scribo_subsampling_bilinear \
scribo_subsampling_integral \
scribo_subsampling_integral_single_image \
......@@ -306,16 +227,15 @@ scribo_text_clean_inplace \
scribo_text_extract_lines \
scribo_text_look_like_text_lines \
scribo_text_merging \
scribo_toolchain_nepomuk_text_extraction \
scribo_toolchain_text_in_doc \
scribo_upsampling_bs2x \
scribo_upsampling_eagle
scribo_all_SOURCES = scribo_all.cc
scribo_binarization_all_SOURCES = scribo_binarization_all.cc
scribo_binarization_global_threshold_SOURCES = scribo_binarization_global_threshold.cc
scribo_binarization_global_threshold_auto_SOURCES = scribo_binarization_global_threshold_auto.cc
scribo_binarization_internal_first_pass_functor_SOURCES = scribo_binarization_internal_first_pass_functor.cc
scribo_binarization_internal_min_mean_max_stddev_SOURCES = scribo_binarization_internal_min_mean_max_stddev.cc
scribo_binarization_local_threshold_SOURCES = scribo_binarization_local_threshold.cc
scribo_binarization_sauvola_SOURCES = scribo_binarization_sauvola.cc
scribo_binarization_sauvola_ms_SOURCES = scribo_binarization_sauvola_ms.cc
......@@ -323,7 +243,6 @@ scribo_binarization_sauvola_ms_split_SOURCES = scribo_binarization_sauvola_ms_sp
scribo_binarization_sauvola_threshold_image_SOURCES = scribo_binarization_sauvola_threshold_image.cc
scribo_binarization_sauvola_threshold_image_debug_SOURCES = scribo_binarization_sauvola_threshold_image_debug.cc
scribo_canvas_integral_browsing_SOURCES = scribo_canvas_integral_browsing.cc
scribo_convert_from_qimage_SOURCES = scribo_convert_from_qimage.cc
scribo_core_all_SOURCES = scribo_core_all.cc
scribo_core_central_sites_SOURCES = scribo_core_central_sites.cc
scribo_core_component_info_SOURCES = scribo_core_component_info.cc
......@@ -333,12 +252,10 @@ scribo_core_concept_link_functor_SOURCES = scribo_core_concept_link_functor.cc
scribo_core_def_lbl_type_SOURCES = scribo_core_def_lbl_type.cc
scribo_core_erase_objects_SOURCES = scribo_core_erase_objects.cc
scribo_core_init_integral_image_SOURCES = scribo_core_init_integral_image.cc
scribo_core_internal_link_functor_base_SOURCES = scribo_core_internal_link_functor_base.cc
scribo_core_line_info_SOURCES = scribo_core_line_info.cc
scribo_core_line_set_SOURCES = scribo_core_line_set.cc
scribo_core_macros_SOURCES = scribo_core_macros.cc
scribo_core_object_groups_SOURCES = scribo_core_object_groups.cc
scribo_core_object_image_SOURCES = scribo_core_object_image.cc
scribo_core_object_links_SOURCES = scribo_core_object_links.cc
scribo_core_tag_anchor_SOURCES = scribo_core_tag_anchor.cc
scribo_core_tag_component_SOURCES = scribo_core_tag_component.cc
......@@ -346,72 +263,21 @@ scribo_core_tag_line_SOURCES = scribo_core_tag_line.cc
scribo_debug_alignment_decision_image_SOURCES = scribo_debug_alignment_decision_image.cc
scribo_debug_all_SOURCES = scribo_debug_all.cc
scribo_debug_bboxes_enlarged_image_SOURCES = scribo_debug_bboxes_enlarged_image.cc
scribo_debug_char_space_image_SOURCES = scribo_debug_char_space_image.cc
scribo_debug_decision_image_SOURCES = scribo_debug_decision_image.cc
scribo_debug_highlight_text_area_SOURCES = scribo_debug_highlight_text_area.cc
scribo_debug_line_info_image_SOURCES = scribo_debug_line_info_image.cc
scribo_debug_links_decision_image_SOURCES = scribo_debug_links_decision_image.cc
scribo_debug_looks_like_a_text_line_image_SOURCES = scribo_debug_looks_like_a_text_line_image.cc
scribo_debug_mean_and_base_lines_image_SOURCES = scribo_debug_mean_and_base_lines_image.cc
scribo_debug_save_bboxes_image_SOURCES = scribo_debug_save_bboxes_image.cc
scribo_debug_save_comp_diff_SOURCES = scribo_debug_save_comp_diff.cc
scribo_debug_save_label_image_SOURCES = scribo_debug_save_label_image.cc
scribo_debug_save_linked_bboxes_image_SOURCES = scribo_debug_save_linked_bboxes_image.cc
scribo_debug_save_object_diff_SOURCES = scribo_debug_save_object_diff.cc
scribo_debug_save_table_image_SOURCES = scribo_debug_save_table_image.cc
scribo_debug_several_links_decision_image_SOURCES = scribo_debug_several_links_decision_image.cc
scribo_debug_text_areas_image_SOURCES = scribo_debug_text_areas_image.cc
scribo_debug_usage_SOURCES = scribo_debug_usage.cc
scribo_demo_demat_src_doc_type_SOURCES = scribo_demo_demat_src_doc_type.cc
scribo_demo_demat_src_main_window_SOURCES = scribo_demo_demat_src_main_window.cc
scribo_demo_demat_src_preprocessing_task_SOURCES = scribo_demo_demat_src_preprocessing_task.cc
scribo_demo_demat_src_process_args_SOURCES = scribo_demo_demat_src_process_args.cc
scribo_demo_demat_src_runner_SOURCES = scribo_demo_demat_src_runner.cc
scribo_demo_review_src_mainwindow_SOURCES = scribo_demo_review_src_mainwindow.cc
scribo_demo_shared_src_bak_crop_item_SOURCES = scribo_demo_shared_src_bak_crop_item.cc
scribo_demo_shared_src_bak_image_viewer_SOURCES = scribo_demo_shared_src_bak_image_viewer.cc
scribo_demo_shared_src_bak_types_SOURCES = scribo_demo_shared_src_bak_types.cc
scribo_demo_shared_src_browse_widget_SOURCES = scribo_demo_shared_src_browse_widget.cc
scribo_demo_shared_src_crop_item_SOURCES = scribo_demo_shared_src_crop_item.cc
scribo_demo_shared_src_image_viewer_SOURCES = scribo_demo_shared_src_image_viewer.cc
scribo_demo_shared_src_internal_bak_interactive_scene_SOURCES = scribo_demo_shared_src_internal_bak_interactive_scene.cc
scribo_demo_shared_src_internal_bak_selection_rectangle_SOURCES = scribo_demo_shared_src_internal_bak_selection_rectangle.cc
scribo_demo_shared_src_internal_interactive_scene_SOURCES = scribo_demo_shared_src_internal_interactive_scene.cc
scribo_demo_shared_src_internal_selection_rectangle_SOURCES = scribo_demo_shared_src_internal_selection_rectangle.cc
scribo_demo_shared_src_to_mln_image_SOURCES = scribo_demo_shared_src_to_mln_image.cc
scribo_demo_shared_src_types_SOURCES = scribo_demo_shared_src_types.cc
scribo_demo_shared_ui_interactive_scene_SOURCES = scribo_demo_shared_ui_interactive_scene.cc
scribo_demo_tip_src_custom_delegate_SOURCES = scribo_demo_tip_src_custom_delegate.cc
scribo_demo_tip_src_launch_dialog_SOURCES = scribo_demo_tip_src_launch_dialog.cc
scribo_demo_tip_src_main_window_SOURCES = scribo_demo_tip_src_main_window.cc
scribo_demo_viewer_browser_widget_SOURCES = scribo_demo_viewer_browser_widget.cc
scribo_demo_viewer_common_SOURCES = scribo_demo_viewer_common.cc
scribo_demo_viewer_domitem_SOURCES = scribo_demo_viewer_domitem.cc
scribo_demo_viewer_dommodel_SOURCES = scribo_demo_viewer_dommodel.cc
scribo_demo_viewer_help_dialog_SOURCES = scribo_demo_viewer_help_dialog.cc
scribo_demo_viewer_image_region_SOURCES = scribo_demo_viewer_image_region.cc
scribo_demo_viewer_image_scene_SOURCES = scribo_demo_viewer_image_scene.cc
scribo_demo_viewer_image_view_SOURCES = scribo_demo_viewer_image_view.cc
scribo_demo_viewer_image_widget_SOURCES = scribo_demo_viewer_image_widget.cc
scribo_demo_viewer_key_widget_SOURCES = scribo_demo_viewer_key_widget.cc
scribo_demo_viewer_property_widget_SOURCES = scribo_demo_viewer_property_widget.cc
scribo_demo_viewer_step_widget_SOURCES = scribo_demo_viewer_step_widget.cc
scribo_demo_viewer_viewer_SOURCES = scribo_demo_viewer_viewer.cc
scribo_demo_viewer_xml_widget_SOURCES = scribo_demo_viewer_xml_widget.cc
scribo_demo_wizard_src_crop_page_SOURCES = scribo_demo_wizard_src_crop_page.cc
scribo_demo_wizard_src_crop_widget_SOURCES = scribo_demo_wizard_src_crop_widget.cc
scribo_demo_wizard_src_doc_type_SOURCES = scribo_demo_wizard_src_doc_type.cc
scribo_demo_wizard_src_doc_type_page_SOURCES = scribo_demo_wizard_src_doc_type_page.cc
scribo_demo_wizard_src_doc_type_widget_SOURCES = scribo_demo_wizard_src_doc_type_widget.cc
scribo_demo_wizard_src_load_page_SOURCES = scribo_demo_wizard_src_load_page.cc
scribo_demo_wizard_src_load_widget_SOURCES = scribo_demo_wizard_src_load_widget.cc
scribo_demo_wizard_src_main_window_SOURCES = scribo_demo_wizard_src_main_window.cc
scribo_demo_wizard_src_preprocessing_page_SOURCES = scribo_demo_wizard_src_preprocessing_page.cc
scribo_demo_wizard_src_preprocessing_task_SOURCES = scribo_demo_wizard_src_preprocessing_task.cc
scribo_demo_wizard_src_preprocessing_widget_SOURCES = scribo_demo_wizard_src_preprocessing_widget.cc
scribo_demo_wizard_src_process_page_SOURCES = scribo_demo_wizard_src_process_page.cc
scribo_demo_wizard_src_process_widget_SOURCES = scribo_demo_wizard_src_process_widget.cc
scribo_demo_wizard_src_result_page_SOURCES = scribo_demo_wizard_src_result_page.cc
scribo_demo_wizard_src_result_widget_SOURCES = scribo_demo_wizard_src_result_widget.cc
scribo_demo_wizard_src_rotate_page_SOURCES = scribo_demo_wizard_src_rotate_page.cc
scribo_demo_wizard_src_rotate_widget_SOURCES = scribo_demo_wizard_src_rotate_widget.cc
scribo_demo_wizard_src_runner_SOURCES = scribo_demo_wizard_src_runner.cc
scribo_draw_all_SOURCES = scribo_draw_all.cc
scribo_draw_bounding_box_links_SOURCES = scribo_draw_bounding_box_links.cc
scribo_draw_bounding_boxes_SOURCES = scribo_draw_bounding_boxes.cc
......@@ -454,7 +320,7 @@ scribo_io_xml_save_SOURCES = scribo_io_xml_save.cc
scribo_make_all_SOURCES = scribo_make_all.cc
scribo_make_debug_filename_SOURCES = scribo_make_debug_filename.cc
scribo_make_influence_zone_graph_SOURCES = scribo_make_influence_zone_graph.cc
scribo_make_text_SOURCES = scribo_make_text.cc
scribo_postprocessing_all_SOURCES = scribo_postprocessing_all.cc
scribo_postprocessing_fill_object_holes_SOURCES = scribo_postprocessing_fill_object_holes.cc
scribo_preprocessing_all_SOURCES = scribo_preprocessing_all.cc
scribo_preprocessing_crop_SOURCES = scribo_preprocessing_crop.cc
......@@ -491,22 +357,17 @@ scribo_primitive_extract_vertical_separators_SOURCES = scribo_primitive_extract_
scribo_primitive_group_all_SOURCES = scribo_primitive_group_all.cc
scribo_primitive_group_apply_SOURCES = scribo_primitive_group_apply.cc
scribo_primitive_group_from_double_link_SOURCES = scribo_primitive_group_from_double_link.cc
scribo_primitive_group_from_double_link_any_SOURCES = scribo_primitive_group_from_double_link_any.cc
scribo_primitive_group_from_graph_SOURCES = scribo_primitive_group_from_graph.cc
scribo_primitive_group_from_single_link_SOURCES = scribo_primitive_group_from_single_link.cc
scribo_primitive_group_from_single_link_robust_SOURCES = scribo_primitive_group_from_single_link_robust.cc
scribo_primitive_internal_all_SOURCES = scribo_primitive_internal_all.cc
scribo_primitive_internal_find_graph_link_SOURCES = scribo_primitive_internal_find_graph_link.cc
scribo_primitive_internal_find_root_SOURCES = scribo_primitive_internal_find_root.cc
scribo_primitive_internal_find_root_robust_SOURCES = scribo_primitive_internal_find_root_robust.cc
scribo_primitive_internal_have_link_valid_SOURCES = scribo_primitive_internal_have_link_valid.cc
scribo_primitive_internal_is_link_valid_SOURCES = scribo_primitive_internal_is_link_valid.cc
scribo_primitive_internal_rd_SOURCES = scribo_primitive_internal_rd.cc
scribo_primitive_internal_update_graph_link_SOURCES = scribo_primitive_internal_update_graph_link.cc
scribo_primitive_internal_update_link_array_SOURCES = scribo_primitive_internal_update_link_array.cc
scribo_primitive_link_all_SOURCES = scribo_primitive_link_all.cc
scribo_primitive_link_compute_SOURCES = scribo_primitive_link_compute.cc
scribo_primitive_link_internal_anchors_3_SOURCES = scribo_primitive_link_internal_anchors_3.cc
scribo_primitive_link_internal_compute_anchor_SOURCES = scribo_primitive_link_internal_compute_anchor.cc
scribo_primitive_link_internal_dmax_default_SOURCES = scribo_primitive_link_internal_dmax_default.cc
scribo_primitive_link_internal_dmax_functor_base_SOURCES = scribo_primitive_link_internal_dmax_functor_base.cc
......@@ -514,8 +375,6 @@ scribo_primitive_link_internal_dmax_width_and_height_SOURCES = scribo_primitive_
scribo_primitive_link_internal_dmax_width_only_SOURCES = scribo_primitive_link_internal_dmax_width_only.cc
scribo_primitive_link_internal_find_link_SOURCES = scribo_primitive_link_internal_find_link.cc
scribo_primitive_link_internal_link_functor_base_SOURCES = scribo_primitive_link_internal_link_functor_base.cc
scribo_primitive_link_internal_link_ms_dmax_base_SOURCES = scribo_primitive_link_internal_link_ms_dmax_base.cc
scribo_primitive_link_internal_link_ms_dmax_ratio_base_SOURCES = scribo_primitive_link_internal_link_ms_dmax_ratio_base.cc
scribo_primitive_link_internal_link_several_dmax_base_SOURCES = scribo_primitive_link_internal_link_several_dmax_base.cc