diff options
author | randomdan <randomdan@localhost> | 2013-12-11 16:30:21 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2013-12-11 16:30:21 +0000 |
commit | 1fff07f23c54f98f7c37a0f1ad263ed6b44b2bc5 (patch) | |
tree | 362e2b171926964aa88b3343e10d4880789963c4 | |
parent | Support for storing SQL as separate resources and linking to them directly (diff) | |
download | p2pvr-1fff07f23c54f98f7c37a0f1ad263ed6b44b2bc5.tar.bz2 p2pvr-1fff07f23c54f98f7c37a0f1ad263ed6b44b2bc5.tar.xz p2pvr-1fff07f23c54f98f7c37a0f1ad263ed6b44b2bc5.zip |
Add pre-compiled header support
39 files changed, 72 insertions, 1 deletions
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 : <location>./testing ; +install debuginstall : lib//p2pvrlib carddaemon daemon ice : <location>./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 : + <library>boost_system + <library>boost_filesystem + <library>../ice//p2pvrice + <library>..//p2common + <library>..//p2sql + <library>..//p2lib + <implicit-dependency>../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 <pch.hpp> #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 <pch.hpp> #include "dbClient.h" #include <rdbmsDataSource.h> #include <sqlVariableBinder.h> 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 <pch.hpp> #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 <pch.hpp> #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 <pch.hpp> #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 <pch.hpp> #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 <pch.hpp> #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 <pch.hpp> #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 <pch.hpp> #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 <pch.hpp> #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 <pch.hpp> #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 <pch.hpp> #include "fileHandle.h" #include <unistd.h> #include <stdexcept> 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 <pch.hpp> #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 <pch.hpp> #include "frontend.h" #include "tuner.h" #include <logger.h> 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 <pch.hpp> #include "../frontend.h" #include "../tuner.h" #include <sys/ioctl.h> 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 <pch.hpp> #include "globalDevices.h" #include <Ice/Ice.h> 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 <pch.hpp> #include "localDevices.h" #include <Ice/Ice.h> #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 <pch.hpp> #include "maintenance.h" #include <Ice/Ice.h> #include <linux/dvb/frontend.h> 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 <pch.hpp> #include "../maintenance.h" #include "../siParsers/event.h" #include <sqlMergeTask.h> 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 <pch.hpp> #include "../maintenance.h" #include "../siParsers/network.h" #include <sqlMergeTask.h> 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 <pch.hpp> #include "../maintenance.h" #include "../siParsers/programAssociation.h" #include <sqlMergeTask.h> 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 <pch.hpp> #include "../maintenance.h" #include "../siParsers/programMap.h" #include <sqlMergeTask.h> 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 <pch.hpp> #include "../maintenance.h" #include "../siParsers/service.h" #include <sqlMergeTask.h> 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 <pch.hpp> #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 <pch.hpp> #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 <Ice/Ice.h> +#include <boost/bind.hpp> +#include <boost/foreach.hpp> +#include <boost/function.hpp> +#include <boost/intrusive_ptr.hpp> +#include <boost/shared_ptr.hpp> + +#include <list> +#include <map> +#include <set> +#include <string> +#include <vector> + +#include <variableType.h> + +#include <p2pvr.h> + +#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 <pch.hpp> #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 <pch.hpp> #include "schedules.h" #include "sqlContainerCreator.h" #include <rdbmsDataSource.h> 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 <pch.hpp> #include "serviceStreamer.h" #include <boost/bind.hpp> #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 <pch.hpp> #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 <pch.hpp> #include <time.h> #include <glibmm/regex.h> #include <boost/regex.hpp> 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 <pch.hpp> #include "network.h" #include <boost/bind.hpp> 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 <pch.hpp> #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 <pch.hpp> #include "programMap.h" #include <boost/bind.hpp> #include <logger.h> 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 <pch.hpp> #include "service.h" #include <boost/bind.hpp> 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 <pch.hpp> #include "table.h" #include <string.h> #include <stdio.h> 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 <pch.hpp> #include "tuner.h" #include <fcntl.h> #include <Ice/Ice.h> |