The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12055 ====================================================================== Reported By: Oliver Buchtala Assigned To: ====================================================================== Project: CMake Issue ID: 12055 Category: CMake Reproducibility: N/A Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2011-04-07 17:02 WAT Last Modified: 2011-04-07 17:02 WAT ====================================================================== Summary: Java: support source file lists for java compilation Description: Javac allows to specify source files by using a list file containing paths to multiple java source files. E.g. javac @my_list_file.txt
This way, one could deal with dynamically generated source files which are not known at configure time (swig output in my case). Find an attached patch as an initial suggestion and basis for discussion. In the suggested solution one can add a '@<path-to-file>' to the _JAVA_SOURCE_FILES argument handed to the add_jar function. Source files with leading '@' are detected and treated adequately. Additional Information: Attached a git unified-diff created on 'Modules/UseJava.cmake' in 1df325da44520a4db2ddc6d2586b83d33d7ec807 of git://cmake.org/stage/cmake.git ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-04-07 17:02 Oliver BuchtalaNew Issue 2011-04-07 17:02 Oliver BuchtalaFile Added: UseJava_support_source_file_lists.patch ====================================================================== _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
