[Cmake-commits] CMake branch, next, updated. v2.8.3-1395-gbbd7597
Marcus D. Hanwell
marcus.hanwell at kitware.com
Mon Jan 17 15:32:23 EST 2011
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 bbd7597e74c7cfbfb11d3651d9b635941aa3af74 (commit)
via 23635ff1a0465010e8854d6f436042f03be79cd3 (commit)
from 3961ca376a888f8c37b512b87e154cbe63d1ce78 (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=bbd7597e74c7cfbfb11d3651d9b635941aa3af74
commit bbd7597e74c7cfbfb11d3651d9b635941aa3af74
Merge: 3961ca3 23635ff
Author: Marcus D. Hanwell <marcus.hanwell at kitware.com>
AuthorDate: Mon Jan 17 15:32:19 2011 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Jan 17 15:32:19 2011 -0500
Merge topic 'python-modules-header' into next
23635ff Bug #11715 - generate header in the build tree.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=23635ff1a0465010e8854d6f436042f03be79cd3
commit 23635ff1a0465010e8854d6f436042f03be79cd3
Author: Marcus D. Hanwell <marcus.hanwell at kitware.com>
AuthorDate: Mon Jan 17 15:29:01 2011 -0500
Commit: Marcus D. Hanwell <marcus.hanwell at kitware.com>
CommitDate: Mon Jan 17 15:29:01 2011 -0500
Bug #11715 - generate header in the build tree.
The module header was being placed in the source tree before. Thanks to
Marcel Loose for the patch, this ensures the file is written to the
build tree.
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 6e5f6ef..ad98598 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -151,6 +151,7 @@ FUNCTION(PYTHON_WRITE_MODULES_HEADER _filename)
GET_FILENAME_COMPONENT(_name "${_filename}" NAME)
STRING(REPLACE "." "_" _name "${_name}")
STRING(TOUPPER ${_name} _nameUpper)
+ SET(_filename ${CMAKE_CURRENT_BINARY_DIR}/${_filename})
SET(_filenameTmp "${_filename}.in")
FILE(WRITE ${_filenameTmp} "/*Created by cmake, do not edit, changes will be lost*/\n")
-----------------------------------------------------------------------
Summary of changes:
Modules/FindPythonLibs.cmake | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list