View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010451CMakeModulespublic2010-03-23 15:192016-06-10 14:31
ReporterLysius 
Assigned ToPhilip Lowman 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0010451: provide DOXYGEN_VERSION with find_package(Doxygen)
DescriptionIt would be nice to have the version of doxygen available if it is found with find_package(Doxygen) .
Additional InformationI have attached a patch for Modules/FindDoxygen.cmake
TagsNo tags attached.
Attached Filesdiff file icon FindDoxygen.cmake.diff [^] (722 bytes) 2010-03-23 15:19 [Show Content]
patch file icon FindDoxygen_version-checking.patch [^] (2,059 bytes) 2010-05-15 09:44 [Show Content]

 Relationships

  Notes
(0020750)
Droscy (reporter)
2010-05-15 09:44

Using Lysius patch I've added support for version-checking against the installed one.

If the programmer write
find_package(Doxygen x.y.z)
in his CMake config file, the patched FindDoxygen.cmake checks if the installed version of Doxygen is equal or grater than x.y.z

(my patch includes Lysius' one)
(0027063)
Daniel Franke (reporter)
2011-07-25 12:15

I just spent about an hour trying to figure out why

  find_package (Doxygen 1.7.4)

which results in

  -- Found Doxygen: /sw/bin/doxygen (Required is at least version "1.7.4")

during configure time, still sets DOXYGEN_FOUND and tries to build the documentation which requires features not available with the installed doxygen version.

The patch attached to this report looks a bit largish, possibly it would be sufficient to use FIND_PACKAGE_HANDLE_STANDARD_ARGS in its second mode?

Anyway, I'd appreciate if this could be implement either way. Thanks.
(0027072)
Droscy (reporter)
2011-07-26 14:12

I wrote my patch when FIND_PACKAGE_HANDLE_STANDARD_ARGS didn't have support for version checking, with the new FIND_PACKAGE_HANDLE_STANDARD_ARGS the patch can be simplified.

The version checking in the official FindDoxygen.cmake is still missing but my patch should still work.
(0041671)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-03-23 15:19 Lysius New Issue
2010-03-23 15:19 Lysius File Added: FindDoxygen.cmake.diff
2010-05-15 09:44 Droscy Note Added: 0020750
2010-05-15 09:44 Droscy File Added: FindDoxygen_version-checking.patch
2011-01-17 14:55 David Cole Assigned To => Philip Lowman
2011-01-17 14:55 David Cole Status new => assigned
2011-07-25 12:15 Daniel Franke Note Added: 0027063
2011-07-26 14:12 Droscy Note Added: 0027072
2016-06-10 14:27 Kitware Robot Note Added: 0041671
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team