<commit_before># Headers
set(camera_files_headers
	camera.hpp
	cameraCommon.hpp
	cameraUndistortImage.hpp
	IntrinsicBase.hpp
	Pinhole.hpp
	PinholeBrown.hpp
	PinholeFisheye.hpp
	PinholeFisheye1.hpp
	PinholeRadial.hpp
)

# Sources
set(camera_files_test
  pinholeBrown_test.cpp
  pinholeFisheye1_test.cpp
  pinholeFisheye_test.cpp
  pinholeRadial_test.cpp
)

add_library(aliceVision_camera INTERFACE)

target_link_libraries(aliceVision_camera
	INTERFACE aliceVision_multiview
			  ${LOG_LIB}
)

UNIT_TEST(aliceVision pinholeBrown    "aliceVision_camera")
UNIT_TEST(aliceVision pinholeFisheye  "aliceVision_camera")
UNIT_TEST(aliceVision pinholeFisheye1 "aliceVision_camera")
UNIT_TEST(aliceVision pinholeRadial   "aliceVision_camera")

add_custom_target(aliceVision_camera_ide SOURCES ${camera_files_headers} ${camera_files_test})
<commit_msg>[cmake] missing export for camera<commit_after># Headers
set(camera_files_headers
	camera.hpp
	cameraCommon.hpp
	cameraUndistortImage.hpp
	IntrinsicBase.hpp
	Pinhole.hpp
	PinholeBrown.hpp
	PinholeFisheye.hpp
	PinholeFisheye1.hpp
	PinholeRadial.hpp
)

# Sources
set(camera_files_test
  pinholeBrown_test.cpp
  pinholeFisheye1_test.cpp
  pinholeFisheye_test.cpp
  pinholeRadial_test.cpp
)

add_library(aliceVision_camera INTERFACE)

target_link_libraries(aliceVision_camera
	INTERFACE aliceVision_multiview
			  ${LOG_LIB}
)

UNIT_TEST(aliceVision pinholeBrown    "aliceVision_camera")
UNIT_TEST(aliceVision pinholeFisheye  "aliceVision_camera")
UNIT_TEST(aliceVision pinholeFisheye1 "aliceVision_camera")
UNIT_TEST(aliceVision pinholeRadial   "aliceVision_camera")

add_custom_target(aliceVision_camera_ide SOURCES ${camera_files_headers} ${camera_files_test})

install(TARGETS aliceVision_camera
		DESTINATION lib
		EXPORT aliceVision-targets
		)
{'fraction_non_alphanumeric': 0.06215005599104143, 'fraction_numerical': 0.0033594624860022394, 'mean_word_length': 7.890547263681592, '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': '2962007', 'n_tokens_mistral': 713, 'n_tokens_neox': 684, 'n_words': 90}