Code::Blocks
SVN r11506
|
This is a helper class that caches various filenames for one ProjectFile. More...
#include <projectfile.h>
Public Member Functions | |
pfDetails (ProjectBuildTarget *target, ProjectFile *pf) | |
void | Update (ProjectBuildTarget *target, ProjectFile *pf) |
This is a helper class that caches various filenames for one ProjectFile.
These include the source filename, the generated object filename, relative and absolute versions of the above, etc. Mainly used by the compiler...
Definition at line 241 of file projectfile.h.
pfDetails::pfDetails | ( | ProjectBuildTarget * | target, |
ProjectFile * | pf | ||
) |
Definition at line 343 of file projectfile.cpp.
void pfDetails::Update | ( | ProjectBuildTarget * | target, |
ProjectFile * | pf | ||
) |
Definition at line 348 of file projectfile.cpp.
References _(), _T, wxString::AfterFirst(), wxFileName::Assign(), cbMessageBox(), ProjectFile::file, FileTypeOf(), ftDynamicLib, ftHeader, ftObject, ftResource, ftResourceBin, ftStaticLib, ProjectFile::generatedFiles, Manager::Get(), CompileTargetBase::GetBasePath(), CompilerFactory::GetCompiler(), CompileTargetBase::GetCompilerID(), CompilerFactory::GetDefaultCompiler(), CompileTargetBase::GetDepsOutput(), cbProject::GetExtendedObjectNamesGeneration(), wxFileName::GetFullName(), wxFileName::GetFullPath(), Manager::GetMacrosManager(), cbProject::GetModeForPCH(), CompileTargetBase::GetObjectOutput(), ProjectFile::GetObjName(), ProjectBuildTarget::GetParentProject(), ProjectFile::GetParentProject(), wxFileName::GetPath(), Compiler::GetSwitches(), CompileTargetBase::GetTitle(), wxFileName::GetVolume(), wxString::IsEmpty(), wxString::IsSameAs(), wxString::Length(), wxFileName::MakeAbsolute(), CompilerSwitches::objectExtension, CompilerSwitches::PCHExtension, pchObjectDir, pchSourceDir, pchSourceFile, QuoteStringIfNeeded(), ProjectFile::relativeFilename, ProjectFile::relativeToCommonTopLevelPath, MacrosManager::ReplaceEnvVars(), MacrosManager::ReplaceMacros(), FileFilters::RESOURCEBIN_DOT_EXT, FileFilters::RESOURCEBIN_EXT, HTMLTags::sep, wxFileName::SetExt(), CompilerSwitches::supportsPCH, UnixFilename(), wxICON_ERROR, and wxOK.
Referenced by ProjectFile::DoUpdateFileDetails().
wxString pfDetails::dep_dir |
Definition at line 252 of file projectfile.h.
wxString pfDetails::dep_dir_native |
Definition at line 260 of file projectfile.h.
wxString pfDetails::dep_file |
Definition at line 249 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand().
wxString pfDetails::dep_file_absolute_native |
Definition at line 264 of file projectfile.h.
Referenced by DirectCommands::GetTargetCleanCommands().
wxString pfDetails::dep_file_native |
Definition at line 257 of file projectfile.h.
wxString pfDetails::object_dir |
Definition at line 250 of file projectfile.h.
wxString pfDetails::object_dir_flat |
Definition at line 251 of file projectfile.h.
wxString pfDetails::object_dir_flat_native |
Definition at line 259 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand().
wxString pfDetails::object_dir_native |
Definition at line 258 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand().
wxString pfDetails::object_file |
Definition at line 248 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand(), and DirectCommands::GetTargetLinkCommands().
wxString pfDetails::object_file_absolute_native |
Definition at line 262 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand(), DirectCommands::GetTargetCleanCommands(), and DirectCommands::IsObjectOutdated().
wxString pfDetails::object_file_flat |
Definition at line 253 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand(), and DirectCommands::GetTargetLinkCommands().
wxString pfDetails::object_file_flat_absolute_native |
Definition at line 263 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand(), DirectCommands::GetTargetCleanCommands(), and DirectCommands::IsObjectOutdated().
wxString pfDetails::object_file_flat_native |
Definition at line 265 of file projectfile.h.
wxString pfDetails::object_file_native |
Definition at line 256 of file projectfile.h.
Referenced by DirectCommands::GetTargetLinkCommands().
wxString pfDetails::source_file |
Definition at line 247 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand().
wxString pfDetails::source_file_absolute_native |
Definition at line 261 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand(), and DirectCommands::IsObjectOutdated().
wxString pfDetails::source_file_native |
Definition at line 255 of file projectfile.h.
Referenced by DirectCommands::GetCompileFileCommand().