<commit_before>## LibSVM cmake build system
## libs sub-folder

project(LIBSVM_lib)
cmake_minimum_required(VERSION 2.8)

## all these classes will be linked into a library
set(svm_sources
	../source/svm.cpp
)

## add def file for windows library construction
if(MSVC)
  set(svm_sources ${svm_sources}  ../source/svm.def)
endif(MSVC)

# create debug libs with d suffix
set(CMAKE_DEBUG_POSTFIX d)

## svm library
if (BUILD_SHARED_LIBS)
	add_library(libsvm SHARED ${svm_sources})
	# set version for embedding in the SO/DYLIB
	set_target_properties(libsvm PROPERTIES 
		VERSION "${LIBSVM_MAJOR_VERSION}.${LIBSVM_MINOR_VERSION}"
		SOVERSION "${LIBSVM_MAJOR_VERSION}.${LIBSVM_MINOR_VERSION}")
else()
	add_library(libsvm STATIC ${svm_sources})
endif (BUILD_SHARED_LIBS)

# remove default prefix of cmake, since our target is already named libsvm
set_target_properties(libsvm PROPERTIES PREFIX "")
  
# install lib
install(TARGETS libsvm
  RUNTIME DESTINATION bin
  LIBRARY DESTINATION lib
  ARCHIVE DESTINATION lib
)

# if MSVC we want the dll to be also in the lib-folder
# for linking against libsvm
if (MSVC AND BUILD_SHARED_LIBS)
	install(TARGETS libsvm DESTINATION lib	)
endif (MSVC AND BUILD_SHARED_LIBS)<commit_msg>removed some old lib building code<commit_after>## LibSVM cmake build system
## libs sub-folder

project(LIBSVM_lib)
cmake_minimum_required(VERSION 2.8)

## all these classes will be linked into a library
set(svm_sources
	../source/svm.cpp
)

## add def file for windows library construction
if(MSVC)
  set(svm_sources ${svm_sources}  ../source/svm.def)
endif(MSVC)

# create debug libs with d suffix
set(CMAKE_DEBUG_POSTFIX d)

## svm library
add_library(libsvm ${svm_sources})
# set version for embedding in the SO/DYLIB
set_target_properties(libsvm PROPERTIES 
	VERSION "${LIBSVM_MAJOR_VERSION}.${LIBSVM_MINOR_VERSION}"
	SOVERSION "${LIBSVM_MAJOR_VERSION}.${LIBSVM_MINOR_VERSION}")

# remove default prefix of cmake, since our target is already named libsvm
set_target_properties(libsvm PROPERTIES PREFIX "")

# install lib
install(TARGETS libsvm
  RUNTIME DESTINATION bin
  LIBRARY DESTINATION lib
  ARCHIVE DESTINATION lib
)

# if MSVC we want the dll to be also in the lib-folder
# for linking against libsvm
if (MSVC AND BUILD_SHARED_LIBS)
	install(TARGETS libsvm DESTINATION lib	)
endif (MSVC AND BUILD_SHARED_LIBS)
{'fraction_non_alphanumeric': 0.07998289136013687, 'fraction_numerical': 0.001710863986313088, 'mean_word_length': 5.626062322946176, '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': '6299423', 'n_tokens_mistral': 859, 'n_tokens_neox': 840, 'n_words': 241}