summaryrefslogtreecommitdiffstats
path: root/Source/FLTKDialog/CMakeSetupGUIImplementation.h
diff options
context:
space:
mode:
authorLuis Ibanez <luis.ibanez@kitware.com>2001-06-12 12:34:29 (GMT)
committerLuis Ibanez <luis.ibanez@kitware.com>2001-06-12 12:34:29 (GMT)
commitd0614d75ea2fa259bed8e48226f85b0f5553cfb5 (patch)
tree55b6f78b2428f0640c82695476cf21266e6d17b6 /Source/FLTKDialog/CMakeSetupGUIImplementation.h
parent522ff0204a48774d42f9a1de4d2ab9530f0f6994 (diff)
downloadCMake-d0614d75ea2fa259bed8e48226f85b0f5553cfb5.zip
CMake-d0614d75ea2fa259bed8e48226f85b0f5553cfb5.tar.gz
CMake-d0614d75ea2fa259bed8e48226f85b0f5553cfb5.tar.bz2
ENH: Paths are now expanded for environment variables and made absolute.
The binary directory is created if it doesn't exist.
Diffstat (limited to 'Source/FLTKDialog/CMakeSetupGUIImplementation.h')
-rw-r--r--Source/FLTKDialog/CMakeSetupGUIImplementation.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/Source/FLTKDialog/CMakeSetupGUIImplementation.h b/Source/FLTKDialog/CMakeSetupGUIImplementation.h
index d0f8021..a7275b9 100644
--- a/Source/FLTKDialog/CMakeSetupGUIImplementation.h
+++ b/Source/FLTKDialog/CMakeSetupGUIImplementation.h
@@ -26,15 +26,18 @@ public:
virtual void BuildProjectFiles( void );
virtual void BrowseForBinaryPath( void );
virtual void BrowseForSourcePath( void );
- virtual void SetBinaryPath( const char * path );
- virtual void SetSourcePath( const char * path );
- virtual bool VerifyBinaryPath( const char * path );
- virtual bool VerifySourcePath( const char * path );
+ virtual bool SetBinaryPath( const char * path );
+ virtual bool SetSourcePath( const char * path );
virtual void SaveCacheFromGUI( void );
virtual void LoadCacheFromDiskToGUI( void );
virtual void FillCacheGUIFromCacheManager( void );
virtual void FillCacheManagerFromCacheGUI( void );
+private:
+ virtual bool VerifyBinaryPath( const string & path ) const;
+ virtual bool VerifySourcePath( const string & path ) const;
+ virtual string ExpandPathAndMakeItAbsolute( const string & inputPath ) const;
+
private:
fltk::PropertyList m_CacheEntriesList;
std::string m_WhereBuild;