From 389d42317743952e2e78393601c20b826ce95d30 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 17 Aug 2012 22:09:08 +0200 Subject: [PATCH 1/4] Add missing whitespace to docs. --- Source/cmTarget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 775662cc3..639891255 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -903,7 +903,7 @@ void cmTarget::DefineProperties(cmake *cm) "Build an executable with a WinMain entry point on windows.", "When this property is set to true the executable when linked " "on Windows will be created with a WinMain() entry point instead " - "of of just main()." + "of of just main(). " "This makes it a GUI executable instead of a console application. " "See the CMAKE_MFC_FLAG variable documentation to configure use " "of MFC for WinMain executables. " From 805f5e5c1e32c878b63e10f167e667a05a460f3e Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 19 Aug 2012 22:05:16 +0200 Subject: [PATCH 2/4] Fix some typos in the docs. s/static the static/the static/ Make Visual Studio capitalized. --- Source/cmDocumentVariables.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx index 05ef8fc71..943d21947 100644 --- a/Source/cmDocumentVariables.cxx +++ b/Source/cmDocumentVariables.cxx @@ -827,9 +827,9 @@ void cmDocumentVariables::DefineVariables(cmake* cm) "Tell cmake to use MFC for an executable or dll.", "This can be set in a CMakeLists.txt file and will " "enable MFC in the application. It should be set " - "to 1 for static the static MFC library, and 2 for " - "the shared MFC library. This is used in visual " - "studio 6 and 7 project files. The CMakeSetup " + "to 1 for the static MFC library, and 2 for " + "the shared MFC library. This is used in Visual " + "Studio 6 and 7 project files. The CMakeSetup " "dialog used MFC and the CMakeLists.txt looks like this:\n" " add_definitions(-D_AFXDLL)\n" " set(CMAKE_MFC_FLAG 2)\n" From ecc1acb94cbfa12045ec94e11013cbfe6a3bd136 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sun, 19 Aug 2012 23:11:13 +0200 Subject: [PATCH 3/4] Remove incorrect doc string for link type enum This is actually a duplicate doc string for a method a few lines above. --- Source/cmTarget.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/cmTarget.h b/Source/cmTarget.h index a89c5d91b..98eaeec76 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -158,9 +158,6 @@ public: void AddSources(std::vector const& srcs); cmSourceFile* AddSource(const char* src); - /** - * Get the list of the source files used by this target - */ enum LinkLibraryType {GENERAL, DEBUG, OPTIMIZED}; //* how we identify a library, by name and type From ee949d8871ababb7bde5c03b9ac77c4b15b3f786 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Mon, 20 Aug 2012 22:26:05 +0200 Subject: [PATCH 4/4] Remove duplicate 'of' from docs. --- Source/cmTarget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 639891255..48811c82c 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -903,7 +903,7 @@ void cmTarget::DefineProperties(cmake *cm) "Build an executable with a WinMain entry point on windows.", "When this property is set to true the executable when linked " "on Windows will be created with a WinMain() entry point instead " - "of of just main(). " + "of just main(). " "This makes it a GUI executable instead of a console application. " "See the CMAKE_MFC_FLAG variable documentation to configure use " "of MFC for WinMain executables. "