From 43bba354fcb25d6adfc460138ae7b8e8b376d5ca Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 14 Sep 2011 13:51:04 +0000 Subject: Add precompiled headers --- netfs/Jamfile.jam | 35 +++++++++++++++++++++++++++++++++++ netfs/daemon.cpp | 1 + netfs/daemonConfig.cpp | 1 + netfs/daemonDirs.cpp | 1 + netfs/daemonFileSystem.cpp | 1 + netfs/daemonFiles.cpp | 1 + netfs/daemonMisc.cpp | 1 + netfs/daemonModule.cpp | 1 + netfs/daemonService.cpp | 1 + netfs/daemonSystem.cpp | 1 + netfs/entCache.cpp | 1 + netfs/fuse.cpp | 1 + netfs/fuseConfig.cpp | 1 + netfs/fuseDirs.cpp | 1 + netfs/fuseFiles.cpp | 1 + netfs/fuseMisc.cpp | 1 + netfs/fuseSystem.cpp | 1 + netfs/fuseapp.cpp | 1 + netfs/pchCommon.hpp | 25 +++++++++++++++++++++++++ netfs/pchDaemon.hpp | 13 +++++++++++++ netfs/pchFuse.hpp | 14 ++++++++++++++ 21 files changed, 104 insertions(+) create mode 100644 netfs/pchCommon.hpp create mode 100644 netfs/pchDaemon.hpp create mode 100644 netfs/pchFuse.hpp diff --git a/netfs/Jamfile.jam b/netfs/Jamfile.jam index 83a86cb..1c6b938 100644 --- a/netfs/Jamfile.jam +++ b/netfs/Jamfile.jam @@ -16,6 +16,7 @@ lib netfsComms : ; lib netfsCommon : + pchCommon entCache.cpp ../libmisc/xml.cpp : _FILE_OFFSET_BITS=64 ../libmisc @@ -23,7 +24,40 @@ lib netfsCommon : netfsComms ; +cpp-pch pchFuse : pchCommon pchFuse.hpp : + _FILE_OFFSET_BITS=64 + ../libmisc + netfsComms + netfsComms + boost_thread + fuse + Ice + libxml2 + ; + +cpp-pch pchDaemon : pchCommon pchDaemon.hpp : + _FILE_OFFSET_BITS=64 + ../libmisc + netfsComms + netfsComms + boost_thread + Ice + libxml2 + ; + +cpp-pch pchCommon : pchCommon.hpp : + _FILE_OFFSET_BITS=64 + ../libmisc + netfsComms + netfsComms + boost_thread + fuse + Ice + libxml2 + ; + exe netfs : + pchFuse [ glob fuse*.cpp ] : _FILE_OFFSET_BITS=64 @@ -38,6 +72,7 @@ exe netfs : ; lib netfsd : + pchDaemon [ glob daemon*.cpp ] : _FILE_OFFSET_BITS=64 diff --git a/netfs/daemon.cpp b/netfs/daemon.cpp index cd30b18..65b9d4e 100644 --- a/netfs/daemon.cpp +++ b/netfs/daemon.cpp @@ -1,3 +1,4 @@ +#include "pchDaemon.hpp" #include #include #include diff --git a/netfs/daemonConfig.cpp b/netfs/daemonConfig.cpp index f0810f7..0d05c44 100644 --- a/netfs/daemonConfig.cpp +++ b/netfs/daemonConfig.cpp @@ -1,3 +1,4 @@ +#include "pchDaemon.hpp" #include "daemonConfig.h" #include diff --git a/netfs/daemonDirs.cpp b/netfs/daemonDirs.cpp index 3d2cd3f..1fb3965 100644 --- a/netfs/daemonDirs.cpp +++ b/netfs/daemonDirs.cpp @@ -1,3 +1,4 @@ +#include "pchDaemon.hpp" #include #include #include diff --git a/netfs/daemonFileSystem.cpp b/netfs/daemonFileSystem.cpp index 2853268..f0d3546 100644 --- a/netfs/daemonFileSystem.cpp +++ b/netfs/daemonFileSystem.cpp @@ -1,3 +1,4 @@ +#include "pchDaemon.hpp" #include "daemonFileSystem.h" FileSystemServer::FileSystemServer(DaemonGlobalStatePtr dgs) : diff --git a/netfs/daemonFiles.cpp b/netfs/daemonFiles.cpp index c78be9b..75d9058 100644 --- a/netfs/daemonFiles.cpp +++ b/netfs/daemonFiles.cpp @@ -1,3 +1,4 @@ +#include "pchDaemon.hpp" #include #include #include diff --git a/netfs/daemonMisc.cpp b/netfs/daemonMisc.cpp index d6197a3..e548606 100644 --- a/netfs/daemonMisc.cpp +++ b/netfs/daemonMisc.cpp @@ -1,3 +1,4 @@ +#include "pchDaemon.hpp" #include #include #include diff --git a/netfs/daemonModule.cpp b/netfs/daemonModule.cpp index bb9f1f0..8be108c 100644 --- a/netfs/daemonModule.cpp +++ b/netfs/daemonModule.cpp @@ -1,3 +1,4 @@ +#include "pchDaemon.hpp" #include "daemonModule.h" DaemonModule::DaemonModule(DaemonGlobalStatePtr d) : diff --git a/netfs/daemonService.cpp b/netfs/daemonService.cpp index 0daf992..bb13fbc 100644 --- a/netfs/daemonService.cpp +++ b/netfs/daemonService.cpp @@ -1,3 +1,4 @@ +#include "pchDaemon.hpp" #include "daemonService.h" ServiceServer::ServiceServer(int16_t hs, DaemonGlobalStatePtr dgs) : diff --git a/netfs/daemonSystem.cpp b/netfs/daemonSystem.cpp index 0e89e51..1f683d6 100644 --- a/netfs/daemonSystem.cpp +++ b/netfs/daemonSystem.cpp @@ -1,3 +1,4 @@ +#include "pchDaemon.hpp" #include #include #include diff --git a/netfs/entCache.cpp b/netfs/entCache.cpp index f79146f..d79de29 100644 --- a/netfs/entCache.cpp +++ b/netfs/entCache.cpp @@ -1,3 +1,4 @@ +#include "pchCommon.hpp" #include "entCache.h" #include diff --git a/netfs/fuse.cpp b/netfs/fuse.cpp index 7a1e141..1b8493a 100644 --- a/netfs/fuse.cpp +++ b/netfs/fuse.cpp @@ -1,3 +1,4 @@ +#include "pchFuse.hpp" #include #include #include "fuse.h" diff --git a/netfs/fuseConfig.cpp b/netfs/fuseConfig.cpp index ec364cf..4030738 100644 --- a/netfs/fuseConfig.cpp +++ b/netfs/fuseConfig.cpp @@ -1,3 +1,4 @@ +#include "pchFuse.hpp" #include "fuseConfig.h" #include diff --git a/netfs/fuseDirs.cpp b/netfs/fuseDirs.cpp index 3f80331..28b8363 100644 --- a/netfs/fuseDirs.cpp +++ b/netfs/fuseDirs.cpp @@ -1,3 +1,4 @@ +#include "pchFuse.hpp" #include "fuse.h" #include "misc.h" diff --git a/netfs/fuseFiles.cpp b/netfs/fuseFiles.cpp index d8aa55f..40709bd 100644 --- a/netfs/fuseFiles.cpp +++ b/netfs/fuseFiles.cpp @@ -1,3 +1,4 @@ +#include "pchFuse.hpp" #include #include "fuse.h" diff --git a/netfs/fuseMisc.cpp b/netfs/fuseMisc.cpp index 1745240..2cb79c0 100644 --- a/netfs/fuseMisc.cpp +++ b/netfs/fuseMisc.cpp @@ -1,3 +1,4 @@ +#include "pchFuse.hpp" #include "fuse.h" #include diff --git a/netfs/fuseSystem.cpp b/netfs/fuseSystem.cpp index 392203a..bcb9c79 100644 --- a/netfs/fuseSystem.cpp +++ b/netfs/fuseSystem.cpp @@ -1,3 +1,4 @@ +#include "pchFuse.hpp" #include "fuse.h" int diff --git a/netfs/fuseapp.cpp b/netfs/fuseapp.cpp index 39718d1..628f4c2 100644 --- a/netfs/fuseapp.cpp +++ b/netfs/fuseapp.cpp @@ -1,3 +1,4 @@ +#include "pchFuse.hpp" #include "fuseapp.h" #include #include diff --git a/netfs/pchCommon.hpp b/netfs/pchCommon.hpp new file mode 100644 index 0000000..5d4270b --- /dev/null +++ b/netfs/pchCommon.hpp @@ -0,0 +1,25 @@ +#ifdef BOOST_BUILD_PCH_ENABLED +#ifndef NETFS_PCH +#define NETFS_PCH + +#include +#include +#include +#include +#include +#include +#include "entCache.h" +#include +#include "guidmap.h" +#include +#include +#include +#include "netfsComms.h" +#include +#include +#include +#include "xml.h" + +#endif +#endif + diff --git a/netfs/pchDaemon.hpp b/netfs/pchDaemon.hpp new file mode 100644 index 0000000..cece5cb --- /dev/null +++ b/netfs/pchDaemon.hpp @@ -0,0 +1,13 @@ +#ifdef BOOST_BUILD_PCH_ENABLED +#ifndef NETFS_DAEMON_PCH +#define NETFS_DAEMON_PCH + +#include "pchCommon.hpp" +#include +#include "daemon.h" +#include + +#endif +#endif + + diff --git a/netfs/pchFuse.hpp b/netfs/pchFuse.hpp new file mode 100644 index 0000000..d563b57 --- /dev/null +++ b/netfs/pchFuse.hpp @@ -0,0 +1,14 @@ +#ifdef BOOST_BUILD_PCH_ENABLED +#ifndef NETFS_FUSE_PCH +#define NETFS_FUSE_PCH + +#include "pchCommon.hpp" +#include "fuseapp.h" +#include "fuseConfig.h" +#include + +#endif +#endif + + + -- cgit v1.2.3