Files
StreamGenerator/Makefile
Edward Wall 66792837a6
Some checks failed
Test And Build / Lint (push) Successful in 2s
Test And Build / Build (push) Failing after 2s
adds PV for turning Electornics on and off
2025-11-18 14:00:26 +01:00

30 lines
836 B
Makefile

# Include the external Makefile
include /ioc/tools/driver.makefile
MODULE=StreamGenerator
BUILDCLASSES=Linux
EPICS_VERSIONS=7.0.7
ARCH_FILTER=RHEL%
# Additional module dependencies
REQUIRED+=asyn
DBDS += src/asynStreamGeneratorDriver.dbd
# DB files to include in the release
TEMPLATES += db/channels.db db/daq_common.db db/correlation_unit.db
# HEADERS += src/asynStreamGeneratorDriver.h
# Source files to build
SOURCES += src/asynStreamGeneratorDriver.cpp
# I don't think specifying the optimisation level like this is correct...
# but I doesn't hurt :D
USR_CFLAGS += -O3 -Wall -Wextra -Wunused-result -Werror -fvisibility=hidden # -Wpedantic // Does not work because EPICS macros trigger warnings
# Required to support EV42/44
USR_CXXFLAGS += -std=c++17 -O3 -I../dep/flatbuffers/include/ -I../schemas
LIB_SYS_LIBS += rdkafka