Comments (7)
全局配置还是特定目标的?
2014-03-10 17:00 GMT+08:00 Coney Wu [email protected]:
比如加入-Wno-unused-local-typedefs等
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/91
.
from blade-build.
特定目标, 加入一些额外的编译选项, 类似
CXXFLAGS += -Wno-unused-local-typedefs
使用defs直接全部变成#define XXX 1了
from blade-build.
extra_cppflags = ['-Wxxx']
2014-03-10 17:03 GMT+08:00 Coney Wu [email protected]:
特定目标, 加入一些额外的编译选项, 类似
CXXFLAGS += -Wno-unused-local-typedefs
使用defs直接全部变成#define XXX 1了—
Reply to this email directly or view it on GitHubhttps://github.com//issues/91#issuecomment-37163158
.
from blade-build.
好的 相当感谢
如果文档能更加全面点就好了, 刚才差点就放弃了
from blade-build.
好的,以后继续完善。多谢理解和支持。
2014-03-10 17:06 GMT+08:00 Coney Wu [email protected]:
好的 相当感谢
如果文档能更加全面点就好了, 刚才差点就放弃了—
Reply to this email directly or view it on GitHubhttps://github.com//issues/91#issuecomment-37163336
.
from blade-build.
@chen3feng
如何增加全局的编译选项呢?比如我要在全局打开 Cpp 11 标准的支持,目前的做法是在 BLADE_ROOT
文件中做如下修改:
cc_config (
extra_cppflags = [
'-std=c++11',
],
)
但是 Blade 提示:cc_config: unknown config item name: extra_cppflags
。
请问应该怎么办。谢谢!
from blade-build.
@LiamHuang0205
cc_config (
cpp_flags = [
'-std=c++11',
],
)
试试
from blade-build.
Related Issues (20)
- vscode blade-build BUILD file syntax and template plugin
- 能否支持像 subpackages 等的工具函数
- 如何支持根据不同配置选择不同版本第三方库 HOT 1
- blade支持分布式编译,支持增量编译。那是否支持分布式增量编译?
- English install.md has incorrect python info
- thirdparty protobuf compile fail HOT 2
- support build in sandbox for different system from local's
- C++
- 请问Blade是否支持类似cmake的add_subdirectory功能?
- Support ISPC
- 采用blade编译protobuf出错 HOT 1
- Support export-symbols-regex and export-symbols on link stage
- Support windows platform
- Support proto_plugin
- 请问一下应该怎样使用blade的install辅助功能,有没有代码示例呢 HOT 1
- Support doctest as test library
- Build Mac app
- 目前支持C++17 编译吗 HOT 2
- blade支持自己创建新的rule吗? HOT 1
- 怎么清理原来的编译文件,重新编译呢 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blade-build.