On 04/11/2014 12:56 PM, Jörg Kreuzberger wrote:
ok, biggest hint here was the tip for $<TARGET_FILE:..>. This was new to me (am
new to cmake at all).
Thanks.
My major problem is still passing the additonal PATH elements to the cmake
script, cause they will always expanded in an space seperated list.
So if i add -DENV_PATH="${QT_LIBRARY_DIR};${INTELIPP_LIBRARY_DIR}"
and assign it to $ENV{PATH} in my cmake script, is will always remove the
semikolons
Try "-DENV_PATH=${QT_LIBRARY_DIR};${INTELIPP_LIBRARY_DIR}" (with the
quotes as-is) and the VERBATIM flag to add_custom_command().
Nils
--
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://www.cmake.org/mailman/listinfo/cmake