[cmake-developers] [CMake 0012590]: request feature for more flexible jar output location and better support of cmake global variables in UseJava.cmake

Mantis Bug Tracker mantis at public.kitware.com
Wed Nov 23 19:29:13 EST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12590 
====================================================================== 
Reported By:                nizar sallem
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12590
Category:                   Modules
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-11-23 19:29 EST
Last Modified:              2011-11-23 19:29 EST
====================================================================== 
Summary:                    request feature for more flexible jar output
location and better support of cmake global variables in UseJava.cmake
Description: 
I was unable to move the created jar to some global location where I gather all
the libraries in my project.
After examination by David Cole and Ben Boeckel I was told to send a feature
request so here it is.

Steps to Reproduce: 
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY /path/to/outputs)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY /path/to/outputs)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY /path/to/outputs)
add_jar(some_jar ${some_jar_sources})
some_jar.jar will be in ${CMAKE_CURRENT_BINARY_DIR} while it should be in
/path/to/outputs

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-09-30 13:01 user0          Changeset attached        => VTK master 4107f777
2011-09-30 13:01 Utkarsh AyachitChangeset attached        => VTK master 91f287d5
2011-09-30 13:01 user0          Changeset attached        => VTK master 191b3e4a
2011-11-23 19:29 nizar sallem   New Issue                                    
======================================================================




More information about the cmake-developers mailing list