Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pimega library from system installation #1

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

henriquesimoes
Copy link
Collaborator

Expect the library to be already installed in the system directories to simplify IOC build system and make the library version less coupled with support module. Since develop cycles happen in a high frequency now, this is being preferred over importing headers and binaries into a support module, as done in other areaDetector modules with proprietary SDKs.

We need to explicitly define include directory for pimega library due to the usage of #include "" directives. By default, we expect headers to be installed under pimega directory, to avoid their generic subdirectories from conflicting with other application headers. This should be redefined in CONFIG_SITE.local to override the default value if needed.

While here, also make GLib be installed following the areaDetector top-level CONFIG_SITE.

GLib is a dependency for other areaDetector modules, and it should be
defined in the top-level areaDetector CONFIG_SITE.local. Let's use that
instead of hard-coding deploy specific paths into src/Makefile.
Expect the library to be already installed in the system directories to
simplify IOC build system and make the library version less coupled with
support module. Since develop cycles happen in a high frequency now,
this is being preferred over importing headers and binaries into a
support module, as done in other areaDetector modules with proprietary
SDKs.

We need to explicitly define include directory for pimega library due to
the usage of `#include ""` directives. By default, we expect headers to
be installed under `pimega` directory, to avoid their generic
subdirectories from conflicting with other application headers. This
should be redefined in CONFIG_SITE.local to override the default value
if needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant