Warning, /education/kstars/datahandlers/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001
0002 include_directories(
0003 ${kstars_SOURCE_DIR}/kstars
0004 ${kstars_SOURCE_DIR}/kstars/tools
0005 ${kstars_SOURCE_DIR}/kstars/skyobjects
0006 ${kstars_SOURCE_DIR}/kstars/skycomponents
0007 ${kstars_SOURCE_DIR}/kstars/auxiliary
0008 ${kstars_SOURCE_DIR}/kstars/time
0009 ${kstars_SOURCE_DIR}/kstars/kstarslite
0010 )
0011
0012 SET(LibKSDataHandlers_SRC
0013 ${kstars_SOURCE_DIR}/datahandlers/ksparser.cpp)
0014
0015 IF (UNITY_BUILD)
0016 ENABLE_UNITY_BUILD(LibKSDataHandlers LibKSDataHandlers_SRC 10 cpp)
0017 ENDIF ()
0018
0019 ecm_qt_declare_logging_category(LibKSDataHandlers_SRC HEADER catalog_debug.h IDENTIFIER KSTARS_CATALOG CATEGORY_NAME org.kde.kstars.catalog)
0020
0021 ecm_qt_declare_logging_category(EXPERIMENT_SRCS HEADER catalogsdb_debug.h IDENTIFIER KSTARS_CATALOGS CATEGORY_NAME org.kde.kstars.catalogdb)
0022
0023 add_library(LibKSDataHandlers STATIC ${LibKSDataHandlers_SRC})
0024 if (BUILD_PYKSTARS)
0025 set_target_properties(LibKSDataHandlers PROPERTIES POSITION_INDEPENDENT_CODE ON)
0026 ENDIF ()
0027
0028 # Added this because includedir was missing, is this required?
0029 if (ANDROID)
0030 target_link_libraries(LibKSDataHandlers KF5::I18n Qt5::Sql Qt5::Core Qt5::Gui)
0031 target_compile_options(LibKSDataHandlers PRIVATE ${KSTARSLITE_CPP_OPTIONS} -DUSE_QT5_INDI -DKSTARS_LITE)
0032 else ()
0033 target_link_libraries(LibKSDataHandlers KF5::WidgetsAddons KF5::I18n Qt5::Sql Qt5::Core Qt5::Gui)
0034 endif ()
0035