-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.rb
32 lines (25 loc) · 1.3 KB
/
init.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Define the github handler
require 'autoproj/git_server_configuration'
# Comment this line if you want Autoproj to import the overall shell
# environment. The default is to reset all build-related environment variables,
# forcing the build configuration to set them explicitly, to improve
# repeatability
Autoproj.isolate_environment
# Display CMake/GCC build messages
Autobuild::CMake.show_make_messages = true
# Install each package in a separate directory of install/
#
# This makes the dependencies stricter, so builds that were fine without this
# option might fail with it. However, it is also cleaner (allows to remove
# obsolete package byproducts easily) and allows to turn the
# delete_obsolete_files_in_prefix CMake option, in which autoproj's cmake
# handler will remove installed files that are not part of the package anymore.
Autoproj.config.separate_prefixes = true
Autobuild::CMake.delete_obsolete_files_in_prefix = Autoproj.config.separate_prefixes?
# Force-unset the C++11 configuration option, it is assumed to be so in tests
Autoproj.config.set 'cxx11', false, true
# Force-unset OCL
Autoproj.config.set 'USE_OCL', false, true
Autoproj::PackageManagers::BundlerManager
.configure_build_for('gem_build_flags', '--with-toplevel-init=success')
Autoproj.config.set "syskit_use_bundles", false, true