def __cmake(self):
        """Setup cmake options based on users parameters"""

        # Configure
        if self.__catalyst:
            self.__cmake_opts.extend(
                ['-DENABLE_CATALYST=ON',
                 '-DParaView_DIR={}'.format(self.__catalyst)])
        if self.__libsim:
            self.__cmake_opts.extend(
                ['-DENABLE_LIBSIM=ON',
                 '-DLIBSIM_DIR={}'.format(self.__libsim)])
        if not self.__miniapps:
            self.__cmake_opts.extend(
                ['-DENABLE_PARALLEL3D=OFF', '-DENABLE_OSCILLATORS=OFF'])
        else:
            self.__cmake_opts.append('-DCMAKE_C_STANDARD=99')

        if self.__vtk:
            self.__cmake_opts.append(
                '-DVTK_DIR={}'.format(self.__vtk))
Setup cmake options based on users parameters
hpccm/building_blocks/sensei.py