# Autogenerated file, run tools/build/setup_cmake.py to regenerate message(STATUS "Setting up module " example) FILE(GLOB gensources "${PROJECT_BINARY_DIR}/src/example/*.cpp") FILE(GLOB genheaders "${PROJECT_BINARY_DIR}/include/IMP/example/*.h") 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} ${EXAMPLEDEPENDENCY_INCLUDE_PATH} ${GPERFTOOLS_INCLUDE_PATH} ${HDF5_INCLUDE_PATH} ${LOG4CXX_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} ${EXAMPLEDEPENDENCY_LINK_PATH} ${GPERFTOOLS_LINK_PATH} ${HDF5_LINK_PATH} ${LOG4CXX_LINK_PATH} ${RMF_LINK_PATH} ${TCMALLOC_HEAPCHECKER_LINK_PATH} ${TCMALLOC_HEAPPROFILER_LINK_PATH}) add_definitions("-DIMPEXAMPLE_EXPORTS") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXAMPLE_CXX_FLAGS}") set(headers ${PROJECT_SOURCE_DIR}/modules/example/include/ExampleComplexRestraint.h ${PROJECT_SOURCE_DIR}/modules/example/include/ExampleConstraint.h ${PROJECT_SOURCE_DIR}/modules/example/include/ExampleDecorator.h ${PROJECT_SOURCE_DIR}/modules/example/include/ExamplePairScore.h ${PROJECT_SOURCE_DIR}/modules/example/include/ExampleRefCounted.h ${PROJECT_SOURCE_DIR}/modules/example/include/ExampleRestraint.h ${PROJECT_SOURCE_DIR}/modules/example/include/ExampleSingletonModifier.h ${PROJECT_SOURCE_DIR}/modules/example/include/ExampleSubsetFilterTable.h ${PROJECT_SOURCE_DIR}/modules/example/include/ExampleTemplateClass.h ${PROJECT_SOURCE_DIR}/modules/example/include/ExampleUnaryFunction.h ${PROJECT_SOURCE_DIR}/modules/example/include/complex_assembly.h ${PROJECT_SOURCE_DIR}/modules/example/include/counting.h ${PROJECT_SOURCE_DIR}/modules/example/include/creating_restraints.h ${PROJECT_SOURCE_DIR}/modules/example/include/optimizing.h ${PROJECT_SOURCE_DIR}/modules/example/include/randomizing.h) if(DEFINED IMP_EXAMPLE_LIBRARY_EXTRA_SOURCES) set_source_files_properties(${IMP_EXAMPLE_LIBRARY_EXTRA_SOURCES} PROPERTIES GENERATED 1) endif() if(DEFINED IMP_example_IS_PER_CPP) set(sources ${PROJECT_SOURCE_DIR}/modules/example/src/ExampleComplexRestraint.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/ExampleConstraint.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/ExampleDecorator.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/ExamplePairScore.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/ExampleRefCounted.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/ExampleRestraint.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/ExampleSingletonModifier.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/ExampleSubsetFilterTable.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/complex_assembly.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/optimize_balls.cpp ${PROJECT_SOURCE_DIR}/modules/example/src/use_example_dependency.cpp) add_library(imp_example ${IMP_LIB_TYPE} ${gensources} ${genheaders} ${headers} ${sources} ${IMP_EXAMPLE_LIBRARY_EXTRA_SOURCES} ) else() add_library(imp_example ${IMP_LIB_TYPE} ${gensources} ${genheaders} ${headers} ${PROJECT_BINARY_DIR}/src/example_all.cpp ${IMP_EXAMPLE_LIBRARY_EXTRA_SOURCES} ) endif() INSTALL(TARGETS imp_example DESTINATION ${CMAKE_INSTALL_LIBDIR}) if(DEFINED IMP_EXAMPLE_LIBRARY_EXTRA_DEPENDENCIES) add_dependencies(imp_example ${IMP_EXAMPLE_LIBRARY_EXTRA_DEPENDENCIES}) endif() target_link_libraries(imp_example ${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} ${IMP_RMF_LIBRARY} ${IMP_DOMINO_LIBRARY} ${EXAMPLEDEPENDENCY_LIBRARIES} ${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} ${BOOST.REGEX_LIBRARIES} ${RMF_LIBRARIES} ${BOOST.GRAPH_LIBRARIES} ${HDF5_LIBRARIES} ) set(IMP_EXAMPLE_LIBRARY imp_example CACHE INTERNAL "" FORCE)