scons

  安装scons。在根目录下运行。

  scons

  SCons will work with any 2.x version of Python from 2.7 on; 3.0 and later are not yet supported. If you need to install Python and have a choice, we recommend using the most recent 2.x Python version available.

   scons会被安装在下面这个路径:

   (/usr/local/bin)

   scons库会安装在下面这个目录:

  (/usr/local/lib/scons).

编译

1、Program

  新建一个SConstruct文件,内容如下:

  scons

  然后运行scons即可编译。

2、Object。

  scons

清理

  清理生成的文件。

  scons -c。

  

 文档:http://www.scons.org/doc/production/HTML/scons-user.html#chap-preface

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2021-07-20
  • 2022-12-23
  • 2021-10-23
  • 2021-08-15
  • 2022-12-23
猜你喜欢
  • 2021-10-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2021-10-25
  • 2021-08-12
  • 2022-02-12
相关资源
相似解决方案