View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0014321 | CMake | CMake | public | 2013-07-30 08:02 | 2016-06-10 14:31 |
|
Reporter | Graham Markall | |
Assigned To | Kitware Robot | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | |
Platform | | OS | Windows | OS Version | |
Product Version | CMake 2.8.11.2 | |
Target Version | | Fixed in Version | | |
|
Summary | 0014321: create_javadoc does not work on Windows if doctitle or windowtitle are specified |
Description | create_javadoc encloses doctitle and windowtitle in single quotes, which causes the error:
"The system cannot find the file specified."
on Windows. I have a patch to propose, which I shall upload shortly. |
Steps To Reproduce | Use create_javadoc in a CmakeLists.txt file with a DOCTITLE or WINDOWTITLE argument. |
Tags | No tags attached. |
|
Attached Files | 0001-UseJava-put-titles-in-double-quotes-14321.patch [^] (1,131 bytes) 2013-07-30 08:05 [Show Content] [Hide Content]From f44976ae2f6da683f9f301aa4c25d2e80e805b61 Mon Sep 17 00:00:00 2001
From: Graham Markall <graham@opengamma.com>
Date: Tue, 30 Jul 2013 13:02:48 +0100
Subject: [PATCH] UseJava: put titles in double quotes (#14321)
Javadoc on Windows only accepts double-quoted doctitle and
windowtitle arguments, so these must be used instead of single
quotes.
---
Modules/UseJava.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Modules/UseJava.cmake b/Modules/UseJava.cmake
index c0fd07c..b248ecd 100644
--- a/Modules/UseJava.cmake
+++ b/Modules/UseJava.cmake
@@ -917,11 +917,11 @@ function(create_javadoc _target)
endif ()
if (_javadoc_doctitle)
- set(_javadoc_options ${_javadoc_options} -doctitle '${_javadoc_doctitle}')
+ set(_javadoc_options ${_javadoc_options} -doctitle \"${_javadoc_doctitle}\")
endif ()
if (_javadoc_windowtitle)
- set(_javadoc_options ${_javadoc_options} -windowtitle '${_javadoc_windowtitle}')
+ set(_javadoc_options ${_javadoc_options} -windowtitle \"${_javadoc_windowtitle}\")
endif ()
if (_javadoc_author)
--
1.8.3.2
|
|