My team sometimes discovers bugs in our build system where modifying one 
particular file doesn't trigger a rebuild of some dependent file.

While our continuous integration system (Jenkins) catches problems when 
building the whole project, we don't currently have any way to detect problems 
with partial rebuilds — other than developers getting temporarily confused when 
they make a change, rebuild, and don't see their change take effect.

As we're in the process of moving from qmake to CMake, now seems like a good 
time to add some tests of partial rebuilds.

Have you written similar tests? Did you use a shell script (touch, rebuild, 
grep), or are more advanced tools available?

[There was a similar question on this list from 2009 
(https://cmake.org/pipermail/cmake/2009-February/026967.html), but the thread 
didn't answer our question.]

-Jaymie
-- 

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:
https://cmake.org/mailman/listinfo/cmake

Reply via email to