Add USE_BUNDLE option#167
Conversation
| ifeq ($(USE_BUNDLE),YES) | ||
| BIN_INSTALLS_WIN32 += $(wildcard $(LIBEVENT_PREFIX)/lib/*.dll) | ||
| endif |
There was a problem hiding this comment.
While I understand the motivation of avoiding %PATH% manipulation, I don't like mixing together libevent and PVXS binaries.
|
Taking a step back, how is |
|
this is done by usual EPICS |
I have been working with EPICS for awhile now. So I was surprised to find myself asking; what is |
| install: libevent | ||
|
|
||
| uninstall: clean | ||
|
|
||
| runtests: |
There was a problem hiding this comment.
The EPICS build system can recursively request more build targets than just these for any directory entry named in the parent Makefile's DIRS variable, depending on what the user asked it to build. The complete set of targets that can get passed to subdirectory Makefiles via recursive $(MAKE) -C calls is:
incbuildinstallbuildInstallcleanrealcleanarchcleanrunteststapfilesclean-teststest-resultsjunitfiles<arch>(any architecture name, e.g.windows-x64-debug)<action>.<arch>(any of the 12 actions above dotted with an arch, e.g.clean.windows-x64-debug)
If
BUNDLE_BUILDis set toYESvia e.g.CONFIG_SITE.localthen amakeat top level will buildlibeventfrombundledirectory without it needing to be built separately first;bundleis also added to the clean target and DLLs are installed to pvxs bin directory so the libevent bin area does not need to be separately added to windowsPATH