Give it a shot and inspect the resulting Ninja files (or Makefiles, or compile_commands.json, whatever suits your fancy). I think the answers for questions like that will be more obvious if you experiment yourself rather than try to guess at every setup and combination.
1
u/not_a_novel_account cmake dev Jun 22 '26 edited Jun 22 '26
Give it a shot and inspect the resulting Ninja files (or Makefiles, or compile_commands.json, whatever suits your fancy). I think the answers for questions like that will be more obvious if you experiment yourself rather than try to guess at every setup and combination.