| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0002951 | CMake | Modules | public | 2006-03-10 05:21 | 2016-06-10 14:30 | ||||
| Reporter | Eric Boix | ||||||||
| Assigned To | Bill Hoffman | ||||||||
| Priority | low | Severity | feature | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0002951: FindJava.cmake: Javah header compiler detection and JAVA_FOUND | ||||||||
| Description | FindJava.cmake doesn't search for Java's header compiler (javah on Un*x). Add such a detection. Additionaly, add a JAVA_FOUND boolean variable that states wether java package was properly detected or found. (well some other Modules do that, and it is very convenient for the caller, but is it a good Module practice?). See attached file which I currently use as extension. Thanks ! | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0003860) Bill Hoffman (manager) 2006-03-10 09:33 |
I think you may want to look at FindJNI.cmake |
|
(0003861) Eric Boix (reporter) 2006-03-13 11:22 |
Concerning FindJNI.cmake (and with my very low understanding of Java) it basically looks for the path to java header files (and library). Hence the result of FindJNI.cmake is a path to headers (and a path to a java library). My request was on the java's C header compiler which is a binary (named javah on linux) which (excerpt from the man pages): generates C header and source files that are needed to implement native methods. The generated header and source files are used by C programs to reference instance variables of an object from native source code. Hence, as I understand it FindJNI.cmake and my request seem to serve quite different purposes (hummm, don't quote me on this :-) Respectfully yours. |
|
(0016414) Boris Brodski (reporter) 2009-05-13 06:54 |
I would support this feature request. It's very handy, if you can simply call javah from cmake, if you try to compile Java-C bridge. Thank you. |
|
(0041308) Kitware Robot (administrator) 2016-06-10 14:27 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2009-05-13 06:54 | Boris Brodski | Note Added: 0016414 | |
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041308 | |
| 2016-06-10 14:27 | Kitware Robot | Status | assigned => resolved |
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved |
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |