View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002771CMakeCMakepublic2006-01-27 10:292006-01-27 13:09
ReporterFilipe Sousa 
Assigned ToBrad King 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002771: Enhancement of FIND_PACKAGE
DescriptionI'm thinking we could extend REQUIRED parameter from FIND_PACKAGE to be
more specific. Some packages have a lot of libraries and we may not need
all them. Something like FIND_PACKAGE(Qt4 REQUIRED GUI XML SQL) should
define Qt4_FIND_REQUIRED-GUI, Qt4_FIND_REQUIRED-XML and
Qt4_FIND_REQUIRED-SQL
TagsNo tags attached.
Attached Filesdiff file icon cmFindPackageCommand.cxx.diff [^] (701 bytes) 1969-12-31 19:00 [Show Content]

 Relationships

  Notes
(0003607)

2006-01-27 13:08

I'm assigning this bug to myself. I've implemented the feature and updated the documentation of the FIND_PACKAGE command and in the Modules/readme.txt.

Here are the changes:

/cvsroot/CMake/CMake/Modules/readme.txt,v <-- readme.txt
new revision: 1.7; previous revision: 1.6
/cvsroot/CMake/CMake/Source/cmFindPackageCommand.cxx,v <-- cmFindPackageCommand.cxx
new revision: 1.16; previous revision: 1.15
/cvsroot/CMake/CMake/Source/cmFindPackageCommand.h,v <-- cmFindPackageCommand.h
new revision: 1.10; previous revision: 1.9

The only difference is that I replaced the "-" before the suffix with "_" to be more consistent with CMake naming conventions. Read the new documentation for details.
(0003608)
Brad King (manager)
2006-01-27 13:09

I'm assigning this bug to myself. I've made the changes and updated the documentation. Here are the changes:

/cvsroot/CMake/CMake/Modules/readme.txt,v <-- readme.txt
new revision: 1.7; previous revision: 1.6
/cvsroot/CMake/CMake/Source/cmFindPackageCommand.cxx,v <-- cmFindPackageCommand.cxx
new revision: 1.16; previous revision: 1.15
/cvsroot/CMake/CMake/Source/cmFindPackageCommand.h,v <-- cmFindPackageCommand.h
new revision: 1.10; previous revision: 1.9

The only difference is I've replaced the "-" with an "_" before the component-name suffix to be more consistent with CMake naming conventions.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team