On Tue, 2014-12-23 at 21:32 +0000, Parag Chandra wrote:
> Have you tried the CMake variables LIBRARY_OUTPUT_PATH and
> EXECUTABLE_OUTPUT_PATH? I¹ve been using them to accomplish much the
> same thing.

Well, I don't want ALL my executables and libraries to go into these
locations.  Only specific ones.  However, I see that there's a target
property RUNTIME_OUTPUT_DIRECTORY, etc. so maybe setting that property
would be an option.

When I first started messing with this cmake environment we had a batch
of scripts, etc. that were using the original location so I really
needed things to live in both locations, for backward compatibility.
But at this point I'm pretty sure no one uses the original locations
anymore so this could work.  I'll look into it.

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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

Reply via email to