orocos-toolchain/rtt — pull request #12 by meyerj (2013-11-15 21:08:14+00:00)
Title: Always set cmake library, runtime and archive output directories according to the build-tool in use

The previous version only set the `CMAKE_LIBRARY_OUTPUT_DIRECTORY` variable in [UseOROCOS-RTT.cmake:164ff](https://github.com/meyerj/rtt/compare/cmake-output-directories?expand=1#diff-910740529571d9132ed755a83e4c9b3eL164) and did not respect the build-tool in use. The `orocos_component()`, `orocos_plugin()` and `orocos_typekit()` macros can now use the same output directory for all build types relative to `${CMAKE_LIBRARY_OUTPUT_DIRECTORY}`.

catkin has it's own macro [catkin_destinations()](http://docs.ros.org/api/catkin/html/dev_guide/generated_cmake_api.html#catkin-destinations) that sets the `CMAKE_*_OUTPUT_DIRECTORY` variables and additionally some useful variables that specify default install destinations.

I also removed the special check for Eclipse CDT4 as I consider it as deprecated. `EXECUTABLE_OUTPUT_PATH` and `LIBRARY_OUTPUT_PATH` shouldn't be used anymore in cmake >=2.6, which is required.

The `CMAKE_*_OUTPUT_DIRECTORY` are only overridden if they are not already defined (except for catkin).