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

Add a DSOLAXFLUX flag to enable/disable solarAxionFlux external library #2

Open
jgalan opened this issue Mar 5, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jgalan
Copy link
Member

jgalan commented Mar 5, 2021

A variable -DSOLAXFLUX will serve to enable/disable the library linking into REST, by default it will be ON. Basically we need to encapsulate the code under CMakeLists.txt. And add this line ——>

set(excludes ${excludes} TRestAxionSolarModel)

in case SOLAXFLUX is OFF, so that TRestAxionModel is excluded from compilation. This is the same approach as in connectorslib.

If anyone experiences issues compiling solarAxionFlux but wants to use other parts of axionlib, magnetic fields, optic response, likelihood analysis, it will be possible this way.

@jgalan jgalan added the enhancement New feature or request label Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant