<commit_before>
FILE(
	GLOB_RECURSE
	sfm_files_header
	*.hpp
)
FILE(
	GLOB_RECURSE
	sfm_files_cpp
	*.cpp
)
FILE(GLOB_RECURSE REMOVEFILESUNITTEST *_test.cpp)
#Remove the future main files
list(REMOVE_ITEM sfm_files_cpp ${REMOVEFILESUNITTEST})
#Remove the test header main files
FILE(GLOB_RECURSE REMOVEFILESUNITTEST *_test.hpp)
list(REMOVE_ITEM sfm_files_header ${REMOVEFILESUNITTEST})

ADD_LIBRARY(openMVG_sfm ${sfm_files_header} ${sfm_files_cpp})
TARGET_LINK_LIBRARIES(openMVG_sfm ceres openMVG_multiview ${OPENMVG_LIBRARY_DEPENDENCIES})
INSTALL(TARGETS openMVG_sfm DESTINATION lib EXPORT openMVG-targets)

UNIT_TEST(openMVG sfm_data_io "stlplus;openMVG_features;openMVG_sfm;${openMVG_linearProgramming}")
UNIT_TEST(openMVG sfm_data_BA
  "openMVG_multiview_test_data;openMVG_features;openMVG_multiview;openMVG_sfm;stlplus;${openMVG_linearProgramming}")

ADD_SUBDIRECTORY(pipelines)
<commit_msg>[sfm] fix stlplus dependency in cmake<commit_after>
FILE(
	GLOB_RECURSE
	sfm_files_header
	*.hpp
)
FILE(
	GLOB_RECURSE
	sfm_files_cpp
	*.cpp
)
FILE(GLOB_RECURSE REMOVEFILESUNITTEST *_test.cpp)
#Remove the future main files
list(REMOVE_ITEM sfm_files_cpp ${REMOVEFILESUNITTEST})
#Remove the test header main files
FILE(GLOB_RECURSE REMOVEFILESUNITTEST *_test.hpp)
list(REMOVE_ITEM sfm_files_header ${REMOVEFILESUNITTEST})

ADD_LIBRARY(openMVG_sfm ${sfm_files_header} ${sfm_files_cpp})
TARGET_LINK_LIBRARIES(openMVG_sfm ceres openMVG_multiview stlplus ${OPENMVG_LIBRARY_DEPENDENCIES})
INSTALL(TARGETS openMVG_sfm DESTINATION lib EXPORT openMVG-targets)

UNIT_TEST(openMVG sfm_data_io "openMVG_features;openMVG_sfm;${openMVG_linearProgramming}")
UNIT_TEST(openMVG sfm_data_BA
  "openMVG_multiview_test_data;openMVG_features;openMVG_multiview;openMVG_sfm;${openMVG_linearProgramming}")

ADD_SUBDIRECTORY(pipelines)
{'fraction_non_alphanumeric': 0.07867036011080332, 'fraction_numerical': 0.0, 'mean_word_length': 11.36986301369863, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3721060', 'n_tokens_mistral': 778, 'n_tokens_neox': 738, 'n_words': 110}