<commit_before>cmake_minimum_required (VERSION 2.6)

project(memcacher)

file(GLOB src *.cpp *.hpp *.h)

if( APPLE )
	message( STATUS "Making OSX")

	#debug options
	set( CMAKE_CXX_FLAGS "-std=c++1y -stdlib=libc++ -g" )

	#release options
	#set( CMAKE_CXX_FLAGS "-std=c++1y -stdlib=libc++ -O3 -DNDEBUG")

else()

	#debug options
	#set( CMAKE_CXX_FLAGS "-std=c++1y -g -DUSE_EPOLL" )

	#release options
	set( CMAKE_CXX_FLAGS "-std=c++1y -O3 -DNDEBUG -DUSE_EPOLL" )

	list(REMOVE_ITEM src ${CMAKE_CURRENT_SOURCE_DIR}/kqepoll.cpp)
endif()



add_executable(memcacher ${src} )

	target_link_libraries( memcacher
		pthread
	)
<commit_msg>set default build to release<commit_after>cmake_minimum_required (VERSION 2.6)

project(memcacher)

file(GLOB src *.cpp *.hpp *.h)

if( APPLE )
	message( STATUS "Making OSX")

	#debug options
	#set( CMAKE_CXX_FLAGS "-std=c++1y -stdlib=libc++ -g" )

	#release options
	set( CMAKE_CXX_FLAGS "-std=c++1y -stdlib=libc++ -O3 -DNDEBUG")

else()

	#debug options
	#set( CMAKE_CXX_FLAGS "-std=c++1y -g -DUSE_EPOLL" )

	#release options
	set( CMAKE_CXX_FLAGS "-std=c++1y -O3 -DNDEBUG -DUSE_EPOLL" )

	list(REMOVE_ITEM src ${CMAKE_CURRENT_SOURCE_DIR}/kqepoll.cpp)
endif()



add_executable(memcacher ${src} )

	target_link_libraries( memcacher
		pthread
	)

{'fraction_non_alphanumeric': 0.14698983580922595, 'fraction_numerical': 0.012509773260359656, 'mean_word_length': 4.791855203619909, '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': '7410169', 'n_tokens_mistral': 591, 'n_tokens_neox': 530, 'n_words': 114}