bake-toolkit 2.16.1 → 2.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/documentation/_build/html/_images/debug_app.png +0 -0
  3. data/documentation/_build/html/_images/debug_debug.png +0 -0
  4. data/documentation/_build/html/_images/debug_flag.png +0 -0
  5. data/documentation/_build/html/_images/debug_map.png +0 -0
  6. data/documentation/_build/html/_images/debug_path.png +0 -0
  7. data/documentation/_build/html/_sources/changelog.txt +13 -1
  8. data/documentation/_build/html/_sources/ide/eclipse/eclipse.txt +1 -0
  9. data/documentation/_build/html/_sources/ide/eclipse/how_to_debug_in_eclipse.txt +38 -0
  10. data/documentation/_build/html/_sources/index.txt +1 -1
  11. data/documentation/_build/html/_static/debugEclipse/app.png +0 -0
  12. data/documentation/_build/html/_static/debugEclipse/debug.png +0 -0
  13. data/documentation/_build/html/_static/debugEclipse/flag.png +0 -0
  14. data/documentation/_build/html/_static/debugEclipse/map.png +0 -0
  15. data/documentation/_build/html/_static/debugEclipse/path.png +0 -0
  16. data/documentation/_build/html/_static/debug_app.png +0 -0
  17. data/documentation/_build/html/_static/debug_debug.png +0 -0
  18. data/documentation/_build/html/_static/debug_flag.png +0 -0
  19. data/documentation/_build/html/_static/debug_map.png +0 -0
  20. data/documentation/_build/html/_static/debug_path.png +0 -0
  21. data/documentation/_build/html/changelog.html +20 -4
  22. data/documentation/_build/html/commandline/commandline.html +3 -3
  23. data/documentation/_build/html/concepts/build_hierarchy.html +3 -3
  24. data/documentation/_build/html/concepts/concepts.html +3 -3
  25. data/documentation/_build/html/concepts/the_main_project.html +3 -3
  26. data/documentation/_build/html/concepts/the_project_meta_file.html +3 -3
  27. data/documentation/_build/html/genindex.html +3 -3
  28. data/documentation/_build/html/ide/eclipse/eclipse.html +4 -3
  29. data/documentation/_build/html/ide/eclipse/how_to_convert_existing_cdt_workspace.html +3 -3
  30. data/documentation/_build/html/ide/eclipse/how_to_create_a_new_project_in_eclipse.html +5 -5
  31. data/documentation/_build/html/ide/eclipse/how_to_create_a_workspace_in_eclipse.html +3 -3
  32. data/documentation/_build/html/ide/eclipse/how_to_debug_in_eclipse.html +199 -0
  33. data/documentation/_build/html/ide/eclipse/how_to_install_eclipse_plugin.html +3 -3
  34. data/documentation/_build/html/ide/eclipse/how_to_use_bake_in_eclipse.html +3 -3
  35. data/documentation/_build/html/ide/ide_integrations.html +4 -3
  36. data/documentation/_build/html/ide/vs/how_to_create_vs_projects.html +3 -3
  37. data/documentation/_build/html/ide/vs/how_to_debug_in_vs.html +3 -3
  38. data/documentation/_build/html/ide/vs/how_to_used_bake_in_vs.html +3 -3
  39. data/documentation/_build/html/ide/vs/vs.html +5 -5
  40. data/documentation/_build/html/ide/vs/vs_install.html +3 -3
  41. data/documentation/_build/html/index.html +6 -6
  42. data/documentation/_build/html/install/install_bake.html +3 -3
  43. data/documentation/_build/html/internal.html +3 -3
  44. data/documentation/_build/html/known_issues.html +3 -3
  45. data/documentation/_build/html/license.html +3 -3
  46. data/documentation/_build/html/performance/performance.html +3 -3
  47. data/documentation/_build/html/quickstart/quickstart.html +3 -3
  48. data/documentation/_build/html/search.html +3 -3
  49. data/documentation/_build/html/searchindex.js +1 -1
  50. data/documentation/_build/html/syntax/adapt_configs.html +3 -3
  51. data/documentation/_build/html/syntax/derive_configs.html +3 -3
  52. data/documentation/_build/html/syntax/project_meta_syntax.html +3 -3
  53. data/documentation/_build/html/syntax/syntax.html +3 -3
  54. data/documentation/_build/html/syntax/variable_substitutions.html +3 -3
  55. data/documentation/_build/html/tips_and_tricks/bundle.html +3 -3
  56. data/documentation/_build/html/tips_and_tricks/how_to_use_bake_with_cygwin.html +3 -3
  57. data/documentation/_build/html/tips_and_tricks/static_code_analysis.html +3 -3
  58. data/documentation/_build/html/tips_and_tricks/the_bakery.html +3 -3
  59. data/documentation/_build/html/tips_and_tricks/the_clang.html +3 -3
  60. data/documentation/_build/html/tips_and_tricks/tips_and_tricks.html +3 -3
  61. data/documentation/_build/html/why_bake/why_bake.html +5 -5
  62. data/lib/bake/config/loader.rb +60 -32
  63. data/lib/bake/libElement.rb +1 -1
  64. data/lib/bake/options/options.rb +1 -4
  65. data/lib/blocks/block.rb +5 -2
  66. data/lib/blocks/blockBase.rb +15 -1
  67. data/lib/blocks/compile.rb +3 -17
  68. data/lib/blocks/executable.rb +16 -15
  69. data/lib/common/exit_helper.rb +11 -1
  70. data/lib/common/version.rb +1 -1
  71. metadata +47 -3
  72. data/lib/bake/options/showConfigNames.rb +0 -41
@@ -1,41 +0,0 @@
1
- require 'bake/model/loader'
2
- require 'bake/options/options'
3
-
4
- module Bake
5
-
6
- class ConfigNames
7
-
8
- def self.print(configs, default, filename)
9
- foundValidConfig = false
10
- configs.each do |c|
11
- next if c.defaultToolchain.nil?
12
- foundValidConfig = true
13
- Kernel.print "* #{c.name}"
14
- Kernel.print " (default)" if c.name == default
15
- Kernel.print ": #{c.description.text}" if c.description
16
- Kernel.print "\n"
17
- end
18
- Bake.formatter.printWarning("No configuration with a DefaultToolchain found", filename) unless foundValidConfig
19
-
20
- ExitHelper.exit(0)
21
- end
22
-
23
- def self.show
24
- loader = Loader.new
25
- filename = Bake.options.main_dir+"/Project.meta"
26
- f = loader.load(filename)
27
-
28
- if f.root_elements.length != 1 or not Metamodel::Project === f.root_elements[0]
29
- Bake.formatter.printError("Config file must have exactly one 'Project' element as root element", filename)
30
- ExitHelper.exit(1)
31
- end
32
-
33
- default = f.root_elements[0].default
34
- configs = f.root_elements[0].getConfig
35
-
36
- ConfigNames.print(configs, default, filename)
37
- end
38
-
39
- end
40
-
41
- end