Warning, /education/labplot/tests/import_export/Project/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 option(ENABLE_TEST_IMPORTEXPORT_PROJECT "Enable Project import Tests" ON) 0002 0003 if (ENABLE_TEST_IMPORTEXPORT_PROJECT) 0004 0005 add_executable (ProjectImportTest ProjectImportTest.cpp) 0006 0007 IF (ENABLE_LIBORIGIN) 0008 IF (LIBORIGIN_FOUND) 0009 # if system headers are missing: use the provided 0010 target_include_directories( ProjectImportTest PRIVATE ${LIBORIGIN_INCLUDE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/liborigin" ) 0011 ELSE () # own version 0012 target_include_directories( ProjectImportTest PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/liborigin" ) 0013 ENDIF() 0014 ENDIF () 0015 target_link_libraries(ProjectImportTest labplot2backendlib labplot2lib labplot2nsllib labplot2test) 0016 0017 add_test(NAME ProjectImportTest COMMAND ProjectImportTest) 0018 0019 endif()