mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-13 12:59:55 -05:00
ENH:Tweaks to dump documentation
This commit is contained in:
@@ -61,8 +61,8 @@ public:
|
||||
*/
|
||||
virtual const char* TerseDocumentation()
|
||||
{
|
||||
return "Add all the source files found in the specified directory to\n"
|
||||
" the build.";
|
||||
return "Add all the source files found in the specified\n"
|
||||
"directory to the build.";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -73,7 +73,7 @@ public:
|
||||
virtual const char* FullDocumentation()
|
||||
{
|
||||
return
|
||||
"INCLUDE_DIRECTORIES(dir1 dir2 ...).\n";
|
||||
"INCLUDE_DIRECTORIES(dir1 dir2 ...)";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -76,11 +76,11 @@ public:
|
||||
virtual const char* FullDocumentation()
|
||||
{
|
||||
return
|
||||
"Specify a list of libraries to be linked into executables or \n"
|
||||
"shared objects. This rule is passed down to all other rules."
|
||||
"LINK_LIBRARIES(library1 library2).\n"
|
||||
"The library name should be the same as the name used in the\n"
|
||||
"LIBRARY(library) rule.";
|
||||
"LINK_LIBRARIES(library1 library2)\n"
|
||||
"Specify a list of libraries to be linked into\n"
|
||||
"executables or shared objects. This rule is passed\n"
|
||||
"down to all other rules. The library name should be\n"
|
||||
"the same as the name used in the LIBRARY(library) rule.";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -68,8 +68,8 @@ public:
|
||||
virtual const char* FullDocumentation()
|
||||
{
|
||||
return
|
||||
"Set the name for the entire project. This takes one argument.\n"
|
||||
"PROJECT(projectname)";
|
||||
"PROJECT(projectname)\n"
|
||||
"Set the name for the entire project. This takes one argument.";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -61,7 +61,8 @@ public:
|
||||
*/
|
||||
virtual const char* TerseDocumentation()
|
||||
{
|
||||
return "Add a list of source files if the required variables are set.";
|
||||
return "Add a list of source files if the required \n"
|
||||
"variables are set.";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -68,8 +68,8 @@ public:
|
||||
virtual const char* FullDocumentation()
|
||||
{
|
||||
return
|
||||
"Add a list of subdirectories to the build.\n"
|
||||
"SUBDIRS(dir1 dir2 ...)\n"
|
||||
"Add a list of subdirectories to the build.\n"
|
||||
"This will cause any CMakeLists.txt files in the sub directories\n"
|
||||
"to be processed by CMake.";
|
||||
}
|
||||
|
||||
@@ -78,8 +78,8 @@ public:
|
||||
virtual const char* FullDocumentation()
|
||||
{
|
||||
return
|
||||
"Add -D flags to the command line for Unix only.\n"
|
||||
"UNIX_DEFINES(-DFOO -DBAR)";
|
||||
"UNIX_DEFINES(-DFOO -DBAR)\n"
|
||||
"Add -D flags to the command line for Unix only.";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -78,8 +78,8 @@ public:
|
||||
virtual const char* FullDocumentation()
|
||||
{
|
||||
return
|
||||
"Add -D define flags to command line for Win32 environments.\n"
|
||||
"WIN32_DEFINES(-DFOO -DBAR ...)";
|
||||
"WIN32_DEFINES(-DFOO -DBAR ...)\n"
|
||||
"Add -D define flags to command line for Win32 environments.";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user