diff options
author | Brad King <brad.king@kitware.com> | 2001-07-02 19:38:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-07-02 19:38:02 (GMT) |
commit | e693d47253157c9372aeb7c2edbecef8d1fb6225 (patch) | |
tree | 296e6789a8596e112f2139b13e71b53219309bd0 /Source/cmAddLibraryCommand.h | |
parent | ae2723878e08a8aa016869e90711e260d981df38 (diff) | |
download | CMake-e693d47253157c9372aeb7c2edbecef8d1fb6225.zip CMake-e693d47253157c9372aeb7c2edbecef8d1fb6225.tar.gz CMake-e693d47253157c9372aeb7c2edbecef8d1fb6225.tar.bz2 |
ENH: Added support for selection of static/shared build on a per-library basis.
Diffstat (limited to 'Source/cmAddLibraryCommand.h')
-rw-r--r-- | Source/cmAddLibraryCommand.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmAddLibraryCommand.h b/Source/cmAddLibraryCommand.h index 650ef19..44954b1 100644 --- a/Source/cmAddLibraryCommand.h +++ b/Source/cmAddLibraryCommand.h @@ -86,7 +86,11 @@ public: virtual const char* GetFullDocumentation() { return - "ADD_LIBRARY(libname srclist srclist srclist ...)"; + "ADD_LIBRARY(libname [SHARED | STATIC] srclist srclist srclist ...)\n" + "Adds a library target. If the keyword SHARED or STATIC appears, it\n" + "sets the library type. If neither keyword appears as the second\n" + "argument, the type defaults to the current value of BUILD_SHARED_LIBS.\n" + "If this variable is not set, the type defaults to STATIC."; } cmTypeMacro(cmAddLibraryCommand, cmCommand); |