mirror of
https://github.com/nasa/trick.git
synced 2025-06-22 00:41:52 +00:00
Split CP up into components that can be called individually
Empty header files may need build directory created for lib_deps file. Error message in make_makefile_src was not showing file name. refs #86
This commit is contained in:
@ -521,6 +521,10 @@ void PrintAttributes::printHeaderLibraryDependencies() {
|
||||
found = (*sit).find_last_of(".") ;
|
||||
std::string lib_dep_file = std::string("build") + (*sit).substr(0,found) + ".lib_deps" ;
|
||||
|
||||
char * dir_name ;
|
||||
dir_name = dirname((char *)lib_dep_file.c_str()) ;
|
||||
_mkdir(dir_name) ;
|
||||
|
||||
std::vector< std::string > lib_deps = cs.getLibraryDependencies((*sit)) ;
|
||||
std::vector< std::string >::iterator vit ;
|
||||
if ( lib_deps.size() > 0 ) {
|
||||
|
Reference in New Issue
Block a user