mirror of
https://github.com/nasa/trick.git
synced 2025-06-21 08:29:39 +00:00
Standardize directory names
Tried using clang/llvm from ubuntu distribution. Needed to change the include directory for compiling ICG. Also found that the clang include files can be in a linked directory. Used realpath to make sure we have the absolute path. refs #63
This commit is contained in:
@ -43,7 +43,8 @@ void HeaderSearchDirs::AddCompilerBuiltInSearchDirs () {
|
||||
icg_dir << "." << __clang_patchlevel__ ;
|
||||
#endif
|
||||
icg_dir << "/include" ;
|
||||
hso.AddPath(icg_dir.str() , clang::frontend::System, IsFramework, IsSysRootRelative);
|
||||
char * resolved_path = realpath(icg_dir.str().c_str(), NULL ) ;
|
||||
hso.AddPath(resolved_path , clang::frontend::System, IsFramework, IsSysRootRelative);
|
||||
#endif
|
||||
|
||||
fp = popen("${TRICK_HOME}/bin/trick-gte TRICK_CPPC" , "r") ;
|
||||
|
Reference in New Issue
Block a user