scons - 在编译过程后删除一些构建的文件
scons - delete some of the built files after the compilation process
我有一个scons设置,我可以选择运行SWIG并从C ++构建python模块。
这将创建诸如
- x_wrap.cc
- x.lib
- x.obj
等。
当我在过程结束时想要的只是这些文件时:
- _x.pyd
- x.py
有没有办法让我在构建过程后让 scons 删除不需要的文件?
似乎在共享库行之后使用"删除"功能作为命令,允许我删除不需要的文件。
相关文章:
- 如何使用ndk-build.cmd构建Android.so文件
- 构建一个由C和C++文件组成的库
- 如何使用 samtools C API 构建一个简单的主.cpp文件
- 我在 ndk 中构建文件时遇到错误 android.mk
- 自定义构建文件更改不会触发VS 2017中的项目重建
- 从头开始为使用Qt的应用程序制作简约的构建文件
- 如何在崇高的构建文件中添加双引号
- 如何从"开始组..结束组"链接器选项构建文件列表
- Eclipse 不构建C++文件
- 如何在sublime构建文件中指定$HOME文件夹
- 在崇高文本3上构建C 文件未结束
- 如何使用命名空间构建文件夹
- 在Windows中使用g++构建C++文件,但不能作为.bat使用
- 如何将一个项目的构建文件复制到第二个项目的include/library目录
- Qmake Qt:将头文件移动到构建文件夹
- 在哪里可以找到 MPFR 的 Visual Studio 2008 项目构建文件?或者如何自己创建这样的构建文件
- 在调用 cmake 之前删除构建文件夹中的所有内容是否合理
- CMake表示,它已经编写了构建文件,但没有找到任何构建文件
- 使用Sublime Text构建C++文件3
- 为包含两个类的头文件构建C++文件