Files
rdkit/Code/GraphMol/FragCatalog/CMakeLists.txt
Greg Landrum 45bf58754a Cleanup some cmake dependencies (#3077)
* change minimal cmake version to a consistent 3.5

* progress towards a cleanup

* get the basic python deps working

* two more libs

* another round of changes
all tests pass at this point

* next round of changes
all tests pass at this point

* close to done
all tests pass

* very close

* almost done

* shift the RDBoost dependencies around a bit

* remove an extraneous python linkage
this is trying to get the mac builds working again

* Only link to python if it was built shared (#3091)

* change in response to review

Co-Authored-By: Ric <ricrogz@users.noreply.github.com>

* move that suppression of the maybe-uninitialized warning to BoostStartInclude.h

Co-authored-by: Brian Kelley <fustigator@gmail.com>
Co-authored-by: Ric <ricrogz@users.noreply.github.com>
2020-04-17 14:34:23 +02:00

20 lines
669 B
CMake

remove_definitions(-DRDKIT_GRAPHMOL_BUILD)
add_definitions(-DRDKIT_FRAGCATALOG_BUILD)
rdkit_library(FragCatalog
FragCatalogUtils.cpp FragCatGenerator.cpp FragCatalogEntry.cpp
FragCatParams.cpp FragFPGenerator.cpp
LINK_LIBRARIES Subgraphs SubstructMatch SmilesParse Catalogs GraphMol RDGeneral )
rdkit_headers(FragCatalogEntry.h
FragCatalogUtils.h
FragCatGenerator.h
FragCatParams.h
FragFPGenerator.h DEST GraphMol/FragCatalog)
rdkit_test(testFragCatalog test1.cpp LINK_LIBRARIES FragCatalog FileParsers )
if(RDK_BUILD_PYTHON_WRAPPERS)
add_subdirectory(Wrap)
endif()