nasa-jpl / LiveViewOpenCL

Open Source real-time visualization tools for Imaging Spectrometer development
GNU General Public License v3.0
36 stars 21 forks source link

Create a version with no EDT dependency #33

Closed jackiryan closed 5 years ago

jackiryan commented 5 years ago

There should be a macro that can be easily set that will enable LiveView to be compiled without EDT. This will make it much easier to install LiveView on machines that do not have frame grabber cards.

Since Mac computers will already compile LiveView just fine without the EDT driver, we should replace all the times the code has a #if (__APPLE__ || __MACH__) with #ifdef USE_EDT. Note the logic is inverse; i.e., if apple = true, use_edt = false. This macro will be active by default if the APPLE or MACH macros are defined, but should also be able to be set from the .pro file (bonus points if it can be set as a command line option to qmake).