Reworked cmake timing generation to use generalized test-adding macro
parent
b2bf03d21f
commit
5e7c28f6a7
|
@ -20,6 +20,6 @@ endif(GTSAM_BUILD_TESTS)
|
|||
|
||||
# Build timing scripts
|
||||
if (GTSAM_BUILD_TIMING)
|
||||
gtsam_add_timing(base "${base_local_libs}")
|
||||
gtsam_add_subdir_timing(base "${base_local_libs}" "gtsam-static" "${base_excluded_files}")
|
||||
endif(GTSAM_BUILD_TIMING)
|
||||
|
||||
|
|
|
@ -21,6 +21,6 @@ endif(GTSAM_BUILD_TESTS)
|
|||
|
||||
# Build timing scripts
|
||||
if (GTSAM_BUILD_TIMING)
|
||||
gtsam_add_timing(geometry "${geometry_local_libs}")
|
||||
gtsam_add_subdir_timing(geometry "${geometry_local_libs}" "gtsam-static" "${geometry_excluded_files}")
|
||||
endif(GTSAM_BUILD_TIMING)
|
||||
|
||||
|
|
|
@ -23,6 +23,6 @@ endif(GTSAM_BUILD_TESTS)
|
|||
|
||||
# Build timing scripts
|
||||
if (GTSAM_BUILD_TIMING)
|
||||
gtsam_add_timing(inference "${inference_local_libs}")
|
||||
gtsam_add_subdir_timing(inference "${inference_local_libs}" "gtsam-static" "${inference_excluded_files}")
|
||||
endif(GTSAM_BUILD_TIMING)
|
||||
|
||||
|
|
|
@ -24,5 +24,5 @@ endif(GTSAM_BUILD_TESTS)
|
|||
|
||||
# Build timing scripts
|
||||
if (GTSAM_BUILD_TIMING)
|
||||
gtsam_add_timing(linear "${linear_local_libs}")
|
||||
gtsam_add_subdir_timing(linear "${linear_local_libs}" "gtsam-static" "${linear_excluded_files}")
|
||||
endif(GTSAM_BUILD_TIMING)
|
||||
|
|
|
@ -25,6 +25,6 @@ endif(GTSAM_BUILD_TESTS)
|
|||
|
||||
# Build timing scripts
|
||||
if (GTSAM_BUILD_TIMING)
|
||||
gtsam_add_timing(nonlinear "${nonlinear_local_libs}")
|
||||
gtsam_add_subdir_timing(nonlinear "${nonlinear_local_libs}" "gtsam-static" "${nonlinear_excluded_files}")
|
||||
endif(GTSAM_BUILD_TIMING)
|
||||
|
||||
|
|
|
@ -26,5 +26,5 @@ endif(GTSAM_BUILD_TESTS)
|
|||
|
||||
# Build timing scripts
|
||||
if (GTSAM_BUILD_TIMING)
|
||||
gtsam_add_timing(slam "${slam_local_libs}")
|
||||
gtsam_add_subdir_timing(slam "${slam_local_libs}" "gtsam-static" "${slam_excluded_files}")
|
||||
endif(GTSAM_BUILD_TIMING)
|
||||
|
|
Loading…
Reference in New Issue