From 1fff07f23c54f98f7c37a0f1ad263ed6b44b2bc5 Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 11 Dec 2013 16:30:21 +0000 Subject: Add pre-compiled header support --- p2pvr/Jamfile.jam | 2 +- p2pvr/lib/Jamfile.jam | 11 +++++++++++ p2pvr/lib/bindTimerTask.cpp | 1 + p2pvr/lib/dbClient.cpp | 1 + p2pvr/lib/dvbsiHelpers/cableDelivery.cpp | 1 + p2pvr/lib/dvbsiHelpers/event.cpp | 1 + p2pvr/lib/dvbsiHelpers/network.cpp | 1 + p2pvr/lib/dvbsiHelpers/networkService.cpp | 1 + p2pvr/lib/dvbsiHelpers/networkTransportStream.cpp | 1 + p2pvr/lib/dvbsiHelpers/programMap.cpp | 1 + p2pvr/lib/dvbsiHelpers/satelliteDelivery.cpp | 1 + p2pvr/lib/dvbsiHelpers/service.cpp | 1 + p2pvr/lib/dvbsiHelpers/terrestrialDelivery.cpp | 1 + p2pvr/lib/fileHandle.cpp | 1 + p2pvr/lib/fileSink.cpp | 1 + p2pvr/lib/frontend.cpp | 1 + p2pvr/lib/frontends/ofdm.cpp | 1 + p2pvr/lib/globalDevices.cpp | 1 + p2pvr/lib/localDevices.cpp | 1 + p2pvr/lib/maintenance.cpp | 1 + p2pvr/lib/maintenance/events.cpp | 1 + p2pvr/lib/maintenance/network.cpp | 1 + p2pvr/lib/maintenance/programAssociations.cpp | 1 + p2pvr/lib/maintenance/programMap.cpp | 1 + p2pvr/lib/maintenance/services.cpp | 1 + p2pvr/lib/mapIterator.cpp | 1 + p2pvr/lib/p2Helpers.cpp | 1 + p2pvr/lib/pch.hpp | 24 +++++++++++++++++++++++ p2pvr/lib/schedulers/bitDumbScheduler.cpp | 1 + p2pvr/lib/schedules.cpp | 1 + p2pvr/lib/serviceStreamer.cpp | 1 + p2pvr/lib/si.cpp | 1 + p2pvr/lib/siParsers/event.cpp | 1 + p2pvr/lib/siParsers/network.cpp | 1 + p2pvr/lib/siParsers/programAssociation.cpp | 1 + p2pvr/lib/siParsers/programMap.cpp | 1 + p2pvr/lib/siParsers/service.cpp | 1 + p2pvr/lib/siParsers/table.cpp | 1 + p2pvr/lib/tuner.cpp | 1 + 39 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 p2pvr/lib/pch.hpp diff --git a/p2pvr/Jamfile.jam b/p2pvr/Jamfile.jam index a09e449..4f69bae 100644 --- a/p2pvr/Jamfile.jam +++ b/p2pvr/Jamfile.jam @@ -24,7 +24,7 @@ alias p2daemonlib : glibmm : : : build-project daemon ; build-project carddaemon ; -install debuginstall : lib carddaemon daemon ice : ./testing ; +install debuginstall : lib//p2pvrlib carddaemon daemon ice : ./testing ; package.install install : : : carddaemon daemon ; import type ; diff --git a/p2pvr/lib/Jamfile.jam b/p2pvr/lib/Jamfile.jam index d4ccbfd..f56741c 100644 --- a/p2pvr/lib/Jamfile.jam +++ b/p2pvr/lib/Jamfile.jam @@ -1,7 +1,18 @@ lib boost_system ; lib boost_filesystem ; +cpp-pch pch : pch.hpp : + boost_system + boost_filesystem + ../ice//p2pvrice + ..//p2common + ..//p2sql + ..//p2lib + ../ice//p2pvrice +; + lib p2pvrlib : + pch [ glob-tree *.cpp ] [ glob-tree *.sql ] ../../libmisc/misc.cpp diff --git a/p2pvr/lib/bindTimerTask.cpp b/p2pvr/lib/bindTimerTask.cpp index b3a0150..588ccfc 100644 --- a/p2pvr/lib/bindTimerTask.cpp +++ b/p2pvr/lib/bindTimerTask.cpp @@ -1,3 +1,4 @@ +#include #include "bindTimerTask.h" BindTimerTask::BindTimerTask(const Event & e) : diff --git a/p2pvr/lib/dbClient.cpp b/p2pvr/lib/dbClient.cpp index e085c86..b123a0a 100644 --- a/p2pvr/lib/dbClient.cpp +++ b/p2pvr/lib/dbClient.cpp @@ -1,3 +1,4 @@ +#include #include "dbClient.h" #include #include diff --git a/p2pvr/lib/dvbsiHelpers/cableDelivery.cpp b/p2pvr/lib/dvbsiHelpers/cableDelivery.cpp index 94aa275..7bf9f6d 100644 --- a/p2pvr/lib/dvbsiHelpers/cableDelivery.cpp +++ b/p2pvr/lib/dvbsiHelpers/cableDelivery.cpp @@ -1,3 +1,4 @@ +#include #include "../dvbsiHelpers.h" #include "../p2Helpers.h" diff --git a/p2pvr/lib/dvbsiHelpers/event.cpp b/p2pvr/lib/dvbsiHelpers/event.cpp index 800a511..decd2b9 100644 --- a/p2pvr/lib/dvbsiHelpers/event.cpp +++ b/p2pvr/lib/dvbsiHelpers/event.cpp @@ -1,3 +1,4 @@ +#include #include "../dvbsiHelpers.h" #include "../p2Helpers.h" diff --git a/p2pvr/lib/dvbsiHelpers/network.cpp b/p2pvr/lib/dvbsiHelpers/network.cpp index eeda8db..3b117f1 100644 --- a/p2pvr/lib/dvbsiHelpers/network.cpp +++ b/p2pvr/lib/dvbsiHelpers/network.cpp @@ -1,3 +1,4 @@ +#include #include "../dvbsiHelpers.h" #include "../p2Helpers.h" diff --git a/p2pvr/lib/dvbsiHelpers/networkService.cpp b/p2pvr/lib/dvbsiHelpers/networkService.cpp index 80700b4..a4a47d5 100644 --- a/p2pvr/lib/dvbsiHelpers/networkService.cpp +++ b/p2pvr/lib/dvbsiHelpers/networkService.cpp @@ -1,3 +1,4 @@ +#include #include "../dvbsiHelpers.h" #include "../p2Helpers.h" diff --git a/p2pvr/lib/dvbsiHelpers/networkTransportStream.cpp b/p2pvr/lib/dvbsiHelpers/networkTransportStream.cpp index 04f9bb0..bdc7c4f 100644 --- a/p2pvr/lib/dvbsiHelpers/networkTransportStream.cpp +++ b/p2pvr/lib/dvbsiHelpers/networkTransportStream.cpp @@ -1,3 +1,4 @@ +#include #include "../dvbsiHelpers.h" #include "../p2Helpers.h" diff --git a/p2pvr/lib/dvbsiHelpers/programMap.cpp b/p2pvr/lib/dvbsiHelpers/programMap.cpp index 60cf0d4..d8cf400 100644 --- a/p2pvr/lib/dvbsiHelpers/programMap.cpp +++ b/p2pvr/lib/dvbsiHelpers/programMap.cpp @@ -1,3 +1,4 @@ +#include #include "../dvbsiHelpers.h" #include "../p2Helpers.h" diff --git a/p2pvr/lib/dvbsiHelpers/satelliteDelivery.cpp b/p2pvr/lib/dvbsiHelpers/satelliteDelivery.cpp index a337df6..8231fc3 100644 --- a/p2pvr/lib/dvbsiHelpers/satelliteDelivery.cpp +++ b/p2pvr/lib/dvbsiHelpers/satelliteDelivery.cpp @@ -1,3 +1,4 @@ +#include #include "../dvbsiHelpers.h" #include "../p2Helpers.h" diff --git a/p2pvr/lib/dvbsiHelpers/service.cpp b/p2pvr/lib/dvbsiHelpers/service.cpp index 88b09cc..afce096 100644 --- a/p2pvr/lib/dvbsiHelpers/service.cpp +++ b/p2pvr/lib/dvbsiHelpers/service.cpp @@ -1,3 +1,4 @@ +#include #include "../dvbsiHelpers.h" #include "../p2Helpers.h" diff --git a/p2pvr/lib/dvbsiHelpers/terrestrialDelivery.cpp b/p2pvr/lib/dvbsiHelpers/terrestrialDelivery.cpp index d178845..46e60f9 100644 --- a/p2pvr/lib/dvbsiHelpers/terrestrialDelivery.cpp +++ b/p2pvr/lib/dvbsiHelpers/terrestrialDelivery.cpp @@ -1,3 +1,4 @@ +#include #include "../dvbsiHelpers.h" #include "../p2Helpers.h" diff --git a/p2pvr/lib/fileHandle.cpp b/p2pvr/lib/fileHandle.cpp index 08575b3..b85d390 100644 --- a/p2pvr/lib/fileHandle.cpp +++ b/p2pvr/lib/fileHandle.cpp @@ -1,3 +1,4 @@ +#include #include "fileHandle.h" #include #include diff --git a/p2pvr/lib/fileSink.cpp b/p2pvr/lib/fileSink.cpp index 2fd4a58..94379ea 100644 --- a/p2pvr/lib/fileSink.cpp +++ b/p2pvr/lib/fileSink.cpp @@ -1,3 +1,4 @@ +#include #include "fileSink.h" FileSink::FileSink(const boost::filesystem::path & path) : diff --git a/p2pvr/lib/frontend.cpp b/p2pvr/lib/frontend.cpp index 1044f6f..f09789f 100644 --- a/p2pvr/lib/frontend.cpp +++ b/p2pvr/lib/frontend.cpp @@ -1,3 +1,4 @@ +#include #include "frontend.h" #include "tuner.h" #include diff --git a/p2pvr/lib/frontends/ofdm.cpp b/p2pvr/lib/frontends/ofdm.cpp index 2a219e9..5cb5f15 100644 --- a/p2pvr/lib/frontends/ofdm.cpp +++ b/p2pvr/lib/frontends/ofdm.cpp @@ -1,3 +1,4 @@ +#include #include "../frontend.h" #include "../tuner.h" #include diff --git a/p2pvr/lib/globalDevices.cpp b/p2pvr/lib/globalDevices.cpp index a21fe1f..c99fcea 100644 --- a/p2pvr/lib/globalDevices.cpp +++ b/p2pvr/lib/globalDevices.cpp @@ -1,3 +1,4 @@ +#include #include "globalDevices.h" #include diff --git a/p2pvr/lib/localDevices.cpp b/p2pvr/lib/localDevices.cpp index 51eed31..975af20 100644 --- a/p2pvr/lib/localDevices.cpp +++ b/p2pvr/lib/localDevices.cpp @@ -1,3 +1,4 @@ +#include #include "localDevices.h" #include #include "tuner.h" diff --git a/p2pvr/lib/maintenance.cpp b/p2pvr/lib/maintenance.cpp index d644d22..1dbeba5 100644 --- a/p2pvr/lib/maintenance.cpp +++ b/p2pvr/lib/maintenance.cpp @@ -1,3 +1,4 @@ +#include #include "maintenance.h" #include #include diff --git a/p2pvr/lib/maintenance/events.cpp b/p2pvr/lib/maintenance/events.cpp index 67b8a74..a2d3e21 100644 --- a/p2pvr/lib/maintenance/events.cpp +++ b/p2pvr/lib/maintenance/events.cpp @@ -1,3 +1,4 @@ +#include #include "../maintenance.h" #include "../siParsers/event.h" #include diff --git a/p2pvr/lib/maintenance/network.cpp b/p2pvr/lib/maintenance/network.cpp index 9947d72..c2e4494 100644 --- a/p2pvr/lib/maintenance/network.cpp +++ b/p2pvr/lib/maintenance/network.cpp @@ -1,3 +1,4 @@ +#include #include "../maintenance.h" #include "../siParsers/network.h" #include diff --git a/p2pvr/lib/maintenance/programAssociations.cpp b/p2pvr/lib/maintenance/programAssociations.cpp index e5913a3..69287da 100644 --- a/p2pvr/lib/maintenance/programAssociations.cpp +++ b/p2pvr/lib/maintenance/programAssociations.cpp @@ -1,3 +1,4 @@ +#include #include "../maintenance.h" #include "../siParsers/programAssociation.h" #include diff --git a/p2pvr/lib/maintenance/programMap.cpp b/p2pvr/lib/maintenance/programMap.cpp index 7967872..a7cfe40 100644 --- a/p2pvr/lib/maintenance/programMap.cpp +++ b/p2pvr/lib/maintenance/programMap.cpp @@ -1,3 +1,4 @@ +#include #include "../maintenance.h" #include "../siParsers/programMap.h" #include diff --git a/p2pvr/lib/maintenance/services.cpp b/p2pvr/lib/maintenance/services.cpp index e7e646d..efa5974 100644 --- a/p2pvr/lib/maintenance/services.cpp +++ b/p2pvr/lib/maintenance/services.cpp @@ -1,3 +1,4 @@ +#include #include "../maintenance.h" #include "../siParsers/service.h" #include diff --git a/p2pvr/lib/mapIterator.cpp b/p2pvr/lib/mapIterator.cpp index 5f0fbb0..157669a 100644 --- a/p2pvr/lib/mapIterator.cpp +++ b/p2pvr/lib/mapIterator.cpp @@ -1,3 +1,4 @@ +#include #include "mapIterator.h" #include "p2Helpers.h" diff --git a/p2pvr/lib/p2Helpers.cpp b/p2pvr/lib/p2Helpers.cpp index b564e3b..96fb802 100644 --- a/p2pvr/lib/p2Helpers.cpp +++ b/p2pvr/lib/p2Helpers.cpp @@ -1,3 +1,4 @@ +#include #include "p2Helpers.h" template <> diff --git a/p2pvr/lib/pch.hpp b/p2pvr/lib/pch.hpp new file mode 100644 index 0000000..94de047 --- /dev/null +++ b/p2pvr/lib/pch.hpp @@ -0,0 +1,24 @@ +#ifdef BOOST_BUILD_PCH_ENABLED +#ifndef P2PVRLIB_PCH +#define P2PVRLIB_PCH + +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#include + +#include + +#endif +#endif + diff --git a/p2pvr/lib/schedulers/bitDumbScheduler.cpp b/p2pvr/lib/schedulers/bitDumbScheduler.cpp index 3c16601..f3cf5fb 100644 --- a/p2pvr/lib/schedulers/bitDumbScheduler.cpp +++ b/p2pvr/lib/schedulers/bitDumbScheduler.cpp @@ -1,3 +1,4 @@ +#include #include "../schedules.h" class TheBitDumbScheduler : public EpisodeGroup { diff --git a/p2pvr/lib/schedules.cpp b/p2pvr/lib/schedules.cpp index 167c61f..79ad624 100644 --- a/p2pvr/lib/schedules.cpp +++ b/p2pvr/lib/schedules.cpp @@ -1,3 +1,4 @@ +#include #include "schedules.h" #include "sqlContainerCreator.h" #include diff --git a/p2pvr/lib/serviceStreamer.cpp b/p2pvr/lib/serviceStreamer.cpp index ac034ab..d1bab4f 100644 --- a/p2pvr/lib/serviceStreamer.cpp +++ b/p2pvr/lib/serviceStreamer.cpp @@ -1,3 +1,4 @@ +#include #include "serviceStreamer.h" #include #include "fileSink.h" diff --git a/p2pvr/lib/si.cpp b/p2pvr/lib/si.cpp index e63e060..49d1df6 100644 --- a/p2pvr/lib/si.cpp +++ b/p2pvr/lib/si.cpp @@ -1,3 +1,4 @@ +#include #include "si.h" #include "dvbsiHelpers.h" #include "sqlContainerCreator.h" diff --git a/p2pvr/lib/siParsers/event.cpp b/p2pvr/lib/siParsers/event.cpp index ada36ce..8df8498 100644 --- a/p2pvr/lib/siParsers/event.cpp +++ b/p2pvr/lib/siParsers/event.cpp @@ -1,3 +1,4 @@ +#include #include #include #include diff --git a/p2pvr/lib/siParsers/network.cpp b/p2pvr/lib/siParsers/network.cpp index d992706..b9a58ba 100644 --- a/p2pvr/lib/siParsers/network.cpp +++ b/p2pvr/lib/siParsers/network.cpp @@ -1,3 +1,4 @@ +#include #include "network.h" #include diff --git a/p2pvr/lib/siParsers/programAssociation.cpp b/p2pvr/lib/siParsers/programAssociation.cpp index 0add29e..7839b9e 100644 --- a/p2pvr/lib/siParsers/programAssociation.cpp +++ b/p2pvr/lib/siParsers/programAssociation.cpp @@ -1,3 +1,4 @@ +#include #include "programAssociation.h" struct ProgramAssociation { diff --git a/p2pvr/lib/siParsers/programMap.cpp b/p2pvr/lib/siParsers/programMap.cpp index 61686dd..1ba78c4 100644 --- a/p2pvr/lib/siParsers/programMap.cpp +++ b/p2pvr/lib/siParsers/programMap.cpp @@ -1,3 +1,4 @@ +#include #include "programMap.h" #include #include diff --git a/p2pvr/lib/siParsers/service.cpp b/p2pvr/lib/siParsers/service.cpp index 56452e9..fbcd966 100644 --- a/p2pvr/lib/siParsers/service.cpp +++ b/p2pvr/lib/siParsers/service.cpp @@ -1,3 +1,4 @@ +#include #include "service.h" #include diff --git a/p2pvr/lib/siParsers/table.cpp b/p2pvr/lib/siParsers/table.cpp index 48efd0a..ea482b1 100644 --- a/p2pvr/lib/siParsers/table.cpp +++ b/p2pvr/lib/siParsers/table.cpp @@ -1,3 +1,4 @@ +#include #include "table.h" #include #include diff --git a/p2pvr/lib/tuner.cpp b/p2pvr/lib/tuner.cpp index bfa5a68..b5c280a 100644 --- a/p2pvr/lib/tuner.cpp +++ b/p2pvr/lib/tuner.cpp @@ -1,3 +1,4 @@ +#include #include "tuner.h" #include #include -- cgit v1.2.3