use strict;
use warnings;

use SPVM::Builder::Config;

my $config = SPVM::Builder::Config->new_c99;

$config->optimize('-O2');

my @source_files = qw(
  foo.c
  bar.c
  baz/baz.c
);
$config->add_source_file(@source_files);

$config->use_resource('TestCase::Resource::Mylib1');
$config->use_resource('TestCase::Resource::Mylib2');

# Empty strings are allowed.
$config->add_ccflag('');
$config->add_ldflag('');

$config->add_define('SOME_DEFINE');

$config->add_define('SOME_DEFINE_WITH_VALUE=1');

$config;
