# Autogenerated file, run tools/build/setup_cmake.py to regenerate include_directories(${ANN_INCLUDE_PATH} ${BOOST.FILESYSTEM_INCLUDE_PATH} ${BOOST.GRAPH_INCLUDE_PATH} ${BOOST.PROGRAMOPTIONS_INCLUDE_PATH} ${BOOST.RANDOM_INCLUDE_PATH} ${BOOST.REGEX_INCLUDE_PATH} ${BOOST.SYSTEM_INCLUDE_PATH} ${CGAL_INCLUDE_PATH} ${FFTW3_INCLUDE_PATH} ${GPERFTOOLS_INCLUDE_PATH} ${GSL_INCLUDE_PATH} ${HDF5_INCLUDE_PATH} ${LOG4CXX_INCLUDE_PATH} ${OPENCV21_INCLUDE_PATH} ${OPENCV22_INCLUDE_PATH} ${RMF_INCLUDE_PATH} ${TCMALLOC_HEAPCHECKER_INCLUDE_PATH} ${TCMALLOC_HEAPPROFILER_INCLUDE_PATH}) link_directories(${ANN_LINK_PATH} ${BOOST.FILESYSTEM_LINK_PATH} ${BOOST.GRAPH_LINK_PATH} ${BOOST.PROGRAMOPTIONS_LINK_PATH} ${BOOST.RANDOM_LINK_PATH} ${BOOST.REGEX_LINK_PATH} ${BOOST.SYSTEM_LINK_PATH} ${CGAL_LINK_PATH} ${FFTW3_LINK_PATH} ${GPERFTOOLS_LINK_PATH} ${GSL_LINK_PATH} ${HDF5_LINK_PATH} ${LOG4CXX_LINK_PATH} ${OPENCV21_LINK_PATH} ${OPENCV22_LINK_PATH} ${RMF_LINK_PATH} ${TCMALLOC_HEAPCHECKER_LINK_PATH} ${TCMALLOC_HEAPPROFILER_LINK_PATH}) set(pytests ${PROJECT_SOURCE_DIR}/modules/em2d/examples/clustering_of_pdb_models.py ${PROJECT_SOURCE_DIR}/modules/em2d/examples/collision_cross_section.py ${PROJECT_SOURCE_DIR}/modules/em2d/examples/em_images_conversion.py ${PROJECT_SOURCE_DIR}/modules/em2d/examples/optimize_em2d_with_montecarlo.py ${PROJECT_SOURCE_DIR}/modules/em2d/examples/3sfd/config_example.py ${PROJECT_SOURCE_DIR}/modules/em2d/examples/3sfd/config_step_1.py ${PROJECT_SOURCE_DIR}/modules/em2d/examples/3sfd/config_step_2.py ${PROJECT_SOURCE_DIR}/modules/em2d/examples/3sfd/config_step_3.py) math(EXPR timeout "${IMP_TIMEOUT_FACTOR} * 180") if (${IMP_MAX_CHECKS} MATCHES "INTERNAL") set(testarg "--run_quick_test") else() set(testarg "") endif() foreach (test ${pytests}) GET_FILENAME_COMPONENT(name ${test} NAME) add_test("em2d.${name}" ${IMP_TEST_SETUP} python ${test} ${testarg}) set_tests_properties("em2d.${name}" PROPERTIES LABELS "IMP.em2d;example") set_tests_properties("em2d.${name}" PROPERTIES TIMEOUT ${timeout}) set_tests_properties("em2d.${name}" PROPERTIES COST 3) #add_dependencies(${name} RMFPython) endforeach(test) set(cpp_tests ) foreach (test ${cpp_tests}) GET_FILENAME_COMPONENT(name ${test} NAME) GET_FILENAME_COMPONENT(name_we ${test} NAME_WE) add_executable("em2d.${name_we}" ${test}) target_link_libraries("em2d.${name_we}" imp_em2d ${IMP_BASE_LIBRARY} ${IMP_CGAL_LIBRARY} ${IMP_ALGEBRA_LIBRARY} ${IMP_KERNEL_LIBRARY} ${IMP_DISPLAY_LIBRARY} ${IMP_GSL_LIBRARY} ${IMP_SCORE_FUNCTOR_LIBRARY} ${IMP_STATISTICS_LIBRARY} ${IMP_CORE_LIBRARY} ${IMP_CONTAINER_LIBRARY} ${IMP_ATOM_LIBRARY} ${IMP_EM_LIBRARY} ${IMP_RMF_LIBRARY} ${IMP_DOMINO_LIBRARY} ${FFTW3_LIBRARIES} ${BOOST.PROGRAMOPTIONS_LIBRARIES} ${BOOST.FILESYSTEM_LIBRARIES} ${OPENCV21_LIBRARIES} ${OPENCV22_LIBRARIES} ${BOOST.SYSTEM_LIBRARIES} ${GPERFTOOLS_LIBRARIES} ${TCMALLOC_HEAPPROFILER_LIBRARIES} ${TCMALLOC_HEAPCHECKER_LIBRARIES} ${LOG4CXX_LIBRARIES} ${BOOST.RANDOM_LIBRARIES} ${CGAL_LIBRARIES} ${ANN_LIBRARIES} ${GSL_LIBRARIES} ${BOOST.REGEX_LIBRARIES} ${RMF_LIBRARIES} ${BOOST.GRAPH_LIBRARIES} ${HDF5_LIBRARIES}) set_target_properties("em2d.${name_we}" PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/test/em2d/" OUTPUT_NAME "${name_we}") add_test("em2d.${name}" ${IMP_TEST_SETUP} "${PROJECT_BINARY_DIR}/test/em2d/${name_we}${CMAKE_EXECUTABLE_SUFFIX}" ${testarg}) set_tests_properties("em2d.${name}" PROPERTIES LABELS "IMP.em2d;example") set_tests_properties("em2d.${name}" PROPERTIES TIMEOUT ${timeout}) set_tests_properties("em2d.${name}" PROPERTIES COST 3) set(executables ${executables} "em2d.${name_we}") endforeach(test) add_custom_target("imp_em2d_examples" ALL DEPENDS ${executables})