Code Monkey home page Code Monkey logo

Comments (7)

chen3feng avatar chen3feng commented on May 8, 2024

全局配置还是特定目标的?

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.

coney avatar coney commented on May 8, 2024

特定目标, 加入一些额外的编译选项, 类似
CXXFLAGS += -Wno-unused-local-typedefs
使用defs直接全部变成#define XXX 1了

from blade-build.

chen3feng avatar chen3feng commented on May 8, 2024

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.

coney avatar coney commented on May 8, 2024

好的 相当感谢
如果文档能更加全面点就好了, 刚才差点就放弃了

from blade-build.

chen3feng avatar chen3feng commented on May 8, 2024

好的,以后继续完善。多谢理解和支持。

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.

 avatar commented on May 8, 2024

@chen3feng
如何增加全局的编译选项呢?比如我要在全局打开 Cpp 11 标准的支持,目前的做法是在 BLADE_ROOT 文件中做如下修改:

cc_config (
    extra_cppflags = [
        '-std=c++11',
    ],  
)

但是 Blade 提示:cc_config: unknown config item name: extra_cppflags

请问应该怎么办。谢谢!

from blade-build.

c9n avatar c9n commented on May 8, 2024

@LiamHuang0205

cc_config (
    cpp_flags = [
        '-std=c++11',
    ],  
)

试试

from blade-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.