View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009074CMakeModulespublic2009-05-27 13:172010-09-01 00:20
ReporterLinas Vepstas 
Assigned ToPhilip Lowman 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0009074: FindXXX.cmake files for guile, unixodbc, lua, gsl, pthreads, memcached, xerces, csockets, cxxtest, etc.
DescriptionI work on a project that has had to write a number of custom FindXXX files, and I would like to have them contributed back to the main cmake modules collection. At this time, I have files for the following:

 FindGuile.cmake FindLinkGrammar.cmake FindSTLPort.cmake
FindCSockets.cmake FindIODBC.cmake FindLua51.cmake FindUnixODBC.cmake
FindCxxtest.cmake FindLibMemCached.cmake FindLuabind.cmake FindXercesC.cmake
FindGSL.cmake FindLibUbiGraphClient.cmake FindPthreads.cmake

I can provide any/all of these files, let me know.
TagsNo tags attached.
Attached Files? file icon FindCSockets.cmake [^] (1,569 bytes) 2009-05-27 13:17
? file icon FindGSL.cmake [^] (4,511 bytes) 2009-05-27 13:19
? file icon FindGuile.cmake [^] (3,433 bytes) 2009-05-27 13:20
? file icon FindIODBC.cmake [^] (1,536 bytes) 2009-05-27 13:20
? file icon FindLibMemCached.cmake [^] (1,749 bytes) 2009-05-27 13:20
? file icon FindLibUbiGraphClient.cmake [^] (1,823 bytes) 2009-05-27 13:21
? file icon FindLinkGrammar.cmake [^] (1,981 bytes) 2009-05-27 13:21
? file icon FindLua51.cmake [^] (1,584 bytes) 2009-05-27 13:21
? file icon FindLuabind.cmake [^] (4,325 bytes) 2009-05-27 13:21
? file icon FindPthreads.cmake [^] (2,924 bytes) 2009-05-27 13:22
? file icon FindSTLPort.cmake [^] (2,080 bytes) 2009-05-27 13:22
? file icon FindUnixODBC.cmake [^] (1,637 bytes) 2009-05-27 13:22
? file icon FindXercesC.cmake [^] (987 bytes) 2009-05-27 13:22
? file icon FindCxxtest.cmake [^] (1,779 bytes) 2009-05-29 10:55
? file icon FindGuile.cmake-fixed [^] (3,910 bytes) 2009-06-26 11:30

 Relationships

  Notes
(0016589)
Wojciech Migda (reporter)
2009-05-29 06:12

thanks for your effort, but which one is for CxxTest ?
(0016590)
Linas Vepstas (reporter)
2009-05-29 10:56

Sorry, forgot that one; just added it.
(0016758)
Linas Vepstas (reporter)
2009-06-26 11:29

The originaly submitted FindGuile.cmake file is buggy. I can't figure out how to delete it .. so instead, am attaching new version.
(0017050)
Dan Z (reporter)
2009-08-03 19:13

Hello! What is the status of this bug, and will you be adding any of these scripts to CMake?
(0017140)
Philip Lowman (developer)
2009-08-16 23:39

Regarding...
FindLua51.cmake => Already is one
FindCxxTest.cmake => Already is one

The FindLua51 module looks very similar although the FindCxxTest module is different. If you have any usability problems with the existing modules as checked into CMake 2.6.4 please file new bugs.

FindPthreads.cmake => This looks familiar, considering I wrote it two years ago (lol). It never made it in since it got side-shelved owing to overlap with FindThreads.cmake. Ping this issue if interested. If you're on UNIX only just use FindThreads.cmake. The only thing FindPthreads has over FindThreads is Pthreads-Win32 support.
http://public.kitware.com/Bug/view.php?id=6399 [^]

For your other modules if you really want to get them into CMake you'll have to find a maintainer or become one yourself and then tweak them to comply with the module writing guidelines.

See the following post for details on this process:
http://www.cmake.org/pipermail/cmake/2007-July/015258.html [^]

Module writing guidelines:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view=markup [^]
(0017170)
Dan Z (reporter)
2009-08-20 12:35

Thanks for your response, Philip. I can do this for some of the modules, so I guess I'll see you on the CMake mailing list.
(0017410)
Linas Vepstas (reporter)
2009-09-12 13:36

FWIW, I'm the maintainer for link-grammar. I currently distribute
the CMakefile with link-grammar, but do not install it, as the
cmake distribution seems to be the one that wants to distribute the
file, rather than allowing me, the maintainer, to do this. (Right?
or did I misunderstand something?)
(0017598)
Philip Lowman (developer)
2009-09-17 22:43

You are free to distribute the find module with link-grammar. Someone can also step forward and contribute the find module to CMake itself (see links above for details). The only (minor) advantage of doing this is all CMake users can call find_package(LinkGrammar) without downloading the find module from you and placing it in their CMAKE_MODULE_PATH.
(0021863)
Philip Lowman (developer)
2010-08-19 23:53

I barely have time to maintain the modules I already have contributed to CMake. So, I have to close this bug (unfortunately) as I can't volunteer to support all of these new libraries. If you feel comfortable doing that see the links below. If not, people can always download the modules from the bugtracker.

http://www.cmake.org/pipermail/cmake/2007-July/015258.html [^]
http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/readme.txt?root=CMake&view=markup [^]
http://www.cmake.org/Wiki/CMake/Git#Publishing [^]

 Issue History
Date Modified Username Field Change
2009-05-27 13:17 Linas Vepstas New Issue
2009-05-27 13:17 Linas Vepstas File Added: FindCSockets.cmake
2009-05-27 13:19 Linas Vepstas File Added: FindGSL.cmake
2009-05-27 13:20 Linas Vepstas File Added: FindGuile.cmake
2009-05-27 13:20 Linas Vepstas File Added: FindIODBC.cmake
2009-05-27 13:20 Linas Vepstas File Added: FindLibMemCached.cmake
2009-05-27 13:21 Linas Vepstas File Added: FindLibUbiGraphClient.cmake
2009-05-27 13:21 Linas Vepstas File Added: FindLinkGrammar.cmake
2009-05-27 13:21 Linas Vepstas File Added: FindLua51.cmake
2009-05-27 13:21 Linas Vepstas File Added: FindLuabind.cmake
2009-05-27 13:22 Linas Vepstas File Added: FindPthreads.cmake
2009-05-27 13:22 Linas Vepstas File Added: FindSTLPort.cmake
2009-05-27 13:22 Linas Vepstas File Added: FindUnixODBC.cmake
2009-05-27 13:22 Linas Vepstas File Added: FindXercesC.cmake
2009-05-29 06:12 Wojciech Migda Note Added: 0016589
2009-05-29 10:55 Linas Vepstas File Added: FindCxxtest.cmake
2009-05-29 10:56 Linas Vepstas Note Added: 0016590
2009-06-26 11:29 Linas Vepstas Note Added: 0016758
2009-06-26 11:30 Linas Vepstas File Added: FindGuile.cmake-fixed
2009-08-03 19:13 Dan Z Note Added: 0017050
2009-08-16 23:39 Philip Lowman Note Added: 0017140
2009-08-20 12:35 Dan Z Note Added: 0017170
2009-09-11 17:35 Bill Hoffman Status new => assigned
2009-09-11 17:35 Bill Hoffman Assigned To => Philip Lowman
2009-09-12 13:36 Linas Vepstas Note Added: 0017410
2009-09-17 22:43 Philip Lowman Note Added: 0017598
2010-08-19 23:53 Philip Lowman Note Added: 0021863
2010-08-19 23:53 Philip Lowman Severity minor => feature
2010-08-19 23:53 Philip Lowman Status assigned => resolved
2010-08-19 23:53 Philip Lowman Resolution open => won't fix
2010-08-19 23:53 Philip Lowman Product Version => CMake-2-8
2010-09-01 00:20 Philip Lowman Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team