[Cmake-commits] CMake branch, next, updated. v2.8.9-327-g9c97427
Brad King
brad.king at kitware.com
Fri Aug 31 07:38:26 EDT 2012
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 9c974279539f825f7cf003e51634038c3ef26f9a (commit)
via 4eaea3c358eba2550223d884d7b0523a91624237 (commit)
from d2cccd2473bab11221f21f1325a60d4318cf75bb (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=9c974279539f825f7cf003e51634038c3ef26f9a
commit 9c974279539f825f7cf003e51634038c3ef26f9a
Merge: d2cccd2 4eaea3c
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Aug 31 07:38:20 2012 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Aug 31 07:38:20 2012 -0400
Merge topic 'doc-add_library-PIC' into next
4eaea3c add_library: Document POSITION_INDEPENDENT_CODE default (#13479)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4eaea3c358eba2550223d884d7b0523a91624237
commit 4eaea3c358eba2550223d884d7b0523a91624237
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Aug 31 07:32:01 2012 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri Aug 31 07:36:05 2012 -0400
add_library: Document POSITION_INDEPENDENT_CODE default (#13479)
The POSITION_INDEPENDENT_CODE property documentation states that its
default value depends on whether SHARED or MODULE is given to the
add_library call. Since these are options to the add_library command we
should document on the command how they affect the property.
While at it, add a missing space to the POSITION_INDEPENDENT_CODE
property documentation.
diff --git a/Source/cmAddLibraryCommand.h b/Source/cmAddLibraryCommand.h
index b330e68..c144565 100644
--- a/Source/cmAddLibraryCommand.h
+++ b/Source/cmAddLibraryCommand.h
@@ -78,7 +78,9 @@ public:
"functionality. "
"If no type is given explicitly the type is STATIC or SHARED based "
"on whether the current value of the variable BUILD_SHARED_LIBS is "
- "true."
+ "true. "
+ "For SHARED and MODULE libraries the POSITION_INDEPENDENT_CODE "
+ "target property is set to TRUE automatically."
"\n"
"By default the library file will be created in the build tree "
"directory corresponding to the source tree directory in which "
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index b0d4834..789713f 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -763,7 +763,7 @@ void cmTarget::DefineProperties(cmake *cm)
"This property is true by default for SHARED and MODULE library "
"targets and false otherwise. "
"This property is initialized by the value of the variable "
- "CMAKE_POSITION_INDEPENDENT_CODE if it is set when a target is"
+ "CMAKE_POSITION_INDEPENDENT_CODE if it is set when a target is "
"created.");
cm->DefineProperty
-----------------------------------------------------------------------
Summary of changes:
Source/cmAddLibraryCommand.h | 4 +++-
Source/cmTarget.cxx | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list