File: CMakeLists.txt

package info (click to toggle)
esys-particle 2.3.4%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,036 kB
  • ctags: 10,805
  • sloc: cpp: 80,009; python: 5,872; makefile: 1,243; sh: 313; perl: 225
file content (9 lines) | stat: -rw-r--r-- 749 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
#===========================================================

ADD_LIBRARY(lsmgeometry SHARED SimpleBlockPy.cpp MiscPy.cpp DistConnectionsPy.cpp TaggedIdConnectionPy.cpp IteratorPy.cpp ParticleCollectionPy.cpp CubicBlockPy.cpp GrainCollectionPy.cpp GrainPy.cpp PackerPy.cpp GougeConfigPrmsPy.cpp GougeConfigPy.cpp HexagBlockPy.cpp SimpleSpherePy.cpp SimpleSphereNeighboursPy.cpp SimpleSphereCollectionPy.cpp)
ADD_LIBRARY(GeometryPy SHARED ExportModuleGeometry.cpp)

TARGET_LINK_LIBRARIES(lsmgeometry ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
TARGET_LINK_LIBRARIES(GeometryPy ${Boost_LIBRARIES} ${PYTHON_LIBRARIES})
INSTALL(TARGETS lsmgeometry DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
INSTALL(TARGETS GeometryPy DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)