diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-08-16 15:20:18 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-08-16 15:20:18 (GMT) |
commit | 7b5a8762c6d5f7915db99e2344d169d14a4fda65 (patch) | |
tree | 4c5294710e7c720afde51e8e7170a39895d17c41 /Source/cmWrapExcludeFilesCommand.cxx | |
parent | f7b1a90256a3e7d94cbb58b595eee5190e8958ba (diff) | |
download | CMake-7b5a8762c6d5f7915db99e2344d169d14a4fda65.zip CMake-7b5a8762c6d5f7915db99e2344d169d14a4fda65.tar.gz CMake-7b5a8762c6d5f7915db99e2344d169d14a4fda65.tar.bz2 |
modified how source files store properties
Diffstat (limited to 'Source/cmWrapExcludeFilesCommand.cxx')
-rw-r--r-- | Source/cmWrapExcludeFilesCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmWrapExcludeFilesCommand.cxx b/Source/cmWrapExcludeFilesCommand.cxx index 90c98c2..76f60a0 100644 --- a/Source/cmWrapExcludeFilesCommand.cxx +++ b/Source/cmWrapExcludeFilesCommand.cxx @@ -42,7 +42,7 @@ bool cmWrapExcludeFilesCommand::InitialPass(std::vector<std::string> const& args cmSourceFile* sf = m_Makefile->GetSource(j->c_str()); if(sf) { - sf->SetWrapExclude(true); + sf->SetProperty("WRAP_EXCLUDE","1"); } // if file is not already in the makefile, then add it else @@ -51,7 +51,7 @@ bool cmWrapExcludeFilesCommand::InitialPass(std::vector<std::string> const& args cmSourceFile file; std::string path = cmSystemTools::GetFilenamePath(newfile); // set the flags - file.SetWrapExclude(true); + file.SetProperty("WRAP_EXCLUDE","1"); // if this is a full path then if((path.size() && path[0] == '/') || (path.size() > 1 && path[1] == ':')) |