win32 compilation of test and examples

This commit is contained in:
Matej Sekoranja
2014-09-13 23:40:41 +02:00
parent ff19fe1cd8
commit 50fbb396e8
19 changed files with 68 additions and 22 deletions

View File

@@ -9,10 +9,12 @@
* @date 2013.08.02
*/
#include <pv/exampleLink.h>
#include <pv/standardPVField.h>
#include <pv/convert.h>
#define epicsExportSharedSymbols
#include <pv/exampleLink.h>
using namespace epics::pvData;
using namespace epics::pvAccess;
using std::tr1::static_pointer_cast;

View File

@@ -11,7 +11,10 @@
#ifndef EXAMPLEPVADOUBLEARRAYGET_H
#define EXAMPLEPVADOUBLEARRAYGET_H
#include <shareLib.h>
#ifdef epicsExportSharedSymbols
# define exampleLinkEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
#include <pv/timeStamp.h>
#include <pv/pvTimeStamp.h>
@@ -22,6 +25,13 @@
#include <pv/pvAccess.h>
#include <pv/serverContext.h>
#ifdef exampleLinkEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef exampleLinkEpicsExportSharedSymbols
#endif
#include <shareLib.h>
namespace epics { namespace pvDatabase {

View File

@@ -34,9 +34,8 @@
#include <pv/pvAccess.h>
#include <pv/pvDatabase.h>
#include <pv/exampleLink.h>
#include <epicsExport.h>
#include <pv/exampleLink.h>
using namespace epics::pvData;
using namespace epics::pvAccess;