Coder Social home page Coder Social logo

buildconf-all's Introduction

             Configuration of your autoproj build

- CMake
Since everything is CMake based, environment variables such as
CMAKE_PREFIX_PATH are always picked up. You can set them
in init.rb too, which will copy them to your env.sh script.

Because of cmake's aggressive caching behaviour, manual options
given to cmake will be overriden by autoproj later on. To make
such options permanent, add

  package('package_name').define "OPTION", "VALUE"

in overrides.rb. For instance, to set CMAKE_BUILD_TYPE for the rtt
package, do

  package('rtt').define "CMAKE_BUILD_TYPE", "Debug"

- Config files
There are various file that influence your build:

*.yml files: are simple 'key: value' pairs in the YAML format to set
             config options. This list is limited to what autoproj
	     knows.

*.rb  files: are ruby scripts that can influence any part of the 
             autoproj program, without modifying autoproj itself.
             This is only for advanced users that understand ruby
	     and the internals of autoproj.

- Configuration options

config.yml:  Save build configuration. You should not change it
             manually. If you need to change an option, run an
             autoproj operation with --reconfigure, as for
             instance
                  autoproj build --reconfigure

overrides.yml:
	     Override branch information for specific packages.
	     Most people leave this to the default, unless they
	     want to use a feature from an experimental branch.

- Influencing Autoproj ruby code:

init.rb:     Write in this file customization code that will get executed
	     before autoproj is loaded.

overrides.rb: 
	     Write in this file customization code that will get
	     executed after autoproj loaded.

buildconf-all's People

Contributors

doudou avatar goldhoorn avatar planthaber avatar psoetens avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

planthaber

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.