<commit_before>project(vlfeat)

include("${CMAKE_MODULE_PATH}/OptimizeTheiaCompilerFlags.cmake")
optimizetheiacompilerflags()

include_directories(./vl)
set(vl_sources
  vl/generic.c
  vl/host.c
  vl/imopv.c
  vl/imopv_sse2.c
  vl/mathop.c
  vl/mathop_sse2.c
  vl/random.c
  vl/sift.c)
set_source_files_properties(${vl_sources} PROPERTIES LANGUAGE C)
add_library(vlfeat SHARED ${vl_sources})
install(TARGETS vlfeat
  EXPORT  TheiaExport
  RUNTIME DESTINATION bin
  LIBRARY DESTINATION lib${LIB_SUFFIX}
  ARCHIVE DESTINATION lib${LIB_SUFFIX})<commit_msg>Add extra macros for MSVC for VLFeat<commit_after>project(vlfeat)

include("${CMAKE_MODULE_PATH}/OptimizeTheiaCompilerFlags.cmake")
optimizetheiacompilerflags()

include_directories(./vl)
set(vl_sources
  vl/generic.c
  vl/host.c
  vl/imopv.c
  vl/imopv_sse2.c
  vl/mathop.c
  vl/mathop_sse2.c
  vl/random.c
  vl/sift.c)
set_source_files_properties(${vl_sources} PROPERTIES LANGUAGE C)

if (MSVC)
  add_definitions(-DVL_BUILD_DLL)
  add_definitions(-DVL_DISABLE_SSE2)
endif (MSVC)

add_library(vlfeat SHARED ${vl_sources})
install(TARGETS vlfeat
  EXPORT  TheiaExport
  RUNTIME DESTINATION bin
  LIBRARY DESTINATION lib${LIB_SUFFIX}
  ARCHIVE DESTINATION lib${LIB_SUFFIX})
{'fraction_non_alphanumeric': 0.09959183673469388, 'fraction_numerical': 0.004081632653061225, 'mean_word_length': 5.849162011173185, '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': '4645836', 'n_tokens_mistral': 515, 'n_tokens_neox': 502, 'n_words': 77}