<commit_before>SET( PYTHON_LIBS python26)

file(GLOB Sources ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
file(GLOB Includes ${CMAKE_CURRENT_SOURCE_DIR}/*.h)

SOURCE_GROUP("Source Files" FILES ${Sources})
SOURCE_GROUP("Header Files" FILES ${Includes})

LINK_LIBRARIES( ${ALEMBIC_CORE_LIBS}
			  ${ALEMBIC_HDF5_LIBS}
			  ${PYTHON_LIBS}
			  ${Boost_LIBRARIES}
			  ${ALEMBIC_ILMBASE_LIBS}
			  ${ZLIB_LIBRARIES})

INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../python-2.6.7/Include )
if(WIN32)
  INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../python-2.6.7/PC )
  IF(${ALEMBIC64})
          LINK_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../python-2.6.7/libs/x86_64 )
  ELSE()
          LINK_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../python-2.6.7/libs/x86 )
  ENDIF()
  ADD_DEFINITIONS( /DBOOST_ALL_NO_LIB )
  SET( MODSUFFIX ".pyd" )
else()
  MESSAGE("WE NEED TO IMPLEMENT LINUX FOR THE PYTHON EXTENSION!")
  SET( MODSUFFIX ".so" )
endif()


ADD_LIBRARY( _ExocortexAlembicPython SHARED ${Sources} ${Includes} )
ADD_DEPENDENCIES( _ExocortexAlembicPython AlembicAbcGeom )

SET_TARGET_PROPERTIES(_ExocortexAlembicPython
  PROPERTIES
    OUTPUT_NAME _ExocortexAlembicPython
    PREFIX "" # There is no prefix even on UNIXes
    SUFFIX "${MODSUFFIX}"
)<commit_msg>first compiling version<commit_after>SET( PYTHON_LIBS python26)

file(GLOB Sources ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
file(GLOB Includes ${CMAKE_CURRENT_SOURCE_DIR}/*.h)

SOURCE_GROUP("Source Files" FILES ${Sources})
SOURCE_GROUP("Header Files" FILES ${Includes})

LINK_LIBRARIES( ${ALEMBIC_CORE_LIBS}
			  ${ALEMBIC_HDF5_LIBS}
			  ${PYTHON_LIBS}
			  ${Boost_LIBRARIES}
			  ${ALEMBIC_ILMBASE_LIBS}
			  ${ZLIB_LIBRARIES})

INCLUDE_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/Include )
if(WIN32)
  INCLUDE_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/PC )
  IF(${ALEMBIC64})
          LINK_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/libs/x86_64 )
  ELSE()
          LINK_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/libs/x86 )
  ENDIF()
  ADD_DEFINITIONS( /DBOOST_ALL_NO_LIB )
  SET( MODSUFFIX ".pyd" )
else()
  MESSAGE("WE NEED TO IMPLEMENT LINUX FOR THE PYTHON EXTENSION!")
  SET( MODSUFFIX ".so" )
endif()


ADD_LIBRARY( _ExocortexAlembicPython SHARED ${Sources} ${Includes} )
ADD_DEPENDENCIES( _ExocortexAlembicPython AlembicAbcGeom )

SET_TARGET_PROPERTIES(_ExocortexAlembicPython
  PROPERTIES
    OUTPUT_NAME _ExocortexAlembicPython
    PREFIX "" # There is no prefix even on UNIXes
    SUFFIX "${MODSUFFIX}"
)
{'fraction_non_alphanumeric': 0.12641815235008103, 'fraction_numerical': 0.02025931928687196, 'mean_word_length': 4.978208232445521, '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': '2678501', 'n_tokens_mistral': 1116, 'n_tokens_neox': 989, 'n_words': 156}