summaryrefslogtreecommitdiffstats
path: root/Source/cmAddLibraryCommand.h
diff options
context:
space:
mode:
authorYves Starreveld <ystarrev@uwo.ca>2001-08-28 22:02:59 (GMT)
committerYves Starreveld <ystarrev@uwo.ca>2001-08-28 22:02:59 (GMT)
commit247c1640dabcf73f0d904379040d70c270ecddf6 (patch)
tree5383292cdd0841327c7cf7ef10cc9050ccb024fa /Source/cmAddLibraryCommand.h
parent0b58132cd4ece384c8436da0a909bbe5d728038e (diff)
downloadCMake-247c1640dabcf73f0d904379040d70c270ecddf6.zip
CMake-247c1640dabcf73f0d904379040d70c270ecddf6.tar.gz
CMake-247c1640dabcf73f0d904379040d70c270ecddf6.tar.bz2
Changes to allow MODULE type target for a shared library
Diffstat (limited to 'Source/cmAddLibraryCommand.h')
-rw-r--r--Source/cmAddLibraryCommand.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmAddLibraryCommand.h b/Source/cmAddLibraryCommand.h
index 44954b1..9ec8a82 100644
--- a/Source/cmAddLibraryCommand.h
+++ b/Source/cmAddLibraryCommand.h
@@ -86,9 +86,11 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "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"
+ "ADD_LIBRARY(libname [SHARED | STATIC | MODULE] srclist srclist ...)\n"
+ "Adds a library target. SHARED, STATIC or MODULE keywords are used\n"
+ "to set the library type. If the keywork MODULE appears, the library\n"
+ "type is set to MH_BUNDLE on systems which use dyld. Systems without\n"
+ "dyld MODULE is treated like SHARED. If no keywords appear 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.";
}