[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1886-g9956a94
Brad King
brad.king at kitware.com
Sun Feb 3 12:03:58 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 9956a94466600abcd6a10bdbf66fab0dab1dfdc7 (commit)
via 0f24a667152c86982f7296b7df19f058c660d981 (commit)
from 627bb018af5485c6fb7a543829a0c95d12962940 (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=9956a94466600abcd6a10bdbf66fab0dab1dfdc7
commit 9956a94466600abcd6a10bdbf66fab0dab1dfdc7
Merge: 627bb01 0f24a66
Author: Brad King <brad.king at kitware.com>
AuthorDate: Sun Feb 3 12:03:56 2013 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sun Feb 3 12:03:56 2013 -0500
Merge topic 'vs6-rule-files' into next
0f24a66 VS 6: Create .rule file directory before file
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0f24a667152c86982f7296b7df19f058c660d981
commit 0f24a667152c86982f7296b7df19f058c660d981
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 12:03:14 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..418eaa4 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -325,6 +325,9 @@ void cmLocalVisualStudio6Generator::WriteDSPFile(std::ostream& fout,
if(!cmSystemTools::FileExists(source.c_str()))
{
cmSystemTools::ReplaceString(source, "$(IntDir)/", "");
+ // Make sure the path exists for the file
+ std::string path = cmSystemTools::GetFilenamePath(source);
+ cmSystemTools::MakeDirectory(path.c_str());
#if defined(_WIN32) || defined(__CYGWIN__)
std::ofstream sourceFout(source.c_str(),
std::ios::binary | std::ios::out
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list