<commit_before>﻿project(cgogn_modeling
	LANGUAGES CXX
)

set(HEADER_FILES
	dll.h
	algos/catmull_clark.h
	algos/pliant_remeshing.h
	algos/loop.h
	algos/refinements.h
	algos/tetrahedralization.h

	tiling/tiling.h
	tiling/triangular_grid.h
	tiling/triangular_cylinder.h
	tiling/triangular_tore.h
#	tiling/triangular_cube.h

	tiling/square_grid.h
	tiling/square_cylinder.h
	tiling/square_tore.h
#	tiling/square_cube.h
)

set(SOURCE_FILES
	algos/catmull_clark.cpp
	algos/loop.cpp
	algos/pliant_remeshing.cpp
	algos/refinements.cpp
	algos/tetrahedralization.cpp
	tiling/tiling.cpp
	tiling/triangular_grid.cpp
	tiling/triangular_cylinder.cpp
	tiling/triangular_tore.cpp
#	tiling/triangular_cube.cpp

	tiling/square_grid.cpp
	tiling/square_cylinder.cpp
	tiling/square_tore.cpp
#	tiling/square_cube.h

	tiling/cubic_grid.h
)

add_library(${PROJECT_NAME} SHARED ${HEADER_FILES} ${SOURCE_FILES})


set_target_properties(${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX "_d")
target_compile_definitions(${PROJECT_NAME} PRIVATE "-DCGOGN_MODELING_DLL_EXPORT")

target_include_directories(${PROJECT_NAME} PUBLIC
	$<BUILD_INTERFACE:${CGOGN_SOURCE_DIR}>
	$<INSTALL_INTERFACE:include>
)

target_link_libraries(${PROJECT_NAME} cgogn_core cgogn_geometry)

install(FILES "dll.h" DESTINATION "include/cgogn/modeling")
install(DIRECTORY algos tiling
	DESTINATION "include/cgogn/modeling"
	FILES_MATCHING PATTERN "*.h"
)


cgogn_create_package("${CMAKE_CURRENT_SOURCE_DIR}" "${CGOGN_SOURCE_DIR}" "include")
<commit_msg>fixed adding wrong file in modeling/CMakeLists.txt<commit_after>﻿project(cgogn_modeling
	LANGUAGES CXX
)

set(HEADER_FILES
	dll.h
	algos/catmull_clark.h
	algos/pliant_remeshing.h
	algos/loop.h
	algos/refinements.h
	algos/tetrahedralization.h

	tiling/tiling.h
	tiling/triangular_grid.h
	tiling/triangular_cylinder.h
	tiling/triangular_tore.h
#	tiling/triangular_cube.h

	tiling/square_grid.h
	tiling/square_cylinder.h
	tiling/square_tore.h
#	tiling/square_cube.h
)

set(SOURCE_FILES
	algos/catmull_clark.cpp
	algos/loop.cpp
	algos/pliant_remeshing.cpp
	algos/refinements.cpp
	algos/tetrahedralization.cpp
	tiling/tiling.cpp
	tiling/triangular_grid.cpp
	tiling/triangular_cylinder.cpp
	tiling/triangular_tore.cpp
#	tiling/triangular_cube.cpp

	tiling/square_grid.cpp
	tiling/square_cylinder.cpp
	tiling/square_tore.cpp
#	tiling/square_cube.h
)

add_library(${PROJECT_NAME} SHARED ${HEADER_FILES} ${SOURCE_FILES})


set_target_properties(${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX "_d")
target_compile_definitions(${PROJECT_NAME} PRIVATE "-DCGOGN_MODELING_DLL_EXPORT")

target_include_directories(${PROJECT_NAME} PUBLIC
	$<BUILD_INTERFACE:${CGOGN_SOURCE_DIR}>
	$<INSTALL_INTERFACE:include>
)

target_link_libraries(${PROJECT_NAME} cgogn_core cgogn_geometry)

install(FILES "dll.h" DESTINATION "include/cgogn/modeling")
install(DIRECTORY algos tiling
	DESTINATION "include/cgogn/modeling"
	FILES_MATCHING PATTERN "*.h"
)


cgogn_create_package("${CMAKE_CURRENT_SOURCE_DIR}" "${CGOGN_SOURCE_DIR}" "include")

{'fraction_non_alphanumeric': 0.10237537638006022, 'fraction_numerical': 0.0, 'mean_word_length': 6.889182058047494, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3283014', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1235, 'n_words': 140}