<commit_before>cmake_minimum_required(VERSION 2.8)

project (reaper_libsndfilewrapper)

SET(CMAKE_BUILD_TYPE MinSizeRel)

IF(APPLE)
   SET( CMAKE_OSX_ARCHITECTURES i386;x86_64 )
   SET( CMAKE_OSX_DEPLOYMENT_TARGET 10.5 )
   SET ( LINK_FLAGS MINSIZEREL "-dead_strip" )
   # SET( CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL "-dead_strip" )
   # SET( CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL "-dead_strip" )
   # SET( CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "-dead_strip" )
	ADD_DEFINITIONS(
		-std=c++98
		-stdlib=libstdc++
		-Wno-c++11-extensions #avoid c++11 warning msg
	)
	
	FIND_LIBRARY(CARBON_LIBRARY Carbon)
	FIND_LIBRARY(COCOA_LIBRARY Cocoa)
	
	SET(CMAKE_MACOSX_RPATH 1)
ENDIF (APPLE)

# THESE ARE THE MAIN SOURCE FILES
set (reaper_libsndfilewrapper_sources
	${CMAKE_CURRENT_SOURCE_DIR}/reaper_libsndfilewrapper/libsndfileimport.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/reaper_libsndfilewrapper/main.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/reaper_libsndfilewrapper/wrapperclass.cpp	
	${CMAKE_CURRENT_SOURCE_DIR}/reaper_libsndfilewrapper/pcmsink_libsndfile.cpp
	)


IF(WIN32)<commit_msg>remove build option for c++98<commit_after>cmake_minimum_required(VERSION 2.8)

project (reaper_libsndfilewrapper)

SET(CMAKE_BUILD_TYPE MinSizeRel)

IF(APPLE)
   SET( CMAKE_OSX_ARCHITECTURES i386;x86_64 )
   SET( CMAKE_OSX_DEPLOYMENT_TARGET 10.5 )
   SET ( LINK_FLAGS MINSIZEREL "-dead_strip" )
   # SET( CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL "-dead_strip" )
   # SET( CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL "-dead_strip" )
   # SET( CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "-dead_strip" )
	
	FIND_LIBRARY(CARBON_LIBRARY Carbon)
	FIND_LIBRARY(COCOA_LIBRARY Cocoa)
	
	SET(CMAKE_MACOSX_RPATH 1)
ENDIF (APPLE)

# THESE ARE THE MAIN SOURCE FILES
set (reaper_libsndfilewrapper_sources
	${CMAKE_CURRENT_SOURCE_DIR}/reaper_libsndfilewrapper/libsndfileimport.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/reaper_libsndfilewrapper/main.cpp
	${CMAKE_CURRENT_SOURCE_DIR}/reaper_libsndfilewrapper/wrapperclass.cpp	
	${CMAKE_CURRENT_SOURCE_DIR}/reaper_libsndfilewrapper/pcmsink_libsndfile.cpp
	)


IF(WIN32)
{'fraction_non_alphanumeric': 0.08657156910969012, 'fraction_numerical': 0.018691588785046728, 'mean_word_length': 7.0395256916996045, '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': '6666884', 'n_tokens_mistral': 909, 'n_tokens_neox': 827, 'n_words': 105}