Skip to content
Snippets Groups Projects
  1. Nov 25, 2021
  2. Sep 30, 2021
  3. May 05, 2021
  4. Jul 17, 2020
  5. Jul 01, 2020
  6. May 18, 2020
    • Dominik Thoennes's avatar
      Replaced `waLBerla_python_file_generates` with `waLBerla_generate_target_from_python` · f30f0fa4
      Dominik Thoennes authored
      This new function does the actual generation using pystencils and creates a target library that can be used as a dependency as usual. One should not list the python script itself anymore in add_executable.
      Convention: Use the AppName as a prefix for the generated lib!
      
      Example Usage:
      
      waLBerla_generate_target_from_python( NAME AppNameGeneratedLib FILE GenerateKernel.py OUT_FILES Kernel.h Kernel.cpp)
      
      waLBerla_add_executable ( NAME AppNameGeneratedLibTest DEPENDS GeneratedLib)
      f30f0fa4
  7. Mar 17, 2020