use strict;
use warnings;

my $config = SPVM::Builder::Config->new_cpp17(file => __FILE__);

my $resource = $config->use_resource('Resource::RE2');

if ($^O eq 'MSWin32') {
  $config->add_static_libs('stdc++', 'winpthread', 'gcc');
}
else {
  $config->add_libs('stdc++');
}

$resource->config->force(1);
$resource->config->quiet(0);

$config->force(1);
$config->quiet(0);

$config;
