use strict;
use warnings;

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

$config->is_resource(1);

# C souce files
my @source_files = qw(
  mylib1_source1.c
  mylib1_source2.c
);

$config->add_source_file(@source_files);

unless ($ENV{SPVM__TEST__MYAPP__EXE} == 1) {
  die "SPVM__TEST__MYAPP__EXE environment variable is wrong.";
}

$config;
