Files
rdkit/Code/GraphMol/StructChecker/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

19 lines
773 B
CMake

remove_definitions(-DRDKIT_GRAPHMOL_BUILD)
add_definitions(-DRDKIT_STRUCTCHECKER_BUILD)
rdkit_library(StructChecker
StructChecker.cpp StructCheckerOptions.cpp StructureFlags.cpp Utilites.cpp
Pattern.cpp Stereo.cpp AtomSymbolMatch.cpp StripSmallFragments.cpp ReCharge.cpp Tautomer.cpp
LINK_LIBRARIES Depictor SubstructMatch FileParsers ChemTransforms Descriptors
GraphMol RDGeneral )
rdkit_headers(StructChecker.h Utilites.h Pattern.h Stereo.h StripSmallFragments.h ReCharge.h Tautomer.h
DEST GraphMol/StructChecker)
if(RDK_BUILD_PYTHON_WRAPPERS)
add_subdirectory(Wrap)
endif()
rdkit_test(testStructChecker testStructChecker.cpp
LINK_LIBRARIES StructChecker SmilesParse )