<commit_before>cmake_minimum_required(VERSION 2.8)

# Typically, you'll just call find_package( NODE REQUIRED )
# but we've taken care of that from the TLD

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

include_directories( ${CMAKE_BINARY_DIR}/examples ${NODE_INCLUDE_DIRS} )
PROTOBUF_GENERATE_CPP( PROTO_SRCS PROTO_HDRS ExampleMessage.proto )

add_executable( NodeExample NodeExample.cpp ${PROTO_SRCS} )
add_executable( Node1 Node1.cpp ${PROTO_SRCS} )
add_executable( Node2 Node2.cpp ${PROTO_SRCS} )

if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
  target_link_libraries( NodeExample ${NODE_LIBRARIES} pthread )
  target_link_libraries( Node1 ${NODE_LIBRARIES} pthread )
  target_link_libraries( Node2 ${NODE_LIBRARIES} pthread )
else()
  target_link_libraries( NodeExample ${NODE_LIBRARIES} )
  target_link_libraries( Node1 ${NODE_LIBRARIES} )
  target_link_libraries( Node2 ${NODE_LIBRARIES} )
endif()<commit_msg>match by compiler rather than system<commit_after>cmake_minimum_required(VERSION 2.8)

# Typically, you'll just call find_package( NODE REQUIRED )
# but we've taken care of that from the TLD

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

include_directories( ${CMAKE_BINARY_DIR}/examples ${NODE_INCLUDE_DIRS} )
PROTOBUF_GENERATE_CPP( PROTO_SRCS PROTO_HDRS ExampleMessage.proto )

add_executable( NodeExample NodeExample.cpp ${PROTO_SRCS} )
add_executable( Node1 Node1.cpp ${PROTO_SRCS} )
add_executable( Node2 Node2.cpp ${PROTO_SRCS} )

if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
  target_link_libraries( NodeExample ${NODE_LIBRARIES} pthread )
  target_link_libraries( Node1 ${NODE_LIBRARIES} pthread )
  target_link_libraries( Node2 ${NODE_LIBRARIES} pthread )
else()
  target_link_libraries( NodeExample ${NODE_LIBRARIES} )
  target_link_libraries( Node1 ${NODE_LIBRARIES} )
  target_link_libraries( Node2 ${NODE_LIBRARIES} )
endif()
{'fraction_non_alphanumeric': 0.10193133047210301, 'fraction_numerical': 0.012875536480686695, 'mean_word_length': 7.797169811320755, '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': '7425127', 'n_tokens_mistral': 720, 'n_tokens_neox': 669, 'n_words': 136}