Warning, /education/labplot/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(SRC_DIR ${labplot2_SOURCE_DIR}/src) 0002 INCLUDE_DIRECTORIES(${SRC_DIR} ${GSL_INCLUDE_DIR}) 0003 0004 # shared code 0005 add_library(labplot2test STATIC CommonTest.cpp analysis/AnalysisTest.cpp nsl/NSLTest.cpp) 0006 target_link_libraries(labplot2test Qt${QT_MAJOR_VERSION}::Test KF${KF_MAJOR_VERSION}::ConfigCore Qt${QT_MAJOR_VERSION}::Widgets KF${KF_MAJOR_VERSION}::I18n) 0007 if (KUserFeedback_FOUND AND QT_MAJOR_VERSION EQUAL 6) 0008 target_link_libraries( labplot2test KUserFeedbackCoreQt6 KUserFeedbackWidgetsQt6 ) 0009 endif () 0010 target_compile_definitions(labplot2test PUBLIC ${LABPLOT_COMPILE_DEFINITIONS}) 0011 0012 add_subdirectory(analysis) 0013 add_subdirectory(backend) 0014 add_subdirectory(cartesianplot) 0015 add_subdirectory(import_export) 0016 add_subdirectory(nsl) 0017 add_subdirectory(spreadsheet) 0018 add_subdirectory(matrix) 0019 add_subdirectory(multirange) 0020 add_subdirectory(commonfrontend) 0021 0022 IF (Cantor_FOUND) 0023 add_subdirectory(notebook) 0024 ENDIF () 0025 0026 0027 option(ENABLE_TEST_DEPENDENCIES "Enable Dependencies Tests" ON) 0028 if (ENABLE_TEST_DEPENDENCIES) 0029 add_executable (DependenciesTest DependenciesTest.cpp) 0030 target_link_libraries(DependenciesTest labplot2test labplot2lib) 0031 add_test(NAME DependenciesTest COMMAND DependenciesTest) 0032 endif() 0033 0034