SCons用户手册(序言 001)
2012-07-27 23:32
169 查看
SCons准则:
在设计与实现SCons时有一些重要的准则我们要遵守:
正确性:
首要并且最重要的,即使牺牲一点性能,我们也要确保构建的正确性。我们努力确保正确构建无论软件是如何组织,不论它是如何书写,或多么不平常工具构建它.
性能:
假定构建正确的前提下,我们尝试使SCons尽可能快的运行。特别的,无论何时我们必须减慢默认SCons的行为以确保正确的构建,同时,我们也尝试简化脚本来提高SCons
易用性:
一言以蔽之,我们努力以最少的困难使SCons做对的事情,正确的构建软件.
1. SCons Principles
There are a few overriding principles we try to live up to in designing and implementing SCons:
Correctness
First and foremost, by default, SCons guarantees a correct build even if it means sacrificing
performance a little. We strive to guarantee the build is correct regardless of how the software being
built is structured, how it may have been written, or how unusual the tools are that build it.
Performance
Given that the build is correct, we try to make SCons build software as quickly as possible. In
particular, wherever we may have needed to slow down the default SCons behavior to guarantee a
correct build, we also try to make it easy to speed up SCons through optimization options that let
you trade off guaranteed correctness in all end cases for a speedier build in the usual cases.
Convenience
SCons tries to do as much for you out of the box as reasonable, including detecting the right tools
on your system and using them correctly to build the software.
In a nutshell, we try hard to make SCons just "do the right thing" and build software correctly, with a
minimum of hassles.
在设计与实现SCons时有一些重要的准则我们要遵守:
正确性:
首要并且最重要的,即使牺牲一点性能,我们也要确保构建的正确性。我们努力确保正确构建无论软件是如何组织,不论它是如何书写,或多么不平常工具构建它.
性能:
假定构建正确的前提下,我们尝试使SCons尽可能快的运行。特别的,无论何时我们必须减慢默认SCons的行为以确保正确的构建,同时,我们也尝试简化脚本来提高SCons
易用性:
一言以蔽之,我们努力以最少的困难使SCons做对的事情,正确的构建软件.
1. SCons Principles
There are a few overriding principles we try to live up to in designing and implementing SCons:
Correctness
First and foremost, by default, SCons guarantees a correct build even if it means sacrificing
performance a little. We strive to guarantee the build is correct regardless of how the software being
built is structured, how it may have been written, or how unusual the tools are that build it.
Performance
Given that the build is correct, we try to make SCons build software as quickly as possible. In
particular, wherever we may have needed to slow down the default SCons behavior to guarantee a
correct build, we also try to make it easy to speed up SCons through optimization options that let
you trade off guaranteed correctness in all end cases for a speedier build in the usual cases.
Convenience
SCons tries to do as much for you out of the box as reasonable, including detecting the right tools
on your system and using them correctly to build the software.
In a nutshell, we try hard to make SCons just "do the right thing" and build software correctly, with a
minimum of hassles.
相关文章推荐
- SCons用户手册(序言)
- SCons用户手册
- Netty 3.1 中文用户手册(一)-序言
- scons用户手册
- kettle---用户手册(3:创建一个数据库链接)
- kettle---用户手册(7:变量)
- Velocity用户手册---中文版
- MINA2.0用户手册中文版--第六章 MINA中的传输 第二节 基于串行传输
- 软件工程之— 项目开发文档(用户手册概要)
- flume 1.7.0用户手册
- W5100E01-AVR是什么?怎么用?(八)(用户手册V1.0版)
- MySQL 4.1.0 中文参考手册 --- 6.6 基本的 MySQL 用户实用命令
- 结对测试工具PICT用户手册(4)——模型选项
- Box2D v2.1.0用户手册(11)——杂项(Loose Ends)
- NuttX用户手册阅读记录2
- NuttX 操作系统用户手册(NuttX Operating System User’s Manual)
- Box2D v2.1.0用户手册翻译 - 第03章 公共模块(Common)
- XBMC用户手册:导入导出资料…
- XBMC用户手册:视频资料库(…
- scons用户指南第五章:节点对象