U
    R^E
                     @   s(   d dl mZmZmZ G dd deZdS )    )Baseshell_commandcopy_test_filesc                       sp   e Zd ZdZdgZdgZdddZe fddZedd	 Z	ed
d Z
edd Zee dd Z  ZS )BuildSystemz-CMake build system (using dh_auto_* commands)ZcmakezCMakeLists.txt
   )zcmake_uninstall.cmakezCMakeCache.txtc                    s   t t| || dS )Nz!dh_auto_clean --buildsystem=cmake)superr   cleanselfcontextargs	__class__ 3/usr/share/dh-python/dhpython/build/plugin_cmake.pyr      s    zBuildSystem.cleanc                 C   s   dS )Nzdh_auto_configure --buildsystem=cmake --builddirectory="{build_dir}" -- -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/{interpreter} -DPYTHON_LIBRARY:FILEPATH={interpreter.library_file} -DPYTHON_INCLUDE_DIR:PATH={interpreter.include_dir} {args}r   r	   r   r   r   	configure#   s    zBuildSystem.configurec                 C   s   dS )NzJdh_auto_build --buildsystem=cmake --builddirectory="{build_dir}" -- {args}r   r	   r   r   r   build,   s    zBuildSystem.buildc                 C   s   dS )Nzbdh_auto_install --buildsystem=cmake --builddirectory="{build_dir}" --destdir="{destdir}" -- {args}r   r	   r   r   r   install2   s    zBuildSystem.installc                 C   s   dS )NzIdh_auto_test --buildsystem=cmake --builddirectory="{build_dir}" -- {args}r   r	   r   r   r   test9   s    zBuildSystem.test)__name__
__module____qualname__ZDESCRIPTIONZREQUIRED_COMMANDSZREQUIRED_FILESZOPTIONAL_FILESr   r   r   r   r   r   r   __classcell__r   r   r   r   r      s   



r   N)Zdhpython.build.baser   r   r   r   r   r   r   r   <module>   s   