From: Tom K. <tom...@ve...> - 2015-05-19 17:47:52
|
Alan, This is not in regards to plplot proper, but rather the cmake Ada support bundled with plplot. How is add_executable supposed to work? Does it invoke gcc for each adb/ads file, then call the rest of the GNAT tool chain utilities to generate an executable, or does it just invoke gnatmake? the reason I ask is that we aren't listing all of the Ada files necessary to build the executable, but all of the necessary files end up getting compiled. But upon a subsequent build, not all Ada files get recompiled, even if they've changed. I am thinking if gnatmake is used, this change would be detected and the right thing would happen. So, should I be listing all of the necessary Ada files in the add_executable(<target> <files>) invocation so that no matter what is used under the hood, recompiles happen when necessary. Thanks, Tom |