Trunk should support out-of-source cmake builds, especially if compile_commands.json is symlinked into the source folder. See slack thread for details: https://trunkcommunity.slack.com/archives/C04GAE5EA5S/p1684881409606349