zezer3 / cmaked2

Automatically exported from code.google.com/p/cmaked2
0 stars 0 forks source link

Add Dependency Tracking #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
see http://www.cmake.org/pipermail/cmake/2008-February/019700.html

Original issue reported on code.google.com by jens.k.mueller@gmail.com on 30 Aug 2010 at 9:02

GoogleCodeExporter commented 9 years ago
http://www.cmake.org/pipermail/cmake/2008-February/019733.html

Original comment by jens.k.mueller@gmail.com on 30 Aug 2010 at 9:06

GoogleCodeExporter commented 9 years ago
Use dmd -deps=filename?

Original comment by jens.k.mueller@gmail.com on 30 Aug 2010 at 9:19

GoogleCodeExporter commented 9 years ago
http://www.cmake.org/pipermail/cmake/2010-July/037894.html

Original comment by jens.k.mueller@gmail.com on 30 Aug 2010 at 9:24

GoogleCodeExporter commented 9 years ago
It needs to be made sure that the dependencies are generated using the same 
flags as the objects. Are the the flags (CMAKE_BUILD_TYPE) and add_definitions 
properly integrated?

Original comment by jens.k.mueller@gmail.com on 2 Oct 2010 at 11:17

GoogleCodeExporter commented 9 years ago

Original comment by jens.k.mueller@gmail.com on 3 Nov 2010 at 8:39

GoogleCodeExporter commented 9 years ago
This issue started more than a year ago. Are there any updates? It's really a 
killer issue for large projects.

Original comment by hnpohl on 28 Aug 2012 at 1:37

GoogleCodeExporter commented 9 years ago
It is kind of difficult. The easiest solution may be to parse dmd -deps output. 
Doing this in CMake's macro language is quite a pain I think. And dmd seems to 
be fast enough to have no need for incremental builds. Do you have any numbers?

Another option if you can live with Makefiles is to use rdmd --makedepend.

Can you spent time on it yourself? We can probably out this together.

Original comment by jens.k.mueller@gmail.com on 21 Oct 2012 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by jens.k.mueller@gmail.com on 9 Aug 2013 at 9:10