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                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to