[cmake-developers] [CMake 0015936]: UseJava add_jar incorrect documentation for target property

Mantis Bug Tracker mantis at public.kitware.com
Tue Jan 26 06:50:20 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15936 
====================================================================== 
Reported By:                Erik Hanspers
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15936
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-01-26 06:50 EST
Last Modified:              2016-01-26 06:50 EST
====================================================================== 
Summary:                    UseJava add_jar incorrect documentation for target
property
Description: 
The UseJava module documents a CLASS_DIR target property being set. The code
actually sets a property CLASSDIR, without the underscore.

Steps to Reproduce: 
add_jar(foo SOURCES blah.java)

get_target_property(foo_classdir foo CLASS_DIR) -> not set
get_target_property(foo_classdir foo CLASSIER) -> we got the path!

Additional Information: 
Suggest revising documentation not to break currently successful use of the
CLASSDIR property.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-01-26 06:50 Erik Hanspers  New Issue                                    
======================================================================



More information about the cmake-developers mailing list