File: CMakeLists.txt

package info (click to toggle)
vxl 1.17.0.dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 153,280 kB
  • ctags: 105,123
  • sloc: cpp: 747,420; ansic: 209,130; fortran: 34,230; lisp: 14,915; sh: 6,187; python: 5,856; makefile: 340; perl: 294; xml: 160
file content (134 lines) | stat: -rw-r--r-- 5,661 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# mul/mbl/CMakeLists.txt

doxygen_add_library(contrib/mul/mbl
  DEPENDS core/vnl core/vgl core/vsl
  PACKAGE contrib/mul
  DESCRIPTION "Manchester's Basics Library"
  )

SET( VXL_MBL_TEST_SAVE_MEASUREMENT_ROOT  CACHE PATH "Where to store historical measurements")
MARK_AS_ADVANCED(VXL_MBL_TEST_SAVE_MEASUREMENT_ROOT)

# Set up mbl_config.h for VXL_MBL_TEST_SAVE_MEASUREMENT_ROOT, etc.
CONFIGURE_FILE(
  ${vxl_SOURCE_DIR}/contrib/mul/mbl/mbl_config.h.in
  ${vxl_BINARY_DIR}/contrib/mul/mbl/mbl_config.h ESCAPE_QUOTES
)
INCLUDE_DIRECTORIES( ${vxl_BINARY_DIR}/contrib/mul )

SET(mbl_sources
  mbl_config.h.in

  mbl_add_all_loaders.cxx               mbl_add_all_loaders.h
  mbl_gamma.cxx                         mbl_gamma.h
  mbl_matrix_products.cxx               mbl_matrix_products.h
  mbl_matxvec.cxx                       mbl_matxvec.h
  mbl_random_n_from_m.cxx               mbl_random_n_from_m.h
  mbl_select_n_from_m.cxx               mbl_select_n_from_m.h
  mbl_k_means.cxx                       mbl_k_means.h
  mbl_data_collector_base.cxx           mbl_data_collector_base.h
  mbl_stats_1d.cxx                      mbl_stats_1d.h
  mbl_stats_nd.cxx                      mbl_stats_nd.h
  mbl_sum_1d.cxx                        mbl_sum_1d.h
  mbl_parse_block.cxx                   mbl_parse_block.h
                                        mbl_parse_sequence.h
                                        mbl_parse_tuple.h
                                        mbl_parse_int_list.h
  mbl_parse_colon_pairs_list.cxx        mbl_parse_colon_pairs_list.h
  mbl_parse_string_list.cxx             mbl_parse_string_list.h
  mbl_parse_keyword_list.cxx            mbl_parse_keyword_list.h
  mbl_read_props.cxx                    mbl_read_props.h
  mbl_read_multi_props.cxx              mbl_read_multi_props.h
  mbl_lda.cxx                           mbl_lda.h
  mbl_screen_counter.cxx                mbl_screen_counter.h
  mbl_rbf_network.cxx                   mbl_rbf_network.h
  mbl_read_int.cxx                      mbl_read_int.h
  mbl_read_double.cxx                   mbl_read_double.h
  mbl_read_str.cxx                      mbl_read_str.h
  mbl_read_yes.cxx                      mbl_read_yes.h
  mbl_thin_plate_spline_2d.cxx          mbl_thin_plate_spline_2d.h
  mbl_thin_plate_spline_3d.cxx          mbl_thin_plate_spline_3d.h
  mbl_thin_plate_spline_weights_3d.cxx  mbl_thin_plate_spline_weights_3d.h
  mbl_histogram.cxx                     mbl_histogram.h
  mbl_wt_histogram.cxx                  mbl_wt_histogram.h
  mbl_clamped_plate_spline_2d.cxx       mbl_clamped_plate_spline_2d.h
  mbl_correspond_points.cxx             mbl_correspond_points.h

  mbl_ar_process.txx                    mbl_ar_process.h

  mbl_selected_data_wrapper.txx         mbl_selected_data_wrapper.h
  mbl_data_array_ptr_wrapper.txx        mbl_data_array_ptr_wrapper.h

  mbl_data_array_wrapper.txx            mbl_data_array_wrapper.h
  mbl_data_collector.txx                mbl_data_collector.h
  mbl_data_collector_list.txx           mbl_data_collector_list.h
  mbl_data_wrapper.txx                  mbl_data_wrapper.h
  mbl_stochastic_data_collector.txx     mbl_stochastic_data_collector.h
  mbl_data_wrapper_mixer.txx            mbl_data_wrapper_mixer.h
  mbl_file_data_collector.txx           mbl_file_data_collector.h
  mbl_file_data_wrapper.txx             mbl_file_data_wrapper.h

  mbl_clusters.txx                      mbl_clusters.h
  mbl_cluster_tree.txx                  mbl_cluster_tree.h

  mbl_table.cxx                         mbl_table.h
  mbl_progress.cxx                      mbl_progress.h
  mbl_progress_text.cxx                 mbl_progress_text.h
  mbl_progress_time.cxx                 mbl_progress_time.h
  mbl_progress_null.cxx                 mbl_progress_null.h
  mbl_progress_composite.cxx            mbl_progress_composite.h
  mbl_progress_hierarchy.cxx            mbl_progress_hierarchy.h
                                        mbl_progress_callback.h
  mbl_exception.cxx                     mbl_exception.h
  mbl_rvm_regression_builder.cxx        mbl_rvm_regression_builder.h
  mbl_test.cxx                          mbl_test.h
  mbl_log.cxx                           mbl_log.h

  mbl_chord.h
  mbl_chord_3d.h
  mbl_cloneable_ptr.h
  mbl_cloneables_factory.h
  mbl_combination.h
  mbl_draw_line.h
  mbl_print.h
  mbl_priority_bounded_queue.h
  mbl_index_sort.h
  mbl_lru_cache.h
  mbl_stl.h
  mbl_jarque_bera.h
  mbl_stl_pred.h
  mbl_vector_distance.h

  mbl_mod_gram_schmidt.cxx             mbl_mod_gram_schmidt.h
  mbl_linear_interpolator.cxx          mbl_linear_interpolator.h
  mbl_minimum_spanning_tree.cxx        mbl_minimum_spanning_tree.h
  mbl_stepwise_regression.cxx          mbl_stepwise_regression.h
  mbl_dyn_prog.cxx                     mbl_dyn_prog.h

  mbl_save_text_file.txx               mbl_save_text_file.h
  mbl_load_text_file.txx               mbl_load_text_file.h
  mbl_sample_stats_1d.cxx              mbl_sample_stats_1d.h

  mbl_mask.cxx                         mbl_mask.h

  mbl_eps_writer.cxx                   mbl_eps_writer.h
)

AUX_SOURCE_DIRECTORY(Templates mbl_sources)

IF(CMAKE_COMPILER_IS_GNUCXX)
  SET_SOURCE_FILES_PROPERTIES(Templates/mbl_data_wrapper_mixer+vnl_vector+double--.cxx PROPERTIES COMPILE_FLAGS -O0)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)

ADD_LIBRARY(mbl ${mbl_sources})
SET_TARGET_PROPERTIES(mbl PROPERTIES ${VNL_LIBRARY_PROPERTIES})
TARGET_LINK_LIBRARIES(mbl vnl_io vnl_algo vgl_io vgl vbl_io vil_io vsl vnl vil vul vbl)

INSTALL_TARGETS(/lib mbl)
INSTALL_NOBASE_HEADER_FILES(/include/vxl/contrib/mul/mbl ${mbl_sources})

IF (BUILD_TESTING)
  SUBDIRS(tests)
ENDIF (BUILD_TESTING)

SUBDIRS(tools examples)