View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0006339 | CMake | Modules | public | 2008-02-13 13:29 | 2008-02-21 12:09 | ||||
Reporter | Philip Lowman | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0006339: Additional Find* modules for Pthreads, Magick++, CxxTest. | ||||||||
Description | Attached are modules for FindPthreads.cmake, FindMagick.cmake, and FindCxxTest.cmake. FindPthreads.cmake is designed to facilitate searching for the Pthreads-win32 port or a standard Pthreads library if on a UNIX based system. FindMagick.cmake is designed to search for the C/C++ development headers/libraries which can be optionally installed with the ImageMagick software package. If desired, this functionality can be incorporated into FindImageMagick (which presently is focused only on looking for ImageMagick binaries). FindCxxTest.cmake is designed to search for the CxxTest unit testing suite and declares a convenience macro to assist developers in executing unittests via the CTest framework. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | FindPthreads.cmake [^] (3,209 bytes) 2008-02-13 13:29 FindMagick.cmake [^] (1,632 bytes) 2008-02-13 13:29 FindCxxTest.cmake [^] (3,391 bytes) 2008-02-13 13:30 | ||||||||
Relationships | |
Relationships |
Notes | |
(0010483) Alex Neundorf (developer) 2008-02-13 14:13 |
I'm not sure about pthreads, since there is already a FindThreads.cmake. The other two look good, please check Modules/readme.txt whether everything is ok. One thing I noticed is that the recommended name for the library variable is FOO_LIBRARIES, i.e. the plural. Also in cmake cvs there is Modules/FindPackageHandleStandardArgs.cmake, which should be used to evaluate the QUIET and REQUIRED variables. Please have a look at that and use it in your modules. Alex (actually it would be nice to have a separate entry in the bug tracker for each of the modules, this makes it easier to close them once something has been committed) |
(0010488) Eric NOULARD (developer) 2008-02-13 16:08 |
current FindThread does not handles PthreadWin32 case. May be it would be worth merging those two. I'll have a look since I did use my own (unsubmitted) FindPthread |
(0010524) Eric NOULARD (developer) 2008-02-15 17:31 |
After reading my own FindPthreadWin32.cmake I think mine is just too ugly to be useful but it could be nice to have: FindPthreads.cmake (like the submitted one) which tries to find pthread libs be it on Un*x/OS X or Windows. FindThreads.cmake may eventually load FindPthreads.cmake for the pthread case, however after reading it I wouldn't like this one, for example: IF(CMAKE_SYSTEM MATCHES "Windows") SET(CMAKE_USE_WIN32_THREADS_INIT 1) ENDIF(CMAKE_SYSTEM MATCHES "Windows") does not match my needs at all. I may want to use pthread on windows too. |
(0010609) Philip Lowman (developer) 2008-02-21 00:43 |
Please close this bug. I have created 3 new bug reports for each one of these modules so they can be dealt with separately if need be (as per Alex's suggestion). FindPthreads.cmake => Bug 6399 FindMagick.cmake => Bug 6400 FindCxxTest.cmake => Bug 6401 |
(0010610) Philip Lowman (developer) 2008-02-21 00:45 |
Forgot to mention: the new bugs I filed have updated versions of all 3 of these modules which address the issues Alex mentioned (FindPackageHandleStandardArgs.cmake not being used & confirming everything complies with readme.txt). |
(0010617) Alex Neundorf (developer) 2008-02-21 12:09 |
There are now three separate feature requests. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-02-13 13:29 | Philip Lowman | New Issue | |
2008-02-13 13:29 | Philip Lowman | File Added: FindPthreads.cmake | |
2008-02-13 13:29 | Philip Lowman | File Added: FindMagick.cmake | |
2008-02-13 13:30 | Philip Lowman | File Added: FindCxxTest.cmake | |
2008-02-13 14:13 | Alex Neundorf | Note Added: 0010483 | |
2008-02-13 16:08 | Eric NOULARD | Note Added: 0010488 | |
2008-02-15 10:31 | Bill Hoffman | Status | new => assigned |
2008-02-15 10:31 | Bill Hoffman | Assigned To | => Alex Neundorf |
2008-02-15 17:31 | Eric NOULARD | Note Added: 0010524 | |
2008-02-21 00:43 | Philip Lowman | Note Added: 0010609 | |
2008-02-21 00:45 | Philip Lowman | Note Added: 0010610 | |
2008-02-21 12:09 | Alex Neundorf | Note Added: 0010617 | |
2008-02-21 12:09 | Alex Neundorf | Status | assigned => closed |
2008-02-21 12:09 | Alex Neundorf | Resolution | open => no change required |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |