STYLE: fix docs

This commit is contained in:
Ken Martin 2005-11-17 11:39:02 -05:00
parent f6ef36d8b2
commit 4d2ce04caa
2 changed files with 10 additions and 10 deletions

View File

@ -93,12 +93,12 @@ public:
"are cleaned automatically. If OUTPUT_VARIABLE is specified, then the " "are cleaned automatically. If OUTPUT_VARIABLE is specified, then the "
"output from the build process is stored in the given variable. " "output from the build process is stored in the given variable. "
"TRY_COMPILE creates a CMakeList.txt " "TRY_COMPILE creates a CMakeList.txt "
"file on the fly, and in that file it looks like this: " "file on the fly, and in that file it looks like this:\n"
" ADD_DEFINITIONS( <expanded COMPILE_DEFINITIONS from calling cmake>" " ADD_DEFINITIONS( <expanded COMPILE_DEFINITIONS from calling cmake>)\n"
" INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES})" " INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES})\n"
" LINK_DIRECTORIES(${LINK_DIRECTORIES})" " LINK_DIRECTORIES(${LINK_DIRECTORIES})\n"
" ADD_EXECUTABLE(cmTryCompileExec sources)" " ADD_EXECUTABLE(cmTryCompileExec sources)\n"
" TARGET_LINK_LIBRARIES(cmTryCompileExec ${LINK_LIBRARIES})"; " TARGET_LINK_LIBRARIES(cmTryCompileExec ${LINK_LIBRARIES})\n";
} }
cmTypeMacro(cmTryCompileCommand, cmCommand); cmTypeMacro(cmTryCompileCommand, cmCommand);