<commit_before>#
# Checks whether this platform has a given preprocessor directive
#
# VARIABLE - variable to store the result to
#

MACRO(CHECK_CPP_DIRECTIVE_EXISTS DIRECTIVE VARIABLE)
 IF("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
  MESSAGE(STATUS "Checking to see if this platform has the ${DIRECTIVE} C-Preprocssor directive")
  SET(DIRECTIVE ${DIRECTIVE})
  CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/CMake/CheckCPPDirectiveExists.cxx.in 
    ${CMAKE_BINARY_DIR}/CMake/CheckCPPDirectiveExists.cxx)
  TRY_COMPILE(${VARIABLE}
    ${CMAKE_BINARY_DIR}
    ${CMAKE_BINARY_DIR}/CMake/CheckCPPDirectiveExists.cxx
    OUTPUT_VARIABLE OUTPUT)
  IF(${VARIABLE})
    SET(HAVE_${VARIABLE} TRUE CACHE INTERNAL " ")
    MESSAGE(STATUS "Checking to see if this platform supports has the ${DIRECTIVE} C-Preprocssor directive - yes")
    FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log
      "Checking to see if this platform supports has the ${DIRECTIVE} C-Preprocssor directive with "
      "the following output:\n${OUTPUT}\n\n")
  ELSE(${VARIABLE})
    MESSAGE(STATUS "Checking to see if this platform supports has the ${DIRECTIVE} C-Preprocssor directive - no")
    FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log
      "Checking to see if this platform supports has the ${DIRECTIVE} C-Preprocssor directive with "
      "the following output:\n${OUTPUT}\n\n")<commit_msg>BUG: Needed IMMEDIATE modifier on CONFIGURE_FILE command.<commit_after>#
# Checks whether this platform has a given preprocessor directive
#
# VARIABLE - variable to store the result to
#

MACRO(CHECK_CPP_DIRECTIVE_EXISTS DIRECTIVE VARIABLE)
 IF("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
  MESSAGE(STATUS "Checking to see if this platform has the ${DIRECTIVE} C-Preprocssor directive")
  SET(DIRECTIVE ${DIRECTIVE})
  CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/CMake/CheckCPPDirectiveExists.cxx.in 
    ${CMAKE_BINARY_DIR}/CMakeTmp/CheckCPPDirectiveExists.cxx IMMEDIATE)
  TRY_COMPILE(${VARIABLE}
    ${CMAKE_BINARY_DIR}
    ${CMAKE_BINARY_DIR}/CMakeTmp/CheckCPPDirectiveExists.cxx
    OUTPUT_VARIABLE OUTPUT)
  IF(${VARIABLE})
    SET(HAVE_${VARIABLE} TRUE CACHE INTERNAL " ")
    MESSAGE(STATUS "Checking to see if this platform supports has the ${DIRECTIVE} C-Preprocssor directive - yes")
    FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log
      "Checking to see if this platform supports has the ${DIRECTIVE} C-Preprocssor directive with "
      "the following output:\n${OUTPUT}\n\n")
  ELSE(${VARIABLE})
    MESSAGE(STATUS "Checking to see if this platform supports has the ${DIRECTIVE} C-Preprocssor directive - no")
    FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log
      "Checking to see if this platform supports has the ${DIRECTIVE} C-Preprocssor directive with "
      "the following output:\n${OUTPUT}\n\n")
{'fraction_non_alphanumeric': 0.10560344827586207, 'fraction_numerical': 0.0, 'mean_word_length': 5.015118790496761, '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': '3685806', 'n_tokens_mistral': 966, 'n_tokens_neox': 910, 'n_words': 234}