]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake/modules/Distutils.cmake: avoid rebuilding cython ext
authorKefu Chai <kchai@redhat.com>
Mon, 8 Jul 2019 12:06:06 +0000 (20:06 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 8 Jul 2019 12:30:14 +0000 (20:30 +0800)
commitf17861cdfafc463e512a847620808abc3addd4c1
tree9cc073d819989cd6ef74fa2958019e6e7642a722
parent83ffb1e2ca72f7ec9aafceda8226e3f129fc66cc
cmake/modules/Distutils.cmake: avoid rebuilding cython ext

use the combination of add_custom_command() and add_custom_target() to
build cython extensions to avoid rebuilding the cython extension
everytime we run "make"

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/Distutils.cmake