Standardize directory names

Moved the io_src code created by sim_services to sim_servivces/include.  Also found some makefiles that needed to be changed to refer to the makefiles in their new locations.

refs #63
This commit is contained in:
Alex Lin
2015-06-02 10:25:40 -05:00
parent 24cfabbdef
commit 60e3983344
12 changed files with 43 additions and 36 deletions

View File

@ -193,7 +193,13 @@ std::string PrintAttributes::createIOFileName(std::string header_file_name) {
dir_name.replace(dir_name.size() - 8 , dir_name.size() , "") ;
}
}
io_file_name = dir_name + "/io_src/" + base_name ;
// Put all of the sim_services io_files in ${TRICK_HOME}/trick_source/sim_services/include/io_src unless
// it is in er7_utils. The er7_utils io_files have duplicate file names so the overwrite each other
if ( sim_services_flag and (dir_name.find("er7_utils") == std::string::npos) ) {
io_file_name = std::string(getenv("TRICK_HOME")) + "/trick_source/sim_services/include/io_src/" + base_name ;
} else {
io_file_name = dir_name + "/io_src/" + base_name ;
}
return io_file_name ;
}