由于 scons 是使用 python 开发的,因此,支持 py 的语法格式。
参考:2.5.1. SConstruct Files Are Python Scripts https://scons.org/doc/production/HTML/scons-user.html#sect-sconstruct-file
User Guide https://scons.org/doc/production/HTML/scons-user.html
Current Documentation https://scons.org/documentation.html
Frequently Asked Questions https://scons.org/faq.html
Version-Specific SCons Documentation https://scons.org/docversions.html
github https://github.com/SCons/scons
Questions tagged [scons] https://stackoverflow.com/questions/tagged/scons?tab=Newest
SCONSCRIPT FILE REFERENCE https://scons.org/doc/production/HTML/scons-man.html
------------------------------------------------------------------
要点:
对于个人而言,生命是有限的。因此,时间成本,是很昂贵的;提高开发的效率,节省时间,就是在:提高生命的质量。
- 一般而言,能在 IDE 中进行开发的,就不要使用命令行开发?
将 makefile、SConstruct 之类的编写,这种事情,就交给专业的 IDE 开发者去做? - 在只能使用命令行开发的场景里,能使用 VS code 之类的开发工具的,就使用它们?
至少可以有一个自定义的、简陋的开发集成环境吧? - 直接在终端上,使用命令行进行开发,这种开发方式,也太古老了吧?
除非是一些很简单的程序开发,才选择这样吧 ?