[cmake-developers] [CMake 0013135]: Use of undocumented variable CMAKE_CURRENT_SOURCE_PATH

Mantis Bug Tracker mantis at public.kitware.com
Sun Apr 15 21:34:19 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13135 
====================================================================== 
Reported By:                Dave Abrahams
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13135
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-15 21:34 EDT
Last Modified:              2012-04-15 21:34 EDT
====================================================================== 
Summary:                    Use of undocumented variable
CMAKE_CURRENT_SOURCE_PATH
Description: 
In the docs:

                 Example:
                 create_javadoc(my_example_doc
                   PACKAGES com.exmaple.foo com.example.bar
                   SOURCEPATH ${CMAKE_CURRENT_SOURCE_PATH}
                   CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
                   WINDOWTITLE "My example"
                   DOCTITLE "<h1>My example</h1>"
                   AUTHOR TRUE
                   USE TRUE
                   VERSION TRUE
                 )

Probably this should be CMAKE_CURRENT_SOURCE_DIR?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-15 21:34 Dave Abrahams  New Issue                                    
======================================================================




More information about the cmake-developers mailing list