summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-15 22:52:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-20 22:12:51 (GMT)
commitb23cf06f861e928cf8ee942eabd24ea76e299f4f (patch)
tree998d89c43bd437861efbc0606f67b7ee4ac670da /Source/cmake.h
parentfcf246acd18dd168d9909cd33b191a3e6c9881e0 (diff)
downloadCMake-b23cf06f861e928cf8ee942eabd24ea76e299f4f.zip
CMake-b23cf06f861e928cf8ee942eabd24ea76e299f4f.tar.gz
CMake-b23cf06f861e928cf8ee942eabd24ea76e299f4f.tar.bz2
cmake: Remove redundant start directories.
They are maintained as containing the same content as the 'home' directories, but they are never read from. Fix some comments and help strings which confused the two by name. They actually mean what is called CMAKE_SOURCE_DIR in cmake code.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h24
1 files changed, 3 insertions, 21 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 352850d..9dd7c31 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -41,7 +41,7 @@ class cmState;
* The basic process for a GUI is as follows:
*
* -# Create a cmake instance
- * -# Set the Home & Start directories, generator, and cmake command. this
+ * -# Set the Home directories, generator, and cmake command. this
* can be done using the Set methods or by using SetArgs and passing in
* command line arguments.
* -# Load the cache by calling LoadCache (duh)
@@ -52,7 +52,7 @@ class cmState;
* -# Let the user change values and go back to step 5
* -# call Generate
- * If your GUI allows the user to change the start & home directories then
+ * If your GUI allows the user to change the home directories then
* you must at a minimum redo steps 2 through 7.
*/
@@ -106,9 +106,7 @@ class cmake
/**
* Set/Get the home directory (or output directory) in the project. The
* home directory is the top directory of the project. It is the
- * path-to-source cmake was run with. Remember that CMake processes
- * CMakeLists files by recursing up the tree starting at the StartDirectory
- * and going up until it reaches the HomeDirectory.
+ * path-to-source cmake was run with.
*/
void SetHomeDirectory(const std::string& dir);
const char* GetHomeDirectory() const;
@@ -116,20 +114,6 @@ class cmake
const char* GetHomeOutputDirectory() const;
//@}
- //@{
- /**
- * Set/Get the start directory (or output directory). The start directory
- * is the directory of the CMakeLists.txt file that started the current
- * round of processing. Remember that CMake processes CMakeLists files by
- * recursing up the tree starting at the StartDirectory and going up until
- * it reaches the HomeDirectory.
- */
- void SetStartDirectory(const std::string& dir);
- const char* GetStartDirectory() const;
- void SetStartOutputDirectory(const std::string& dir);
- const char* GetStartOutputDirectory() const;
- //@}
-
/**
* Handle a command line invocation of cmake.
*/
@@ -354,8 +338,6 @@ protected:
cmCacheManager *CacheManager;
std::string cmHomeDirectory;
std::string HomeOutputDirectory;
- std::string cmStartDirectory;
- std::string StartOutputDirectory;
bool SuppressDevWarnings;
bool DoSuppressDevWarnings;
std::string GeneratorPlatform;