Warning, /education/cantor/src/test/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(worksheettest_SRCS 0002 ../worksheet.cpp 0003 ../worksheetview.cpp 0004 ../worksheetentry.cpp 0005 ../worksheettextitem.cpp 0006 ../worksheetimageitem.cpp 0007 ../commandentry.cpp 0008 ../textentry.cpp 0009 ../markdownentry.cpp 0010 ../pagebreakentry.cpp 0011 ../imageentry.cpp 0012 ../latexentry.cpp 0013 ../placeholderentry.cpp 0014 ../horizontalruleentry.cpp 0015 ../hierarchyentry.cpp 0016 ../worksheetcursor.cpp 0017 ../searchbar.cpp 0018 ../actionbar.cpp 0019 ../worksheettoolbutton.cpp 0020 ../imagesettingsdialog.cpp 0021 ../scripteditor/scripteditorwidget.cpp 0022 ../resultitem.cpp 0023 ../textresultitem.cpp 0024 ../imageresultitem.cpp 0025 ../animationresultitem.cpp 0026 ../loadedexpression.cpp 0027 ../animation.cpp 0028 ../mathrender.cpp 0029 ../mathrendertask.cpp 0030 ../worksheetcontrolitem.cpp 0031 worksheet_test.cpp) 0032 0033 ki18n_wrap_ui(worksheettest_SRCS ../imagesettings.ui) 0034 ki18n_wrap_ui(worksheettest_SRCS ../standardsearchbar.ui) 0035 ki18n_wrap_ui(worksheettest_SRCS ../extendedsearchbar.ui) 0036 kconfig_add_kcfg_files(worksheettest_SRCS ../settings.kcfgc) 0037 0038 file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/data) 0039 configure_file("data/Lecture-2B-Single-Atom-Lasing.ipynb" data COPYONLY) 0040 configure_file("data/AEC.04 - Evolutionary Strategies and Covariance Matrix Adaptation.ipynb" data COPYONLY) 0041 configure_file("data/Population_Genetics.ipynb" data COPYONLY) 0042 configure_file("data/A Reaction-Diffusion Equation Solver in Python with Numpy.ipynb" data COPYONLY) 0043 configure_file("data/Automata and Computability using Jupyter.ipynb" data COPYONLY) 0044 configure_file("data/Cue Combination with Neural Populations .ipynb" data COPYONLY) 0045 configure_file("data/Transformation2D.ipynb" data COPYONLY) 0046 configure_file("data/TestMarkdownAttachment.ipynb" data COPYONLY) 0047 configure_file("data/TestEntryLoad1.ipynb" data COPYONLY) 0048 configure_file("data/TestEntryLoad2.ipynb" data COPYONLY) 0049 configure_file("data/TestResultsLoad.ipynb" data COPYONLY) 0050 configure_file("data/TestNotebookWithJson.ipynb" data COPYONLY) 0051 configure_file("data/TestNotebookWithModJson.ipynb" data COPYONLY) 0052 configure_file("data/EmptyPythonWorksheet.cws" data COPYONLY) 0053 configure_file("data/TestCommandEntryExecutionAction.cws" data COPYONLY) 0054 configure_file("data/TwoCommandEntryWithResults.cws" data COPYONLY) 0055 0056 set(PATH_TO_TEST_NOTEBOOKS ${CMAKE_CURRENT_BINARY_DIR}/data) 0057 configure_file (config-cantor-test.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-cantor-test.h ) 0058 0059 add_executable( testworksheet ${worksheettest_SRCS}) 0060 #add_test(NAME testworksheet COMMAND testworksheet) 0061 target_link_libraries( testworksheet 0062 cantorlibs 0063 cantor_config 0064 Qt5::Test 0065 Qt5::PrintSupport 0066 Qt5::Xml 0067 ${Qt5XmlPatterns_LIBRARIES} 0068 KF5::TextEditor 0069 Poppler::Qt5 0070 ) 0071 0072 if(LIBSPECTRE_FOUND) 0073 target_link_libraries(testworksheet ${LIBSPECTRE_LIBRARY}) 0074 endif(LIBSPECTRE_FOUND) 0075 if(Discount_FOUND) 0076 target_link_libraries(testworksheet Discount::Lib) 0077 endif(Discount_FOUND)