move module version into src/Makefile
This commit is contained in:
@@ -4,6 +4,7 @@ SRC_DIRS += $(PVACCESS_SRC)/pva
|
||||
|
||||
INC += pvaConstants.h
|
||||
INC += pvaVersion.h
|
||||
INC += pvaVersionNum.h
|
||||
INC += clientFactory.h
|
||||
|
||||
LIBSRCS += pvaVersion.cpp
|
||||
|
||||
@@ -22,12 +22,7 @@
|
||||
|
||||
#include <shareLib.h>
|
||||
|
||||
// module version
|
||||
// TODO to be generated, etc.
|
||||
#define EPICS_PVA_MAJOR_VERSION 4
|
||||
#define EPICS_PVA_MINOR_VERSION 2
|
||||
#define EPICS_PVA_MAINTENANCE_VERSION 0
|
||||
#define EPICS_PVA_DEVELOPMENT_FLAG 1
|
||||
#include "pvaVersionNum.h"
|
||||
|
||||
namespace epics {
|
||||
namespace pvAccess {
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef VERSION_H_
|
||||
# error include pvaVersion.h, not this header
|
||||
#endif
|
||||
#define EPICS_PVA_MAJOR_VERSION @EPICS_PVA_MAJOR_VERSION@
|
||||
#define EPICS_PVA_MINOR_VERSION @EPICS_PVA_MINOR_VERSION@
|
||||
#define EPICS_PVA_MAINTENANCE_VERSION @EPICS_PVA_MAINTENANCE_VERSION@
|
||||
#define EPICS_PVA_DEVELOPMENT_FLAG @EPICS_PVA_DEVELOPMENT_FLAG@
|
||||
Reference in New Issue
Block a user