Strip redundant includes
In particular, <boost/program_options.hpp> blows up daemon.cpp.obj, making it too big to compile in debug mode on Win32. Even on a release build it drops daemon.cpp.o on Linux from 31MB to 20MB. This has no effect on the final linked binary size.
This commit is contained in:
@@ -30,12 +30,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "daemon/core.h"
|
||||
#include "daemon/p2p.h"
|
||||
#include "misc_log_ex.h"
|
||||
#include "rpc/core_rpc_server.h"
|
||||
#include <boost/program_options.hpp>
|
||||
#include <stdexcept>
|
||||
|
||||
namespace daemonize
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user