Files
rdkit/Code/DataStructs/CMakeLists.txt
Greg Landrum d3061b03ef Fixes github #7533 (#7539)
* Fixes #7533

Fixes problem with SparseIntVect and SparseBitVect where the intention is to
be able to store all possible values of the index type: in these cases
you could not store (or access) the final element.

* increase the verbosity of the DataStructs tests
so that we can see what's going on
2024-06-20 09:27:27 +02:00

44 lines
1.2 KiB
CMake

if(RDK_OPTIMIZE_POPCNT)
ADD_DEFINITIONS("-DRDK_OPTIMIZE_POPCNT")
endif()
rdkit_library(DataStructs
BitVect.cpp SparseBitVect.cpp ExplicitBitVect.cpp Utils.cpp
base64.cpp BitOps.cpp DiscreteDistMat.cpp
DiscreteValueVect.cpp FPBReader.cpp MultiFPBReader.cpp
LINK_LIBRARIES RDGeneral)
target_compile_definitions(DataStructs PRIVATE RDKIT_DATASTRUCTS_BUILD)
rdkit_headers(base64.h
BitOps.h
BitVect.h
BitVects.h
BitVectUtils.h
DatastructsException.h
DatastructsStreamOps.h
DiscreteDistMat.h
DiscreteValueVect.h
ExplicitBitVect.h
SparseBitVect.h
SparseIntVect.h
FPBReader.h
MultiFPBReader.h
DEST DataStructs)
rdkit_test(testDataStructs testDatastructs.cpp
LINK_LIBRARIES DataStructs )
rdkit_test(testFPB testFPB.cpp
LINK_LIBRARIES DataStructs )
rdkit_test(testMultiFPB testMultiFPB.cpp
LINK_LIBRARIES DataStructs )
rdkit_catch_test(catchDataStructs catch_tests.cpp
LINK_LIBRARIES DataStructs )
if(RDK_BUILD_PYTHON_WRAPPERS)
add_subdirectory(Wrap)
endif()