[Cmake-commits] CMake branch, next, updated. v2.8.3-612-g2adf433

2010-11-13 Thread Marcus D . Hanwell
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  2adf43362641b98c82bdd7c1a057f03e84d5125f (commit)
   via  74e49aa441e4805b40b5e61348501f9143a5defe (commit)
  from  fc13fef3ab99fef90a16a3d7fdc8ced9c0ac61d2 (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=2adf43362641b98c82bdd7c1a057f03e84d5125f
commit 2adf43362641b98c82bdd7c1a057f03e84d5125f
Merge: fc13fef 74e49aa
Author: Marcus D. Hanwell 
AuthorDate: Sat Nov 13 09:04:36 2010 -0500
Commit: CMake Topic Stage 
CommitDate: Sat Nov 13 09:04:36 2010 -0500

Merge topic 'EP-extra-generator' into next

74e49aa BUG 11451 - pass CMAKE_EXTRA_GENERATOR down.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=74e49aa441e4805b40b5e61348501f9143a5defe
commit 74e49aa441e4805b40b5e61348501f9143a5defe
Author: Marcus D. Hanwell 
AuthorDate: Fri Nov 12 19:43:05 2010 -0500
Commit: Marcus D. Hanwell 
CommitDate: Fri Nov 12 19:43:05 2010 -0500

BUG 11451 - pass CMAKE_EXTRA_GENERATOR down.

This patch fixes the behavior of external projects with respect to
generators using the CMAKE_EXTRA_GENERATOR variable.

diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 997164a..1be6cfd 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -1228,7 +1228,12 @@ function(_ep_add_configure_command name)
 if(cmake_generator)
   list(APPEND cmd "-G${cmake_generator}" "${source_dir}")
 else()
-  list(APPEND cmd "-G${CMAKE_GENERATOR}" "${source_dir}")
+  if(CMAKE_EXTRA_GENERATOR)
+list(APPEND cmd "-G${CMAKE_EXTRA_GENERATOR} - ${CMAKE_GENERATOR}"
+  "${source_dir}")
+  else()
+list(APPEND cmd "-G${CMAKE_GENERATOR}" "${source_dir}")
+  endif()
 endif()
   endif()
 

---

Summary of changes:
 Modules/ExternalProject.cmake |7 ++-
 1 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v2.8.3-614-ga51378a

2010-11-13 Thread Eric Noulard
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  a51378af4c9a164d14b33b4ce5656a526fde5c1b (commit)
   via  2c84d169b36b1b8713517a8d8799b82dbf59725a (commit)
  from  2adf43362641b98c82bdd7c1a057f03e84d5125f (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=a51378af4c9a164d14b33b4ce5656a526fde5c1b
commit a51378af4c9a164d14b33b4ce5656a526fde5c1b
Merge: 2adf433 2c84d16
Author: Eric Noulard 
AuthorDate: Sat Nov 13 13:57:10 2010 -0500
Commit: CMake Topic Stage 
CommitDate: Sat Nov 13 13:57:10 2010 -0500

Merge topic 'CPackRPM-ComponentSupport' into next

2c84d16 CPackRPM  add basic component support to CPackRPM


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2c84d169b36b1b8713517a8d8799b82dbf59725a
commit 2c84d169b36b1b8713517a8d8799b82dbf59725a
Author: Eric NOULARD 
AuthorDate: Sat Nov 13 17:56:36 2010 +0100
Commit: Eric NOULARD 
CommitDate: Sat Nov 13 17:56:36 2010 +0100

CPackRPM  add basic component support to CPackRPM

basic means 1 RPM per component and no dependency handling
this implies some CPackGenerator refactoring

diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index e2d7880..ab909f4 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -331,7 +331,7 @@ ELSE(CPACK_RPM_COMPRESSION_TYPE)
 ENDIF(CPACK_RPM_COMPRESSION_TYPE)
 
 if(CPACK_PACKAGE_RELOCATABLE)
-set(CPACK_RPM_PACKAGE_RELOCATABLE TRUE)
+  set(CPACK_RPM_PACKAGE_RELOCATABLE TRUE)
 endif(CPACK_PACKAGE_RELOCATABLE)
 if(CPACK_RPM_PACKAGE_RELOCATABLE)
   if(CPACK_RPM_PACKAGE_DEBUG)
@@ -453,6 +453,17 @@ SET(CPACK_RPM_FILE_NAME "${CPACK_OUTPUT_FILE_NAME}")
 #STRING(REGEX REPLACE " " " " CPACK_RPM_DIRECTORY 
"${CPACK_TOPLEVEL_DIRECTORY}")
 SET(CPACK_RPM_DIRECTORY "${CPACK_TOPLEVEL_DIRECTORY}")
 
+
+# Are we packaging components ?
+IF(CPACK_RPM_PACKAGE_COMPONENT)
+  SET(CPACK_RPM_PACKAGE_COMPONENT_PART_NAME "-${CPACK_RPM_PACKAGE_COMPONENT}")
+  SET(CPACK_RPM_PACKAGE_COMPONENT_PART_PATH "/${CPACK_RPM_PACKAGE_COMPONENT}")
+  SET(WDIR 
"${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}/${CPACK_RPM_PACKAGE_COMPONENT}")
+ELSE(CPACK_RPM_PACKAGE_COMPONENT)
+  SET(CPACK_RPM_PACKAGE_COMPONENT_PART_NAME "")
+  SET(CPACK_RPM_PACKAGE_COMPONENT_PART_PATH "")
+  SET(WDIR "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}")
+ENDIF(CPACK_RPM_PACKAGE_COMPONENT)
 # Use files tree to construct files command (spec file)
 # We should not forget to include symlinks (thus -o -type l)
 # We must remove the './' due to the local search and escape the
@@ -460,10 +471,10 @@ SET(CPACK_RPM_DIRECTORY "${CPACK_TOPLEVEL_DIRECTORY}")
 # Then we must authorize any man pages extension (adding * at the end)
 # because rpmbuild may automatically compress those files
 EXECUTE_PROCESS(COMMAND find -type f -o -type l
-   COMMAND sed {s:.*/man.*/.*:&*:}
-   COMMAND sed {s/\\.\\\(.*\\\)/\"\\1\"/}
-   WORKING_DIRECTORY 
"${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}"
-   OUTPUT_VARIABLE CPACK_RPM_INSTALL_FILES)
+COMMAND sed {s:.*/man.*/.*:&*:}
+COMMAND sed {s/\\.\\\(.*\\\)/\"\\1\"/}
+WORKING_DIRECTORY "${WDIR}"
+OUTPUT_VARIABLE CPACK_RPM_INSTALL_FILES)
 
 if (CPACK_ABSOLUTE_DESTINATION_FILES)
   IF(CPACK_RPM_PACKAGE_DEBUG)
@@ -494,7 +505,7 @@ if (CPACK_ABSOLUTE_DESTINATION_FILES)
 endif(CPACK_ABSOLUTE_DESTINATION_FILES)
 
 # The name of the final spec file to be used by rpmbuild
-SET(CPACK_RPM_BINARY_SPECFILE 
"${CPACK_RPM_ROOTDIR}/SPECS/${CPACK_RPM_PACKAGE_NAME}.spec")
+SET(CPACK_RPM_BINARY_SPECFILE 
"${CPACK_RPM_ROOTDIR}/SPECS/${CPACK_RPM_PACKAGE_NAME}${CPACK_RPM_PACKAGE_COMPONENT_PART_NAME}.spec")
 
 # Print out some debug information if we were asked for that
 IF(CPACK_RPM_PACKAGE_DEBUG)
@@ -517,7 +528,7 @@ ENDIF(CPACK_RPM_PACKAGE_DEBUG)
 IF(CPACK_RPM_GENERATE_USER_BINARY_SPECFILE_TEMPLATE OR NOT 
CPACK_RPM_USER_BINARY_SPECFILE)
FILE(WRITE ${CPACK_RPM_BINARY_SPECFILE}.in
   "# -*- rpm-spec -*-
-BuildRoot:  \...@cpack_rpm_directory\@/\...@cpack_package_file_name\@
+BuildRoot:  
\...@cpack_rpm_directory\@/\...@cpack_package_file_name\@\...@cpack_rpm_package_component_part_path\@
 Summary:\...@cpack_rpm_package_summary\@
 Name:   \...@cpack_rpm_package_name\@
 Version:\...@cpack_rpm_package_version\@
@@ -608,15 +619,15 @@ IF(RPMBUILD_EXECUTABLE)
   # Now call rpmbuild using the SPECFILE
   EXECUTE_PROCESS(
 COMMAND "${RPMBUILD_EXECUTABLE}" -bb
---buildroot "${CPACK_RPM_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}"
+--bu

[Cmake-commits] CMake branch, master, updated. v2.8.3-50-gdabcb7b

2010-11-13 Thread KWSys Robot
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, master has been updated
   via  dabcb7b8e478e2a6882a95ac33bc4cc9465bf7fb (commit)
  from  33f650a5c934842a8786b2412b3fbcdb01f65bbc (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=dabcb7b8e478e2a6882a95ac33bc4cc9465bf7fb
commit dabcb7b8e478e2a6882a95ac33bc4cc9465bf7fb
Author: KWSys Robot 
AuthorDate: Sun Nov 14 00:01:02 2010 -0500
Commit: KWSys Robot 
CommitDate: Sun Nov 14 00:10:03 2010 -0500

KWSys Nightly Date Stamp

diff --git a/Source/kwsys/kwsysDateStamp.cmake 
b/Source/kwsys/kwsysDateStamp.cmake
index 9f360fb..96a687b 100644
--- a/Source/kwsys/kwsysDateStamp.cmake
+++ b/Source/kwsys/kwsysDateStamp.cmake
@@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR  2010)
 SET(KWSYS_DATE_STAMP_MONTH 11)
 
 # KWSys version date day component.  Format is DD.
-SET(KWSYS_DATE_STAMP_DAY   13)
+SET(KWSYS_DATE_STAMP_DAY   14)

---

Summary of changes:
 Source/kwsys/kwsysDateStamp.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits