In attachment(Is mail list accpet attachments?) simple example with test.cpp and test.h. test.cpp include test.h. I generate on linux with help of cmake (2.8.11.2) make files, build it, then exec "touch test.h", after that rerun make, and it do nothing:
$ mkdir build && cd build $ cmake .. && make bla bla bla -- Configuring done -- Generating done -- Build files have been written to: /tmp/depend_bug/build Scanning dependencies of target test_bin [100%] Building CXX object CMakeFiles/test_bin.dir/test.cpp.o Linking CXX executable test_bin [100%] Built target test_bin $ touch ../test.h && make [100%] Built target test_bin As you can see test.cpp not rebuilded. test.cpp looks like: <UTF-8 BOM>#include "test.h" ... If I remove UTF-8 BOM all works as expected. Is it known bug? Is it bug of some external dependicies tracker used by cmake make file generator, or it is bug of cmake by itself?
depend_bug.tar.gz
Description: GNU Zip compressed data
-- 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
