#include <macros.h>
#include <search_stack.h>
#include <trace_helpers.h>
#include <wx/tokenzr.h>
#include <wx/log.h>
Go to the source code of this file.
|
static wxString | base_dir (const wxString &aRelativePath, const wxString &aBaseDir) |
|
◆ PATH_SEPS
#define PATH_SEPS wxT( ":;\r\n" ) |
◆ base_dir()
static wxString base_dir |
( |
const wxString & |
aRelativePath, |
|
|
const wxString & |
aBaseDir |
|
) |
| |
|
static |
Definition at line 55 of file search_stack.cpp.
57 wxFileName fn = aRelativePath;
59 if( !fn.IsAbsolute() && !!aBaseDir )
61 wxASSERT_MSG( wxFileName( aBaseDir ).IsAbsolute(), wxT(
"Must pass absolute path in aBaseDir" ) );
62 fn.MakeRelativeTo( aBaseDir );
65 return fn.GetFullPath();
Referenced by SEARCH_STACK::FilenameWithRelativePathInSearchList().