# Autogenerated file, run tools/build/setup_cmake.py to regenerate message(STATUS "Setting up module " display) FILE(GLOB gensources "${PROJECT_BINARY_DIR}/src/display/*.cpp") FILE(GLOB genheaders "${PROJECT_BINARY_DIR}/include/IMP/display/*.h") include_directories(${ANN_INCLUDE_PATH} ${BOOST.FILESYSTEM_INCLUDE_PATH} ${BOOST.PROGRAMOPTIONS_INCLUDE_PATH} ${BOOST.RANDOM_INCLUDE_PATH} ${BOOST.SYSTEM_INCLUDE_PATH} ${CGAL_INCLUDE_PATH} ${GPERFTOOLS_INCLUDE_PATH} ${LOG4CXX_INCLUDE_PATH} ${TCMALLOC_HEAPCHECKER_INCLUDE_PATH} ${TCMALLOC_HEAPPROFILER_INCLUDE_PATH}) link_directories(${ANN_LINK_PATH} ${BOOST.FILESYSTEM_LINK_PATH} ${BOOST.PROGRAMOPTIONS_LINK_PATH} ${BOOST.RANDOM_LINK_PATH} ${BOOST.SYSTEM_LINK_PATH} ${CGAL_LINK_PATH} ${GPERFTOOLS_LINK_PATH} ${LOG4CXX_LINK_PATH} ${TCMALLOC_HEAPCHECKER_LINK_PATH} ${TCMALLOC_HEAPPROFILER_LINK_PATH}) add_definitions("-DIMPDISPLAY_EXPORTS") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DISPLAY_CXX_FLAGS}") set(headers ${PROJECT_SOURCE_DIR}/modules/display/include/BildWriter.h ${PROJECT_SOURCE_DIR}/modules/display/include/CMMWriter.h ${PROJECT_SOURCE_DIR}/modules/display/include/ChimeraWriter.h ${PROJECT_SOURCE_DIR}/modules/display/include/Color.h ${PROJECT_SOURCE_DIR}/modules/display/include/Colored.h ${PROJECT_SOURCE_DIR}/modules/display/include/FilterGeometry.h ${PROJECT_SOURCE_DIR}/modules/display/include/GeometryProcessor.h ${PROJECT_SOURCE_DIR}/modules/display/include/GeometrySet.h ${PROJECT_SOURCE_DIR}/modules/display/include/LogOptimizerState.h ${PROJECT_SOURCE_DIR}/modules/display/include/PymolWriter.h ${PROJECT_SOURCE_DIR}/modules/display/include/Writer.h ${PROJECT_SOURCE_DIR}/modules/display/include/declare_Geometry.h ${PROJECT_SOURCE_DIR}/modules/display/include/display_macros.h ${PROJECT_SOURCE_DIR}/modules/display/include/geometry.h ${PROJECT_SOURCE_DIR}/modules/display/include/geometry_macros.h ${PROJECT_SOURCE_DIR}/modules/display/include/particle_geometry.h ${PROJECT_SOURCE_DIR}/modules/display/include/primitive_geometries.h ${PROJECT_SOURCE_DIR}/modules/display/include/python_only.h ${PROJECT_SOURCE_DIR}/modules/display/include/restraint_geometry.h ${PROJECT_SOURCE_DIR}/modules/display/include/writer_macros.h ${PROJECT_SOURCE_DIR}/modules/display/include/internal/utility.h ${PROJECT_SOURCE_DIR}/modules/display/include/internal/writers.h) if(DEFINED IMP_DISPLAY_LIBRARY_EXTRA_SOURCES) set_source_files_properties(${IMP_DISPLAY_LIBRARY_EXTRA_SOURCES} PROPERTIES GENERATED 1) endif() if(DEFINED IMP_display_IS_PER_CPP) set(sources ${PROJECT_SOURCE_DIR}/modules/display/src/BildWriter.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/CMMWriter.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/ChimeraWriter.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/Color.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/Colored.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/FilterGeometry.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/GeometryProcessor.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/LogOptimizerState.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/PymolWriter.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/Writer.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/geometry.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/particle_geometry.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/restraint_geometry.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/internal/utility.cpp ${PROJECT_SOURCE_DIR}/modules/display/src/internal/writers.cpp) add_library(imp_display ${IMP_LIB_TYPE} ${gensources} ${genheaders} ${headers} ${sources} ${IMP_DISPLAY_LIBRARY_EXTRA_SOURCES} ) else() add_library(imp_display ${IMP_LIB_TYPE} ${gensources} ${genheaders} ${headers} ${PROJECT_BINARY_DIR}/src/display_all.cpp ${IMP_DISPLAY_LIBRARY_EXTRA_SOURCES} ) endif() INSTALL(TARGETS imp_display DESTINATION ${CMAKE_INSTALL_LIBDIR}) if(DEFINED IMP_DISPLAY_LIBRARY_EXTRA_DEPENDENCIES) add_dependencies(imp_display ${IMP_DISPLAY_LIBRARY_EXTRA_DEPENDENCIES}) endif() target_link_libraries(imp_display ${IMP_BASE_LIBRARY} ${IMP_CGAL_LIBRARY} ${IMP_ALGEBRA_LIBRARY} ${IMP_KERNEL_LIBRARY} ${BOOST.FILESYSTEM_LIBRARIES} ${BOOST.PROGRAMOPTIONS_LIBRARIES} ${BOOST.SYSTEM_LIBRARIES} ${GPERFTOOLS_LIBRARIES} ${TCMALLOC_HEAPPROFILER_LIBRARIES} ${TCMALLOC_HEAPCHECKER_LIBRARIES} ${LOG4CXX_LIBRARIES} ${BOOST.RANDOM_LIBRARIES} ${CGAL_LIBRARIES} ${ANN_LIBRARIES} ) set(IMP_DISPLAY_LIBRARY imp_display CACHE INTERNAL "" FORCE)