summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio6Generator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-22 13:06:46 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-22 13:06:46 (GMT)
commit369308ca767367e5dd68fd783c830fd8a57ec751 (patch)
treedf00ee1c003cb33dd70fb622dfd85fd6d2a058cb /Source/cmLocalVisualStudio6Generator.cxx
parent5fab6eebd651351ec3e712923cfa2d4b36788d74 (diff)
downloadCMake-369308ca767367e5dd68fd783c830fd8a57ec751.zip
CMake-369308ca767367e5dd68fd783c830fd8a57ec751.tar.gz
CMake-369308ca767367e5dd68fd783c830fd8a57ec751.tar.bz2
ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index dfb1ca5..8ac9e7b 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -562,7 +562,7 @@ void cmLocalVisualStudio6Generator::WriteDSPEndGroup(std::ostream& fout)
void cmLocalVisualStudio6Generator::SetBuildType(BuildType b,
const char* libName,
- const cmTarget& target)
+ cmTarget& target)
{
std::string root= m_Makefile->GetRequiredDefinition("CMAKE_ROOT");
const char *def= m_Makefile->GetDefinition( "MSPROJECT_TEMPLATE_DIRECTORY");
@@ -640,7 +640,7 @@ void cmLocalVisualStudio6Generator::SetBuildType(BuildType b,
// look for custom rules on a target and collect them together
std::string
-cmLocalVisualStudio6Generator::CreateTargetRules(const cmTarget &target,
+cmLocalVisualStudio6Generator::CreateTargetRules(cmTarget &target,
const char * /* libName */)
{
std::string customRuleCode = "";
@@ -741,8 +741,7 @@ inline std::string removeQuotes(const std::string& s)
void cmLocalVisualStudio6Generator
::WriteDSPHeader(std::ostream& fout,
- const char *libName,
- const cmTarget &target,
+ const char *libName, cmTarget &target,
std::vector<cmSourceGroup> &)
{
std::set<std::string> pathEmitted;