Windows port (visibility declrations).

This commit is contained in:
Matej Sekoranja
2014-04-14 18:11:12 +02:00
parent 9d3873c3fe
commit 597bca1ca5
31 changed files with 218 additions and 52 deletions

View File

@@ -26,6 +26,7 @@ INC += exampleDatabase.h
LIBRARY_IOC += exampleDatabase
exampleDatabase_SRCS += exampleDatabase.cpp
exampleDatabase_SRCS += exampleDatabaseRegister.cpp
exampleDatabase_LIBS += powerSupply
exampleDatabase_LIBS += pvDatabase
exampleDatabase_LIBS += pvAccess
exampleDatabase_LIBS += pvData

View File

@@ -11,10 +11,20 @@
#ifndef EXAMPLEDATABASE_H
#define EXAMPLEDATABASE_H
#include <shareLib.h>
#ifdef epicsExportSharedSymbols
# define exampledatabaseEpicsExportSharedSymbols
# undef epicsExportSharedSymbols
#endif
#include <shareLib.h>
#include <pv/pvDatabase.h>
#ifdef exampledatabaseEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef exampledatabaseEpicsExportSharedSymbols
# include <shareLib.h>
#endif
namespace epics { namespace pvDatabase {
class epicsShareClass ExampleDatabase{

View File

@@ -26,12 +26,13 @@
#include <epicsThread.h>
#include <iocsh.h>
#include <epicsExport.h>
#include <pv/pvIntrospect.h>
#include <pv/pvData.h>
#include <pv/pvAccess.h>
#include <pv/pvDatabase.h>
#define epicsExportSharedSymbols
#include <epicsExport.h>
#include <pv/exampleDatabase.h>
using namespace epics::pvData;