# Autogenerated file, run tools/build/setup_cmake.py to regenerate

project(IMP.integrative_docking)

imp_get_process_exit_code("setup_application integrative_docking" status ${CMAKE_BINARY_DIR}
                          COMMAND ${CMAKE_SOURCE_DIR}/tools/build/setup_application.py
                          --name=integrative_docking
                          --datapath=${IMP_DATAPATH}
                           --source=${CMAKE_SOURCE_DIR})
if(${status} EQUAL 0)
include_directories(${ANN_INCLUDE_PATH}
        ${BOOST.FILESYSTEM_INCLUDE_PATH}
        ${BOOST.PROGRAMOPTIONS_INCLUDE_PATH}
        ${BOOST.RANDOM_INCLUDE_PATH}
        ${BOOST.REGEX_INCLUDE_PATH}
        ${BOOST.SYSTEM_INCLUDE_PATH}
        ${CGAL_INCLUDE_PATH}
        ${GPERFTOOLS_INCLUDE_PATH}
        ${TCMALLOC_HEAPCHECKER_INCLUDE_PATH}
        ${TCMALLOC_HEAPPROFILER_INCLUDE_PATH} ${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/lib
     ${CMAKE_SOURCE_DIR}/applications/integrative_docking/em2d_dock/lib
     ${CMAKE_SOURCE_DIR}/applications/integrative_docking/em3d_dock/lib
     ${CMAKE_SOURCE_DIR}/applications/integrative_docking/foxsdock/lib
     ${CMAKE_SOURCE_DIR}/applications/integrative_docking/nmr_rtc/lib)
link_directories(${ANN_LINK_PATH}
        ${BOOST.FILESYSTEM_LINK_PATH}
        ${BOOST.PROGRAMOPTIONS_LINK_PATH}
        ${BOOST.RANDOM_LINK_PATH}
        ${BOOST.REGEX_LINK_PATH}
        ${BOOST.SYSTEM_LINK_PATH}
        ${CGAL_LINK_PATH}
        ${GPERFTOOLS_LINK_PATH}
        ${TCMALLOC_HEAPCHECKER_LINK_PATH}
        ${TCMALLOC_HEAPPROFILER_LINK_PATH})
add_definitions("-DIMP_EXECUTABLE")


   add_executable("IMP.integrative_docking-combine_scores" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/combine_scores/combine_scores.cpp)
   target_link_libraries(IMP.integrative_docking-combine_scores
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-combine_scores PROPERTIES OUTPUT_NAME combine_scores RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-combine_scores" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-combine_scores DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-combine_scores)


   add_executable("IMP.integrative_docking-recompute_zscore" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/combine_scores/recompute_zscore.cpp)
   target_link_libraries(IMP.integrative_docking-recompute_zscore
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-recompute_zscore PROPERTIES OUTPUT_NAME recompute_zscore RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-recompute_zscore" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-recompute_zscore DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-recompute_zscore)


   add_executable("IMP.integrative_docking-cross_links_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/cross_links_score.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/lib/CrossLink.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/lib/helpers.cpp)
   target_link_libraries(IMP.integrative_docking-cross_links_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-cross_links_score PROPERTIES OUTPUT_NAME cross_links_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-cross_links_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-cross_links_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-cross_links_score)


   add_executable("IMP.integrative_docking-cross_links_single_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/cross_links_single_score.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/lib/CrossLink.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/lib/helpers.cpp)
   target_link_libraries(IMP.integrative_docking-cross_links_single_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-cross_links_single_score PROPERTIES OUTPUT_NAME cross_links_single_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-cross_links_single_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-cross_links_single_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-cross_links_single_score)


   add_executable("IMP.integrative_docking-interface_cross_links" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/interface_cross_links.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/lib/CrossLink.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/cross_linking/lib/helpers.cpp)
   target_link_libraries(IMP.integrative_docking-interface_cross_links
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-interface_cross_links PROPERTIES OUTPUT_NAME interface_cross_links RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-interface_cross_links" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-interface_cross_links DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-interface_cross_links)


   add_executable("IMP.integrative_docking-em2d_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/em2d_dock/em2d_score.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/em2d_dock/lib/Projection.cpp)
   target_link_libraries(IMP.integrative_docking-em2d_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-em2d_score PROPERTIES OUTPUT_NAME em2d_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-em2d_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-em2d_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-em2d_score)


   add_executable("IMP.integrative_docking-em2d_single_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/em2d_dock/em2d_single_score.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/em2d_dock/lib/Projection.cpp)
   target_link_libraries(IMP.integrative_docking-em2d_single_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-em2d_single_score PROPERTIES OUTPUT_NAME em2d_single_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-em2d_single_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-em2d_single_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-em2d_single_score)


   add_executable("IMP.integrative_docking-em3d_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/em3d_dock/em3d_score.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/em3d_dock/lib/EMFit.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/em3d_dock/lib/MapScorer.cpp)
   target_link_libraries(IMP.integrative_docking-em3d_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-em3d_score PROPERTIES OUTPUT_NAME em3d_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-em3d_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-em3d_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-em3d_score)


   add_executable("IMP.integrative_docking-em3d_single_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/em3d_dock/em3d_single_score.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/em3d_dock/lib/EMFit.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/em3d_dock/lib/MapScorer.cpp)
   target_link_libraries(IMP.integrative_docking-em3d_single_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-em3d_single_score PROPERTIES OUTPUT_NAME em3d_single_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-em3d_single_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-em3d_single_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-em3d_single_score)


   add_executable("IMP.integrative_docking-saxs_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/foxsdock/saxs_score.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/foxsdock/lib/helpers.cpp)
   target_link_libraries(IMP.integrative_docking-saxs_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-saxs_score PROPERTIES OUTPUT_NAME saxs_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-saxs_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-saxs_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-saxs_score)


   add_executable("IMP.integrative_docking-interface_rtc" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/nmr_rtc/interface_rtc.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/nmr_rtc/lib/ResidueContent.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/nmr_rtc/lib/helpers.cpp)
   target_link_libraries(IMP.integrative_docking-interface_rtc
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-interface_rtc PROPERTIES OUTPUT_NAME interface_rtc RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-interface_rtc" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-interface_rtc DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-interface_rtc)


   add_executable("IMP.integrative_docking-nmr_rtc_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/nmr_rtc/nmr_rtc_score.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/nmr_rtc/lib/ResidueContent.cpp
${CMAKE_SOURCE_DIR}/applications/integrative_docking/nmr_rtc/lib/helpers.cpp)
   target_link_libraries(IMP.integrative_docking-nmr_rtc_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-nmr_rtc_score PROPERTIES OUTPUT_NAME nmr_rtc_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-nmr_rtc_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-nmr_rtc_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-nmr_rtc_score)


   add_executable("IMP.integrative_docking-soap_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/soap_score/soap_score.cpp)
   target_link_libraries(IMP.integrative_docking-soap_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-soap_score PROPERTIES OUTPUT_NAME soap_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-soap_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-soap_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-soap_score)


   add_executable("IMP.integrative_docking-soap_single_score" ${CMAKE_SOURCE_DIR}/applications/integrative_docking/soap_score/soap_single_score.cpp)
   target_link_libraries(IMP.integrative_docking-soap_single_score
    ${IMP_em_LIBRARY}
${IMP_saxs_LIBRARY}
${IMP_base_LIBRARY}
${IMP_cgal_LIBRARY}
${IMP_algebra_LIBRARY}
${IMP_kernel_LIBRARY}
${IMP_display_LIBRARY}
${IMP_score_functor_LIBRARY}
${IMP_statistics_LIBRARY}
${IMP_core_LIBRARY}
${IMP_container_LIBRARY}
${IMP_atom_LIBRARY}
    ${BOOST.FILESYSTEM_LIBRARIES}
${BOOST.PROGRAMOPTIONS_LIBRARIES}
${BOOST.SYSTEM_LIBRARIES}
${GPERFTOOLS_LIBRARIES}
${TCMALLOC_HEAPPROFILER_LIBRARIES}
${TCMALLOC_HEAPCHECKER_LIBRARIES}
${BOOST.RANDOM_LIBRARIES}
${CGAL_LIBRARIES}
${ANN_LIBRARIES}
${BOOST.REGEX_LIBRARIES})
   set_target_properties(IMP.integrative_docking-soap_single_score PROPERTIES OUTPUT_NAME soap_single_score RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
   set_property(TARGET "IMP.integrative_docking-soap_single_score" PROPERTY FOLDER "IMP.integrative_docking")
   install(TARGETS IMP.integrative_docking-soap_single_score DESTINATION ${CMAKE_INSTALL_BINDIR})
   set(bins ${bins} IMP.integrative_docking-soap_single_score)


set(pybins ${CMAKE_SOURCE_DIR}/applications/integrative_docking/idock.py)
foreach (pybin ${pybins})
  install(PROGRAMS ${pybin} DESTINATION ${CMAKE_INSTALL_BINDIR})
endforeach(pybin)

math(EXPR expensive_timeout "${IMP_TIMEOUT_FACTOR} * 120")

set(pytests ${CMAKE_SOURCE_DIR}/applications/integrative_docking/test/test_combine_scores.py
${CMAKE_SOURCE_DIR}/applications/integrative_docking/test/test_cross_links.py
${CMAKE_SOURCE_DIR}/applications/integrative_docking/test/test_em2d_dock.py
${CMAKE_SOURCE_DIR}/applications/integrative_docking/test/test_em3d_dock.py
${CMAKE_SOURCE_DIR}/applications/integrative_docking/test/test_foxsdock.py
${CMAKE_SOURCE_DIR}/applications/integrative_docking/test/test_idock.py
${CMAKE_SOURCE_DIR}/applications/integrative_docking/test/test_nmr_rtc.py
${CMAKE_SOURCE_DIR}/applications/integrative_docking/test/test_soap.py)
foreach (test ${pytests})
  GET_FILENAME_COMPONENT(name ${test} NAME)
  add_test("IMP.integrative_docking-${name}" ${IMP_TEST_SETUP} python ${test})
  set_tests_properties("IMP.integrative_docking-${name}" PROPERTIES LABELS "IMP.integrative_docking;test")
  set_tests_properties("IMP.integrative_docking-${name}" PROPERTIES TIMEOUT ${expensive_timeout})
  set_tests_properties("IMP.integrative_docking-${name}" PROPERTIES COST 3)
endforeach(test)

if(IMP_DOXYGEN_FOUND)
# documentation

file(GLOB docs ${CMAKE_SOURCE_DIR}/applications/integrative_docking/*.dox
               ${CMAKE_SOURCE_DIR}/applications/integrative_docking/*.md)

add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/doxygen/integrative_docking/tags ${CMAKE_BINARY_DIR}/doc/html/integrative_docking/index.html
   COMMAND mkdir -p doc/html
   COMMAND ${IMP_DOXYGEN_EXECUTABLE} ../../doxygen/integrative_docking/Doxyfile
   COMMAND ${CMAKE_SOURCE_DIR}/tools/build/doxygen_patch_tags.py --module=integrative_docking --file=../../doxygen/integrative_docking/tags
   COMMAND ${CMAKE_SOURCE_DIR}/tools/build/doxygen_show_warnings.py --warn=../../doxygen/integrative_docking/warnings.txt
   DEPENDS ${IMP_em_DOC}
${IMP_saxs_DOC}
${IMP_base_DOC}
${IMP_cgal_DOC}
${IMP_algebra_DOC}
${IMP_kernel_DOC}
${IMP_display_DOC}
${IMP_score_functor_DOC}
${IMP_statistics_DOC}
${IMP_core_DOC}
${IMP_container_DOC}
${IMP_atom_DOC} ${docs}
   WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/doxygen/integrative_docking/
   COMMENT "Running doxygen on integrative_docking")

add_custom_target("IMP.integrative_docking-doc" ALL DEPENDS ${CMAKE_BINARY_DIR}/doxygen/integrative_docking/tags)
set_property(TARGET "IMP.integrative_docking-doc" PROPERTY FOLDER "IMP.integrative_docking")

set(IMP_integrative_docking_DOC "IMP.integrative_docking-doc" CACHE INTERNAL "" FORCE)

set(IMP_DOC_DEPENDS ${IMP_DOC_DEPENDS} ${IMP_integrative_docking_DOC} CACHE INTERNAL "" FORCE)
endif(IMP_DOXYGEN_FOUND)

add_custom_target(IMP.integrative_docking DEPENDS
  ${IMP_em}
${IMP_saxs}
${IMP_base}
${IMP_cgal}
${IMP_algebra}
${IMP_kernel}
${IMP_display}
${IMP_score_functor}
${IMP_statistics}
${IMP_core}
${IMP_container}
${IMP_atom}
  ${bins})
set_property(TARGET "IMP.integrative_docking" PROPERTY FOLDER "IMP.integrative_docking")

elseif(${status} EQUAL 1)
message("Application integrative_docking disabled")
else()
message(FATAL_ERROR "setup_application failed ${status}")
endif()
