The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15715 ====================================================================== Reported By: shuaiw Assigned To: ====================================================================== Project: CMake Issue ID: 15715 Category: CMake Reproducibility: always Severity: major Priority: high Status: new ====================================================================== Date Submitted: 2015-08-27 21:26 EDT Last Modified: 2015-08-27 21:26 EDT ====================================================================== Summary: COMMAND item of "add_custom_command" produce incorrect build.make Description: add_custom_command(OUTPUT xele_mdapi.signature COMMAND echo Xele-MD API Revision:${LASTREV} | tee xele_mdapi.signature WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} VERBATIM COMMENT "Produce signature" )
Steps to Reproduce: build in clion 1.1 OR enter ${CMAKE_HOME_DIRECTORY}/_build cmake .. Additional Information: partof generated build.make: XeleMdAPI64/xele_mdapi.signature: @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/home/shuaiw/sw/trunk/xele_md/modules/xeleAPI-NMR-CMake/_build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Produce signature" cd /home/shuaiw/sw/trunk/xele_md/modules/xeleAPI-NMR-CMake/XeleMdAPI64 && echo Xele-MD API Revision:820 | tee xele_mdapi.signature ## this is newline ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-08-27 21:26 shuaiw New Issue ====================================================================== -- 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-developers