ENH: Replaced LibraryOutputPath and ExecutableOutputPath variables in Makefile and VS generators to instead ask each target for its output path. This significantly reduces total code size and centralizes previously duplicate code. It is also a step towards bug#2240.

This commit is contained in:
Brad King
2007-03-08 14:57:28 -05:00
parent ea19994b13
commit 33ee83714d
9 changed files with 99 additions and 173 deletions
+4
View File
@@ -213,6 +213,9 @@ public:
makefile and the configuration type. */
std::string GetFullPath(const char* config=0, bool implib = false);
/** Get the full path to the target output directory. */
const char* GetOutputDir();
/** Get the names of the library needed to generate a build rule
that takes into account shared library version numbers. This
should be called only on a library target. */
@@ -357,6 +360,7 @@ private:
bool HaveInstallRule;
std::string InstallPath;
std::string RuntimeInstallPath;
std::string OutputDir;
std::string Directory;
std::string Location;
std::set<cmStdString> Utilities;