MantisBT - CMake
View Issue Details
0000861CMakeModulespublic2004-05-19 15:192016-06-06 16:38
Bradley Lowekamp 
Bill Hoffman 
lowfeaturealways
closedsuspended 
 
CMake 2.8.4 
0000861: Adding INCLUDE_DIR and LINK_LIBRARIES options for Check Modules
For the CMake modules CheckFunctionExists, CheckSymbolExists, CheckTypeSize, CheckVaraibleExists, to make full use of these checks for other libraries and headers, it is needed to be able to add INCLUDE_DIRS, and LINK_LIBRARIES to the compilation of the test files. This require being able to optionaly pass additional arguments to these macros anding them to the compilation. I have already begun to make these changes to a couple of the files, I can be emailed for these.
No tags attached.
? CheckExtraSymbolExists.cmake (2,689) 1969-12-31 19:00
https://public.kitware.com/Bug/file/103/CheckExtraSymbolExists.cmake
c CheckExtraTypeSize.c (475) 1969-12-31 19:00
https://public.kitware.com/Bug/file/104/CheckExtraTypeSize.c
? CheckExtraTypeSize.cmake (2,296) 1969-12-31 19:00
https://public.kitware.com/Bug/file/105/CheckExtraTypeSize.cmake
Issue History
2010-11-10 15:01David ColeTarget Version => CMake 2.8.4
2010-12-08 15:45David ColeNote Added: 0023813
2010-12-08 15:45David ColeStatusassigned => closed
2016-06-06 16:38Brad KingResolutionopen => suspended

Notes
(0001083)
Bill Hoffman   
2004-05-20 11:03   
IF you have modified files, you can use the create attachement feature in the bug tracker to send them to us.
(0001084)
Bradley Lowekamp   
2004-05-20 11:21   
The attached files do not include the new CMake feature I was told about for optional parameters for the additional requested options so that these modules will remain backwardsly compatiable. Example usage:

CHECK_EXTRA_SYMBOL_EXISTS(glXGetProcAddressARB "GL/glx.h" HAVE_GLXGETPROCADDRESSARB "${OPENGL_INCLUDE_DIR}" "${OPENGL_LIBRARIES}")

CHECK_EXTRA_TYPE_SIZE (PFNGLBINDBUFFERARBPROC OPENGL_ARB_vertex_buffer_object_PROTOTYPES "<GL/gl.h>" "${OPENGL_INCLUDE_DIR}" "")

(0001165)
Bill Hoffman   
2004-06-01 13:13   
Actually, by not using the varible arguments feature it is not backwards compatible. Your changes will change the signiture of the macros and break existing projects that are using them.

-Bill
(0023813)
David Cole   
2010-12-08 15:45   
Decided to close at the CMake 2.8.4 bug triage meeting, Dec. 8, 2010.