Building Poco 1.5.2 for Synology RS812+ (Intel Atom) #405

This commit is contained in:
Alex Fabijanic 2014-03-10 21:20:18 -05:00
parent e4b9ea32f2
commit ea666bb16b
6 changed files with 42 additions and 0 deletions

View File

@ -120,6 +120,11 @@
#endif
// Define to disable compilation of DirectoryWatcher
// on platforms with no inotify.
// #define POCO_NO_INOTIFY
// Following are options to remove certain features
// to reduce library/executable size for smaller
// embedded platforms. By enabling these options,

View File

@ -41,6 +41,11 @@
#include "Poco/Foundation.h"
#ifndef POCO_NO_INOTIFY
#include "Poco/File.h"
#include "Poco/BasicEvent.h"
#include "Poco/Runnable.h"
@ -242,4 +247,8 @@ inline const File& DirectoryWatcher::directory() const
} // namespace Poco
#endif // POCO_NO_INOTIFY
#endif // Foundation_DirectoryWatcher_INCLUDED

View File

@ -35,6 +35,11 @@
#include "Poco/DirectoryWatcher.h"
#ifndef POCO_NO_INOTIFY
#include "Poco/Path.h"
#include "Poco/Glob.h"
#include "Poco/DirectoryIterator.h"
@ -616,3 +621,6 @@ bool DirectoryWatcher::supportsMoveEvents() const
} // namespace Poco
#endif // POCO_NO_INOTIFY

View File

@ -31,6 +31,11 @@
#include "DirectoryWatcherTest.h"
#ifndef POCO_NO_INOTIFY
#include "CppUnit/TestCaller.h"
#include "CppUnit/TestSuite.h"
#include "Poco/DirectoryWatcher.h"
@ -312,3 +317,6 @@ CppUnit::Test* DirectoryWatcherTest::suite()
return pSuite;
}
#endif // POCO_NO_INOTIFY

View File

@ -37,6 +37,11 @@
#include "Poco/Foundation.h"
#ifndef POCO_NO_INOTIFY
#include "Poco/DirectoryWatcher.h"
#include "Poco/Path.h"
#include "CppUnit/TestCase.h"
@ -80,4 +85,9 @@ private:
};
#endif // POCO_NO_INOTIFY
#endif // DirectoryWatcherTest_INCLUDED

View File

@ -45,7 +45,9 @@ CppUnit::Test* FilesystemTestSuite::suite()
pSuite->addTest(PathTest::suite());
pSuite->addTest(FileTest::suite());
pSuite->addTest(GlobTest::suite());
#ifndef POCO_NO_INOTIFY
pSuite->addTest(DirectoryWatcherTest::suite());
#endif // POCO_NO_INOTIFY
pSuite->addTest(DirectoryIteratorsTest::suite());
return pSuite;