View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000861CMakeModulespublic2004-05-19 15:192016-06-06 16:38
ReporterBradley Lowekamp 
Assigned ToBill Hoffman 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version 
Target VersionCMake 2.8.4Fixed in Version 
Summary0000861: Adding INCLUDE_DIR and LINK_LIBRARIES options for Check Modules
DescriptionFor 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.
TagsNo tags attached.
Attached Files? file icon CheckExtraSymbolExists.cmake [^] (2,689 bytes) 1969-12-31 19:00
c file icon CheckExtraTypeSize.c [^] (475 bytes) 1969-12-31 19:00
? file icon CheckExtraTypeSize.cmake [^] (2,296 bytes) 1969-12-31 19:00

 Relationships

  Notes
(0001083)
Bill Hoffman (manager)
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 (reporter)
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 (manager)
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 (manager)
2010-12-08 15:45

Decided to close at the CMake 2.8.4 bug triage meeting, Dec. 8, 2010.

 Issue History
Date Modified Username Field Change
2010-11-10 15:01 David Cole Target Version => CMake 2.8.4
2010-12-08 15:45 David Cole Note Added: 0023813
2010-12-08 15:45 David Cole Status assigned => closed
2016-06-06 16:38 Brad King Resolution open => suspended


Copyright © 2000 - 2018 MantisBT Team