Tidy up includes and add modules to the classic build:

An alternative to the unity build, the classic build compiles each
translation unit individually. This adds more modules to the classic build:

* Remove unity header app.h
* Add missing includes as needed
* Remove obsolete NodeStore backend code
* Add app/, core/, crypto/, json/, net/, overlay/, peerfinder/ to classic build
This commit is contained in:
Vinnie Falco
2014-12-29 08:49:55 -08:00
parent 2e595830b3
commit df54b47cd0
412 changed files with 1736 additions and 1224 deletions

View File

@@ -17,6 +17,10 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/app/data/DBInit.h>
#include <type_traits>
namespace ripple {
// Transaction database holds transactions and public keys

View File

@@ -17,6 +17,10 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/basics/StringUtilities.h>
#include <ripple/app/data/Database.h>
namespace ripple {
Database::Database (const char* host)

View File

@@ -21,6 +21,9 @@
#define RIPPLE_DATABASE_H_INCLUDED
#include <ripple/basics/Blob.h>
#include <cstdint>
#include <string>
#include <vector>
namespace ripple {

View File

@@ -17,7 +17,9 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/app/data/DatabaseCon.h>
#include <ripple/app/data/SqliteDatabase.h>
namespace ripple {

View File

@@ -20,8 +20,9 @@
#ifndef RIPPLE_DATABASECON_H
#define RIPPLE_DATABASECON_H
#include <ripple/app/data/Database.h>
#include <ripple/core/Config.h>
#include <boost/filesystem/path.hpp>
#include <mutex>
#include <string>

View File

@@ -17,6 +17,7 @@
*/
//==============================================================================
#include <BeastConfig.h>
#include <ripple/app/data/SqliteDatabase.h>
#include <ripple/core/JobQueue.h>
#include <ripple/basics/Log.h>

View File

@@ -20,6 +20,10 @@
#ifndef RIPPLE_SQLITEDATABASE_H_INCLUDED
#define RIPPLE_SQLITEDATABASE_H_INCLUDED
#include <ripple/app/data/Database.h>
#include <ripple/basics/Blob.h>
#include <ripple/core/JobQueue.h>
#include <beast/module/sqlite/sqlite.h>
#include <beast/threads/Thread.h>
#include <mutex>