Warning, /education/kstars/Tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include_directories(
0002     ${kstars_SOURCE_DIR}/kstars/tools
0003     ${kstars_SOURCE_DIR}/kstars/skyobjects
0004     ${kstars_SOURCE_DIR}/kstars/skycomponents
0005     ${kstars_SOURCE_DIR}/kstars/auxiliary
0006     ${kstars_SOURCE_DIR}/kstars/time
0007     ${kstars_SOURCE_DIR}/kstars/catalogsdb
0008     ${kstars_SOURCE_DIR}/datahandlers
0009     )
0010 
0011 if(STELLARSOLVER_FOUND)
0012 include_directories(${STELLARSOLVER_INCLUDE_DIR})
0013 endif(STELLARSOLVER_FOUND)
0014 
0015 if(WCSLIB_FOUND)
0016   include_directories( ${WCSLIB_INCLUDE_DIR} )
0017 endif(WCSLIB_FOUND)
0018 
0019 FIND_PACKAGE(Qt5Test REQUIRED)
0020 
0021 SET( TEST_LIBRARIES
0022         Qt5::Core
0023         Qt5::Test
0024         LibKSDataHandlers
0025         htmesh
0026         ${ZLIB_LIBRARIES}
0027         KStarsLib
0028 )
0029 
0030 SET( TEST_KSLITE_LIBRARIES
0031         Qt5::Core
0032         Qt5::Test
0033         LibKSDataHandlers
0034         htmesh
0035         ${ZLIB_LIBRARIES}
0036         KStarsLiteLib
0037 )
0038 
0039 add_subdirectory(auxiliary)
0040 add_subdirectory(tools)
0041 add_subdirectory(skyobjects)
0042 
0043 IF (CFITSIO_FOUND)
0044     add_subdirectory(fitsviewer)
0045 IF (INDI_FOUND)
0046 include_directories(
0047     ${INDI_INCLUDE_DIR}
0048     ${kstars_SOURCE_DIR}/kstars/ekos/align
0049     ${kstars_SOURCE_DIR}/kstars/internalguide
0050     ${kstars_SOURCE_DIR}/kstars/focus
0051     ${kstars_SOURCE_DIR}/kstars/scheduler
0052     )
0053 add_subdirectory(scheduler)
0054 add_subdirectory(focus)
0055 add_subdirectory(polaralign)
0056 add_subdirectory(ekos)
0057 # FIXME
0058 # Disable this test for Windows since it fails for now
0059 if (NOT WIN32)
0060 add_subdirectory(internalguide)
0061 endif(NOT WIN32)
0062 ENDIF(INDI_FOUND)
0063 ENDIF(CFITSIO_FOUND)
0064 
0065 if(STELLARSOLVER_FOUND)
0066     include_directories(${STELLARSOLVER_INCLUDE_DIR})
0067 endif(STELLARSOLVER_FOUND)
0068 
0069 IF (UNIX AND NOT APPLE AND CFITSIO_FOUND)
0070     IF (BUILD_KSTARS_LITE)
0071         add_subdirectory(kstars_lite_ui)
0072     ENDIF ()
0073     add_subdirectory(kstars_ui)
0074 ENDIF ()
0075 
0076 add_subdirectory(capture)
0077 add_subdirectory(datahandlers)