Skip to content
New issue

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

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

Already on GitHub? # to your account

How to support multiple nodes in one package #235

Open
kjeremy opened this issue Jan 9, 2025 · 1 comment
Open

How to support multiple nodes in one package #235

kjeremy opened this issue Jan 9, 2025 · 1 comment

Comments

@kjeremy
Copy link

kjeremy commented Jan 9, 2025

If I have two nodes A and B and they have different parameter sets but with some overlap do I need to have two separate yaml files and thus two generate_parameter_library calls in my CMakeLists.txt?

@christophfroehlich
Copy link
Collaborator

If you don't care that you add the additional unused parameters for the other node respectively, you can just generate one parameter library and link it to both executables.

Otherwise, you need to generate two libraries but can't share the common parameters. To do so, you need three libraries (node A, node B, common) and link the common one to both nodes.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants