<commit_before>project( tinyxml )
cmake_minimum_required( VERSION 2.6 )
set ( CMAKE_BUILD_TYPE Debug )
add_definitions ( -Wall -DHEEKSCAD -DUNICODE -DTIXML_USE_STL )
#FIND_PACKAGE( wxWidgets REQUIRED COMPONENTS base core gl )
#INCLUDE(${wxWidgets_USE_FILE})
#find_package( PythonLibs REQUIRED )
include_directories ( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${PYTHON_INCLUDE_DIRS} )
set ( LIBRARY_OUTPUT_PATH ../bin )

set( tinyxml_SRCS tinystr.cpp  tinyxml.cpp  tinyxmlerror.cpp  tinyxmlparser.cpp )
set( tinyxml_HDRS tinystr.h  tinyxml.h )

add_library( tinyxml SHARED ${tinyxml_SRCS} ${tinyxml_HDRS} )
target_link_libraries( tinyxml ${PYTHON_LIBRARIES} )
set_target_properties( tinyxml PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH} )
install( TARGETS tinyxml DESTINATION lib )<commit_msg>CMake: clean tinyxml CMakeFiles.txt<commit_after>project( tinyxml )

cmake_minimum_required( VERSION 2.6 )

set( CMAKE_BUILD_TYPE Debug )

add_definitions( -Wall -DHEEKSCAD -DUNICODE -DTIXML_USE_STL )

include_directories (
    ${CMAKE_SOURCE_DIR}
    ${PYTHON_INCLUDE_DIRS}
)

set( LIBRARY_OUTPUT_PATH ../bin )

set( tinyxml_SRCS
  tinystr.cpp
  tinyxml.cpp
  tinyxmlerror.cpp
  tinyxmlparser.cpp
)

set( tinyxml_HDRS
  tinystr.h
  tinyxml.h
)

add_library( tinyxml SHARED ${tinyxml_SRCS} ${tinyxml_HDRS} )

target_link_libraries( tinyxml ${PYTHON_LIBRARIES} )

set_target_properties( tinyxml PROPERTIES SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH} )

install( TARGETS tinyxml DESTINATION lib )
{'fraction_non_alphanumeric': 0.0932674490426189, 'fraction_numerical': 0.0024706609017912293, 'mean_word_length': 6.751196172248804, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 27}, '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': '6401271', 'n_tokens_mistral': 661, 'n_tokens_neox': 636, 'n_words': 109}