# Autogenerated file, run tools/build/setup_cmake.py to regenerate message(STATUS "Setting up module " statistics) FILE(GLOB gensources "${PROJECT_BINARY_DIR}/src/statistics/*.cpp") FILE(GLOB genheaders "${PROJECT_BINARY_DIR}/include/IMP/statistics/*.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("-DIMPSTATISTICS_EXPORTS") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${STATISTICS_CXX_FLAGS}") set(headers ${PROJECT_SOURCE_DIR}/modules/statistics/include/Embedding.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/Histogram.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/HistogramD.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/Metric.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/PartitionalClustering.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/PartitionalClusteringWithCenter.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/RecursivePartitionalClusteringEmbedding.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/RecursivePartitionalClusteringMetric.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/clustering_macros.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/embedding_macros.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/embeddings.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/metric_clustering.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/metric_macros.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/metrics.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/partitional_clustering_macros.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/point_clustering.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/python_only.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/utility.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/ClusteringEngine.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/DataPoints.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMCenters.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMCentersNode.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMCentersNodeLeaf.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMCentersNodeSplit.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMCentersTree.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMData.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMFilterCenters.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMLProxy.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMLocalSearch.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMLocalSearchLloyd.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMRectangle.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/KMTerminationCondition.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/TrivialPartitionalClustering.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/VQClustering.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/centrality_clustering.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/histogram.h ${PROJECT_SOURCE_DIR}/modules/statistics/include/internal/random_generator.h) if(DEFINED IMP_STATISTICS_LIBRARY_EXTRA_SOURCES) set_source_files_properties(${IMP_STATISTICS_LIBRARY_EXTRA_SOURCES} PROPERTIES GENERATED 1) endif() if(DEFINED IMP_statistics_IS_PER_CPP) set(sources ${PROJECT_SOURCE_DIR}/modules/statistics/src/Embedding.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/Histogram.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/HistogramD.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/Metric.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/PartitionalClustering.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/PartitionalClusteringWithCenter.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/RecursivePartitionalClusteringEmbedding.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/RecursivePartitionalClusteringMetric.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/embeddings.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/metric_clustering.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/metrics.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/point_clustering.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/utility.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/DataPoints.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMCenters.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMCentersNode.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMCentersNodeLeaf.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMCentersNodeSplit.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMCentersTree.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMData.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMFilterCenters.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMLProxy.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMLocalSearch.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMLocalSearchLloyd.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/KMRectangle.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/VQClustering.cpp ${PROJECT_SOURCE_DIR}/modules/statistics/src/internal/centrality_clustering.cpp) add_library(imp_statistics ${IMP_LIB_TYPE} ${gensources} ${genheaders} ${headers} ${sources} ${IMP_STATISTICS_LIBRARY_EXTRA_SOURCES} ) else() add_library(imp_statistics ${IMP_LIB_TYPE} ${gensources} ${genheaders} ${headers} ${PROJECT_BINARY_DIR}/src/statistics_all.cpp ${IMP_STATISTICS_LIBRARY_EXTRA_SOURCES} ) endif() INSTALL(TARGETS imp_statistics DESTINATION ${CMAKE_INSTALL_LIBDIR}) if(DEFINED IMP_STATISTICS_LIBRARY_EXTRA_DEPENDENCIES) add_dependencies(imp_statistics ${IMP_STATISTICS_LIBRARY_EXTRA_DEPENDENCIES}) endif() target_link_libraries(imp_statistics ${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_STATISTICS_LIBRARY imp_statistics CACHE INTERNAL "" FORCE)