<commit_before>function link_libponyc()
  configuration "gmake"
    linkoptions {
      llvm_config("--ldflags")
    }
  configuration "vs*"
    libdirs {
      llvm_config("--libdir")
    }
  configuration "*"

  links { "libponyc", "libponyrt", "libponycc" }

  local output = llvm_config("--libs")

  for lib in string.gmatch(output, "-l(%S+)") do
    links { lib }
  end
end

function testsuite()
  kind "ConsoleApp"
  language "C++"
  links "gtest"
  configuration "gmake"
    buildoptions { "-std=gnu++11" }
  configuration "*"
  if (_OPTIONS["run-tests"]) then
      configuration "gmake"<commit_msg>don't link against libponycc on windows<commit_after>function link_libponyc()
  configuration "gmake"
    linkoptions {
      llvm_config("--ldflags")
    }
  configuration "vs*"
    libdirs {
      llvm_config("--libdir")
    }
  configuration "*"

  links { "libponyc", "libponyrt" }

  local output = llvm_config("--libs")

  for lib in string.gmatch(output, "-l(%S+)") do
    links { lib }
  end
end

function testsuite()
  kind "ConsoleApp"
  language "C++"
  links "gtest"
  configuration "gmake"
    buildoptions { "-std=gnu++11" }
  configuration "*"
  if (_OPTIONS["run-tests"]) then
      configuration "gmake"
{'fraction_non_alphanumeric': 0.1466992665036675, 'fraction_numerical': 0.0032599837000814994, 'mean_word_length': 3.3087719298245615, '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': '6467292', 'n_tokens_mistral': 427, 'n_tokens_neox': 419, 'n_words': 95}