Revision 63f16d7d7834f24bd8604b906e4f3c02b04c738a authored by Jan Bender on 08 December 2020, 15:54:47 UTC, committed by Jan Bender on 08 December 2020, 15:54:47 UTC
1 parent a2d2ce4
CMakeLists.txt
pybind11_add_module(pysplishsplash
main.cpp
AnimationFieldModule.cpp
BoundaryModelModule.cpp
ParameterObjectModule.cpp
UtilitiesModule.cpp
SPHKernelsModule.cpp
EmitterModule.cpp
FluidModelModule.cpp
NonPressureForceBaseModule.cpp
SimulationModule.cpp
StaticRigidBodyModule.cpp
TimeModule.cpp
TriangleMeshModule.cpp
DFSPHModule.cpp
DragModule.cpp
ElasticityModule.cpp
IISPHModule.cpp
PBFModule.cpp
PCISPHModule.cpp
PFModule.cpp
SurfaceTensionModule.cpp
ViscosityModule.cpp
VorticityModule.cpp
WCSPHModule.cpp
GUIModule.cpp
ExtrasModule.cpp
)
# All the same postfix, otherwise the module name ist not the same as the exported name and python gets confused
set_target_properties(pysplishsplash PROPERTIES
DEBUG_POSTFIX ""
RELWITHDEBINFO_POSTFIX ""
MINSIZEREL_POSTFIX "")
target_link_libraries(pysplishsplash PRIVATE SimulatorBase)
add_dependencies(pysplishsplash SimulatorBase)
add_custom_target(pysplishsplash_install
${PYTHON_EXECUTABLE} setup.py bdist_wheel
COMMAND ${PYTHON_EXECUTABLE} -m pip install -I build/dist/py*.whl
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...