2020-09-19 19:06:50 -04:00
project ( feature )
2022-11-17 09:34:54 -05:00
if ( ENABLE_FEATURE_GS232CONTROLLER AND Qt ${ QT_DEFAULT_MAJOR_VERSION } SerialPort_FOUND )
2020-10-27 12:22:10 -04:00
add_subdirectory ( gs232controller )
2023-07-30 08:05:00 -04:00
else ( )
2023-09-24 06:59:10 -04:00
message ( STATUS "Not building gs232controller (ENABLE_FEATURE_GS232CONTROLLER=${ENABLE_FEATURE_GS232CONTROLLER} Qt${QT_DEFAULT_MAJOR_VERSION}SerialPort_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}SerialPort_FOUND})" )
2020-10-27 12:22:10 -04:00
endif ( )
2020-11-29 19:30:18 -05:00
2023-01-02 10:47:46 -05:00
if ( ENABLE_FEATURE_MAP AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Quick_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } QuickWidgets_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Positioning_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Location_FOUND )
2021-01-13 15:07:28 -05:00
add_subdirectory ( map )
2023-07-30 08:05:00 -04:00
else ( )
2023-07-30 08:33:57 -04:00
message ( STATUS "Not building map (ENABLE_FEATURE_MAP=${ENABLE_FEATURE_MAP} Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}Location_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Location_FOUND})" )
2021-01-22 09:54:22 -05:00
endif ( )
2022-06-25 05:56:45 -04:00
2024-02-14 08:20:33 -05:00
# WebEngine on Qt5, WebEngineCore on Qt6
if ( ENABLE_FEATURE_SKYMAP AND Qt ${ QT_DEFAULT_MAJOR_VERSION } WebEngine_FOUND OR Qt ${ QT_DEFAULT_MAJOR_VERSION } WebEngineCore_FOUND )
add_subdirectory ( skymap )
endif ( )
2022-11-17 09:34:54 -05:00
if ( ENABLE_FEATURE_VORLOCALIZER AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Quick_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } QuickWidgets_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Positioning_FOUND )
2020-11-29 19:30:18 -05:00
add_subdirectory ( vorlocalizer )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building vorlocalizer (ENABLE_FEATURE_VORLOCALIZER=${ENABLE_FEATURE_VORLOCALIZER} Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND})" )
2020-11-29 19:30:18 -05:00
endif ( )
2022-06-25 05:56:45 -04:00
if ( ENABLE_FEATURE_AFC )
add_subdirectory ( afc )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building afc (ENABLE_FEATURE_AFC=${ENABLE_FEATURE_AFC})" )
2022-06-25 05:56:45 -04:00
endif ( )
if ( ENABLE_FEATURE_AIS )
add_subdirectory ( ais )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building ais (ENABLE_FEATURE_AIS=${ENABLE_FEATURE_AIS})" )
2022-06-25 05:56:45 -04:00
endif ( )
if ( ENABLE_FEATURE_ANTENNATOOLS )
add_subdirectory ( antennatools )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building antennatools (ENABLE_FEATURE_ANTENNATOOLS=${ENABLE_FEATURE_ANTENNATOOLS})" )
2022-06-25 05:56:45 -04:00
endif ( )
if ( ENABLE_FEATURE_APRS )
add_subdirectory ( aprs )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building aprs (ENABLE_FEATURE_APRS=${ENABLE_FEATURE_APRS})" )
2022-06-25 05:56:45 -04:00
endif ( )
if ( ENABLE_FEATURE_DEMODANALYZER )
add_subdirectory ( demodanalyzer )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building demodanalyzer (ENABLE_FEATURE_DEMODANALYZER=${ENABLE_FEATURE_DEMODANALYZER})" )
2022-06-25 05:56:45 -04:00
endif ( )
if ( ENABLE_FEATURE_PERTESTER )
add_subdirectory ( pertester )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building pertester (ENABLE_FEATURE_PERTESTER=${ENABLE_FEATURE_PERTESTER})" )
2022-06-25 05:56:45 -04:00
endif ( )
if ( ENABLE_FEATURE_RIGCTLSERVER )
add_subdirectory ( rigctlserver )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building rigctlserver (ENABLE_FEATURE_RIGCTLSERVER=${ENABLE_FEATURE_RIGCTLSERVER})" )
2022-06-25 05:56:45 -04:00
endif ( )
if ( ENABLE_FEATURE_SIMPLEPTT )
add_subdirectory ( simpleptt )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building simpleptt (ENABLE_FEATURE_SIMPLEPTT=${ENABLE_FEATURE_SIMPLEPTT})" )
2022-06-25 05:56:45 -04:00
endif ( )
2021-09-02 15:13:41 -04:00
if ( NOT SERVER_MODE )
2022-11-17 09:34:54 -05:00
if ( ENABLE_FEATURE_SATELLITETRACKER AND SGP4_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Positioning_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Charts_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } TextToSpeech_FOUND )
2021-09-02 15:13:41 -04:00
add_subdirectory ( satellitetracker )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building satellitetracker (ENABLE_FEATURE_SATELLITETRACKER=${ENABLE_FEATURE_SATELLITETRACKER} SGP4_FOUND=${SGP4_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}Charts_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Charts_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}TextToSpeech_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}TextToSpeech_FOUND})" )
2022-06-25 05:56:45 -04:00
endif ( )
2021-09-02 15:13:41 -04:00
else ( )
2022-11-17 09:34:54 -05:00
if ( ENABLE_FEATURE_SATELLITETRACKER AND SGP4_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Positioning_FOUND AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Charts_FOUND )
2021-09-02 15:13:41 -04:00
add_subdirectory ( satellitetracker )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building satellitetracker (ENABLE_FEATURE_SATELLITETRACKER=${ENABLE_FEATURE_SATELLITETRACKER} SGP4_FOUND=${SGP4_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND} Qt${QT_DEFAULT_MAJOR_VERSION}Charts_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Charts_FOUND})" )
2021-09-02 15:13:41 -04:00
endif ( )
2021-02-26 15:25:48 -05:00
endif ( )
2021-09-02 15:13:41 -04:00
2023-07-30 08:05:00 -04:00
if ( ENABLE_FEATURE_JOGDIALCONTROLLER AND NOT SERVER_MODE )
add_subdirectory ( jogdialcontroller )
else ( )
message ( STATUS "Not building jogdialcontroller (ENABLE_FEATURE_JOGDIALCONTROLLER=${ENABLE_FEATURE_JOGDIALCONTROLLER} SERVER_MODE=${SERVER_MODE})" )
endif ( )
if ( ENABLE_FEATURE_RADIOSONDE AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Charts_FOUND )
add_subdirectory ( radiosonde )
else ( )
message ( STATUS "Not building radiosonde (ENABLE_FEATURE_RADIOSONDE=${ENABLE_FEATURE_RADIOSONDE} Qt${QT_DEFAULT_MAJOR_VERSION}Charts_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Charts_FOUND})" )
endif ( )
if ( ENABLE_FEATURE_STARTRACKER AND Qt ${ QT_DEFAULT_MAJOR_VERSION } Charts_FOUND )
add_subdirectory ( startracker )
else ( )
message ( STATUS "Not building startracker (ENABLE_FEATURE_STARTRACKER=${ENABLE_FEATURE_STARTRACKER} Qt${QT_DEFAULT_MAJOR_VERSION}Charts_FOUND=${Qt${QT_DEFAULT_MAJOR_VERSION}Charts_FOUND})" )
2022-03-01 12:17:56 -05:00
endif ( )
2022-05-21 05:20:38 -04:00
2022-06-25 05:56:45 -04:00
if ( ENABLE_FEATURE_LIMERFE AND ENABLE_LIMESUITE AND LIMESUITE_FOUND )
2022-05-21 05:20:38 -04:00
add_subdirectory ( limerfe )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building limerfe (ENABLE_FEATURE_LIMERFE=${ENABLE_FEATURE_LIMERFE} ENABLE_LIMESUITE=${ENABLE_LIMESUITE} LIMESUITE_FOUND=${LIMESUITE_FOUND})" )
2022-05-21 05:20:38 -04:00
endif ( )
2022-05-24 09:18:55 -04:00
2022-06-25 05:56:45 -04:00
if ( ENABLE_FEATURE_AMBE AND LIBSERIALDV_FOUND )
2022-05-24 09:18:55 -04:00
add_subdirectory ( ambe )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building ambe (ENABLE_FEATURE_AMBE=${ENABLE_FEATURE_AMBE} LIBSERIALDV_FOUND=${LIBSERIALDV_FOUND})" )
2022-05-24 09:18:55 -04:00
endif ( )
2022-09-16 05:20:16 -04:00
if ( ENABLE_FEATURE_REMOTECONTROL )
add_subdirectory ( remotecontrol )
2023-07-30 08:05:00 -04:00
else ( )
message ( STATUS "Not building remotecontrol (ENABLE_FEATURE_REMOTECONTROL=${ENABLE_FEATURE_REMOTECONTROL})" )
2022-09-16 05:20:16 -04:00
endif ( )