MantisBT - CMake
View Issue Details
0009074CMakeModulespublic2009-05-27 13:172010-09-01 00:20
Linas Vepstas 
Philip Lowman 
normalfeaturealways
closedwon't fix 
CMake-2-8 
 
0009074: FindXXX.cmake files for guile, unixodbc, lua, gsl, pthreads, memcached, xerces, csockets, cxxtest, etc.
I 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.
No tags attached.
? FindCSockets.cmake (1,569) 2009-05-27 13:17
https://public.kitware.com/Bug/file/2273/FindCSockets.cmake
? FindGSL.cmake (4,511) 2009-05-27 13:19
https://public.kitware.com/Bug/file/2274/FindGSL.cmake
? FindGuile.cmake (3,433) 2009-05-27 13:20
https://public.kitware.com/Bug/file/2275/FindGuile.cmake
? FindIODBC.cmake (1,536) 2009-05-27 13:20
https://public.kitware.com/Bug/file/2276/FindIODBC.cmake
? FindLibMemCached.cmake (1,749) 2009-05-27 13:20
https://public.kitware.com/Bug/file/2277/FindLibMemCached.cmake
? FindLibUbiGraphClient.cmake (1,823) 2009-05-27 13:21
https://public.kitware.com/Bug/file/2278/FindLibUbiGraphClient.cmake
? FindLinkGrammar.cmake (1,981) 2009-05-27 13:21
https://public.kitware.com/Bug/file/2279/FindLinkGrammar.cmake
? FindLua51.cmake (1,584) 2009-05-27 13:21
https://public.kitware.com/Bug/file/2280/FindLua51.cmake
? FindLuabind.cmake (4,325) 2009-05-27 13:21
https://public.kitware.com/Bug/file/2281/FindLuabind.cmake
? FindPthreads.cmake (2,924) 2009-05-27 13:22
https://public.kitware.com/Bug/file/2282/FindPthreads.cmake
? FindSTLPort.cmake (2,080) 2009-05-27 13:22
https://public.kitware.com/Bug/file/2283/FindSTLPort.cmake
? FindUnixODBC.cmake (1,637) 2009-05-27 13:22
https://public.kitware.com/Bug/file/2284/FindUnixODBC.cmake
? FindXercesC.cmake (987) 2009-05-27 13:22
https://public.kitware.com/Bug/file/2285/FindXercesC.cmake
? FindCxxtest.cmake (1,779) 2009-05-29 10:55
https://public.kitware.com/Bug/file/2289/FindCxxtest.cmake
? FindGuile.cmake-fixed (3,910) 2009-06-26 11:30
https://public.kitware.com/Bug/file/2340/FindGuile.cmake-fixed
Issue History
2009-05-27 13:17Linas VepstasNew Issue
2009-05-27 13:17Linas VepstasFile Added: FindCSockets.cmake
2009-05-27 13:19Linas VepstasFile Added: FindGSL.cmake
2009-05-27 13:20Linas VepstasFile Added: FindGuile.cmake
2009-05-27 13:20Linas VepstasFile Added: FindIODBC.cmake
2009-05-27 13:20Linas VepstasFile Added: FindLibMemCached.cmake
2009-05-27 13:21Linas VepstasFile Added: FindLibUbiGraphClient.cmake
2009-05-27 13:21Linas VepstasFile Added: FindLinkGrammar.cmake
2009-05-27 13:21Linas VepstasFile Added: FindLua51.cmake
2009-05-27 13:21Linas VepstasFile Added: FindLuabind.cmake
2009-05-27 13:22Linas VepstasFile Added: FindPthreads.cmake
2009-05-27 13:22Linas VepstasFile Added: FindSTLPort.cmake
2009-05-27 13:22Linas VepstasFile Added: FindUnixODBC.cmake
2009-05-27 13:22Linas VepstasFile Added: FindXercesC.cmake
2009-05-29 06:12Wojciech MigdaNote Added: 0016589
2009-05-29 10:55Linas VepstasFile Added: FindCxxtest.cmake
2009-05-29 10:56Linas VepstasNote Added: 0016590
2009-06-26 11:29Linas VepstasNote Added: 0016758
2009-06-26 11:30Linas VepstasFile Added: FindGuile.cmake-fixed
2009-08-03 19:13Dan ZNote Added: 0017050
2009-08-16 23:39Philip LowmanNote Added: 0017140
2009-08-20 12:35Dan ZNote Added: 0017170
2009-09-11 17:35Bill HoffmanStatusnew => assigned
2009-09-11 17:35Bill HoffmanAssigned To => Philip Lowman
2009-09-12 13:36Linas VepstasNote Added: 0017410
2009-09-17 22:43Philip LowmanNote Added: 0017598
2010-08-19 23:53Philip LowmanNote Added: 0021863
2010-08-19 23:53Philip LowmanSeverityminor => feature
2010-08-19 23:53Philip LowmanStatusassigned => resolved
2010-08-19 23:53Philip LowmanResolutionopen => won't fix
2010-08-19 23:53Philip LowmanProduct Version => CMake-2-8
2010-09-01 00:20Philip LowmanStatusresolved => closed

Notes
(0016589)
Wojciech Migda   
2009-05-29 06:12   
thanks for your effort, but which one is for CxxTest ?
(0016590)
Linas Vepstas   
2009-05-29 10:56   
Sorry, forgot that one; just added it.
(0016758)
Linas Vepstas   
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   
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   
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   
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   
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   
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   
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 [^]