The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15366 ====================================================================== Reported By: Daniel v. Gerpen Assigned To: ====================================================================== Project: CMake Issue ID: 15366 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-01-22 19:09 EST Last Modified: 2015-01-22 19:09 EST ====================================================================== Summary: set_source_files_properties OBJECT_DEPENDS broken after normalization Description: With cmake 2.8.9 (ubuntu repos) and cmake 3.0.2 (build locally) the attached project can be build.
[ 50%] Generating ../bla/stuff.h Scanning dependencies of target app [100%] Building CXX object blubb/CMakeFiles/app.dir/__/bla/a.cpp.o Linking CXX executable app [100%] Built target app With 3.1 and 3.1.1 it fails because a custom command is not run: Scanning dependencies of target app make[2]: *** No rule to make target `blubb/../bla/stuff.h', needed by `blubb/CMakeFiles/app.dir/__/bla/a.cpp.o'. Stop. make[1]: *** [blubb/CMakeFiles/app.dir/all] Error 2 make: *** [all] Error 2 Steps to Reproduce: tar zxf object_depends.tar.gz cd object_depends cmake . make Additional Information: https://github.com/Kitware/CMake/commit/c4af46 is the first commit with this behavior, it introduced normalization of OUTPUT and DEPENDS in add_custom_command. >From what I can see OBJECT_DEPENDS in set_source_file_properties is not normalized. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-01-22 19:09 Daniel v. GerpenNew Issue 2015-01-22 19:09 Daniel v. GerpenFile Added: object_depends.tar.gz ====================================================================== -- 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
