Giter Site home page Giter Site logo

Comments (9)

skliper avatar skliper commented on July 27, 2024

Imported from trac issue 37. Created by jphickey on 2015-04-17T14:18:14, last modified: 2015-11-20T16:22:16

from osal.

skliper avatar skliper commented on July 27, 2024

Trac comment by jphickey on 2015-04-17 14:52:46:

Commit [changeset:f46224c] has been pushed for this

The extra flags are specified through a variable called "OSAL_USER_C_FLAGS". The value of this variable is set in one of two ways:

  • Via an environment variable, e.g. {{{export OSAL_USER_C_FLAGS=-Werror}}}
  • Via a "-D" option to the cmake commend, i.e. {{{-DOSAL_USER_C_FLAGS=-Werror}}}

In all cases, a CMake cache variable is utilized so that value will be retained from build to build, even if the original environment variable changes. This is important for building from an IDE that may have a different environment than the command shell.

Also, the {{{-Wall}}} build option is added to all builds.

from osal.

skliper avatar skliper commented on July 27, 2024

Trac comment by glimes on 2015-05-18 20:04:56:

Accept.

from osal.

skliper avatar skliper commented on July 27, 2024

Trac comment by sstrege on 2015-05-19 10:38:17:

What is the mechanism by which developers can easily add extra CFLAGS to a build using the old build system?

from osal.

skliper avatar skliper commented on July 27, 2024

Trac comment by sstrege on 2015-06-29 16:53:27:

The answer to my question above is provided in the comments (through an environment variable).

from osal.

skliper avatar skliper commented on July 27, 2024

Trac comment by sstrege on 2015-06-29 16:53:39:

Accept

from osal.

skliper avatar skliper commented on July 27, 2024

Trac comment by glimes on 2015-06-30 11:02:42:

Recommend accept.

from osal.

skliper avatar skliper commented on July 27, 2024

Trac comment by acudmore on 2015-06-30 12:40:43:

Recommend accept.

from osal.

skliper avatar skliper commented on July 27, 2024

Trac comment by glimes on 2015-06-30 14:37:42:

CCB approved.

from osal.

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.