[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1877-ga154961

Brad King brad.king at kitware.com
Sun Feb 3 12:00:59 EST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  a154961df04bdfcf99e646db29855001e6ee7ed1 (commit)
       via  18a93c8a4683980a9f6c2e30871f5d8cf86d1077 (commit)
      from  ae36e0b253e7ef03a61f6b4b4fc20eed80000ddc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a154961df04bdfcf99e646db29855001e6ee7ed1
commit a154961df04bdfcf99e646db29855001e6ee7ed1
Merge: ae36e0b 18a93c8
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Sun Feb 3 12:00:58 2013 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sun Feb 3 12:00:58 2013 -0500

    Merge topic 'vs6-rule-files' into next
    
    18a93c8 VS 6: Create .rule file directory before file


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=18a93c8a4683980a9f6c2e30871f5d8cf86d1077
commit 18a93c8a4683980a9f6c2e30871f5d8cf86d1077
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Sun Feb 3 11:47:52 2013 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Sun Feb 3 11:47:52 2013 -0500

    VS 6: Create .rule file directory before file
    
    The VS 6 IDE wants .rule files to exist in order to run the rule attached
    to it.  When creating the dummy .rule file make sure the directory exists.

diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index 6c78ac4..b6e1906 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -324,6 +324,9 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
       {
       if(!cmSystemTools::FileExists(source.c_str()))
         {
+        // Make sure the path exists for the file
+        std::string path = cmSystemTools::GetFilenamePath(source);
+        cmSystemTools::MakeDirectory(path.c_str());
         cmSystemTools::ReplaceString(source, "$(IntDir)/", "");
 #if defined(_WIN32) || defined(__CYGWIN__)
         std::ofstream sourceFout(source.c_str(),

-----------------------------------------------------------------------

Summary of changes:
 Source/cmLocalVisualStudio6Generator.cxx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list