Merge topic 'doc-improvements'

32c3be6 FIND_LIBRARY: document FIND_LIBRARY_USE_LIB64_PATHS
edd8996 FILE: mention that TO_CMAKE_PATH also handles list delimiters
This commit is contained in:
David Cole 2012-04-03 15:59:10 -04:00 committed by CMake Topic Stage
commit 57e9f97b70
2 changed files with 9 additions and 2 deletions

View File

@ -152,7 +152,8 @@ public:
"TO_CMAKE_PATH will convert path into a cmake style path with unix /. "
" The input can be a single path or a system path like \"$ENV{PATH}\". "
" Note the double quotes around the ENV call TO_CMAKE_PATH only takes "
" one argument.\n"
" one argument. This command will also convert the native list"
" delimiters for a list of paths like the PATH environment variable.\n"
"TO_NATIVE_PATH works just like TO_CMAKE_PATH, but will convert from "
" a cmake style path into the native path style \\ for windows and / "
"for UNIX.\n"

View File

@ -57,7 +57,13 @@ void cmFindLibraryCommand::GenerateDocumentation()
"the full path to the framework <fullPath>/A.framework. "
"When a full path to a framework is used as a library, "
"CMake will use a -framework A, and a -F<fullPath> to "
"link the framework to the target. ";
"link the framework to the target."
"\n"
"If the global property FIND_LIBRARY_USE_LIB64_PATHS is set all search "
"paths will be tested as normal, with \"64/\" appended, and with all "
"matches of \"lib/\" replaced with \"lib64/\". This property is "
"automatically set for the platforms that are known to need it if at "
"least one of the languages supported by the PROJECT command is enabled.";
}
// cmFindLibraryCommand