Bitcoin Forum
May 10, 2024, 10:56:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [PULL] Optimize header dependencies; improve Makefile dependency graph  (Read 1388 times)
jordanlewis (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 16, 2011, 04:15:15 AM
 #1

https://github.com/bitcoin/bitcoin/pull/226

This patch set includes the following changes:

    Remove unused #includes

    Factor out #includes that are only needed in some source files from headers.h

    Add dependency tracking to unix, mac, and mingw makefiles via gcc's -MMD flag

These changes improve bitcoin's development environment. Previously changing any header file caused a global recompile. With these changes, only those files that directly depend on a changed header file will require recompilation.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!