mirror of
https://github.com/nasa/trick.git
synced 2024-12-30 01:48:52 +00:00
Create a separate directory for simulation compiliation.
sometimes convert_swig is the first to process a file and it needs to be able to create the output directory for its output. The output directory should use perl's make_path because the output directories are deep down in the build area. refs #80
This commit is contained in:
parent
a5e7699d40
commit
6c3ca93231
@ -13,6 +13,7 @@ use gte ;
|
|||||||
use get_headers ;
|
use get_headers ;
|
||||||
use trick_version ;
|
use trick_version ;
|
||||||
use Digest::MD5 qw(md5_hex) ;
|
use Digest::MD5 qw(md5_hex) ;
|
||||||
|
use File::Path qw(make_path) ;
|
||||||
|
|
||||||
##
|
##
|
||||||
## ================================================================================
|
## ================================================================================
|
||||||
@ -431,7 +432,7 @@ sub process_file($$) {
|
|||||||
$out_file = "$out_dir/$out_file" ;
|
$out_file = "$out_dir/$out_file" ;
|
||||||
|
|
||||||
if ( ! -e $out_dir ) {
|
if ( ! -e $out_dir ) {
|
||||||
mkdir $out_dir ;
|
make_path($out_dir) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
## Open the SWIG interface file.
|
## Open the SWIG interface file.
|
||||||
|
Loading…
Reference in New Issue
Block a user