Clone of official tools
export/sw4stm32/cproject_common.tmpl@47:21ae3e5a7128, 2021-02-04 (annotated)
- Committer:
- Anders Blomdell
- Date:
- Thu Feb 04 17:17:13 2021 +0100
- Revision:
- 47:21ae3e5a7128
- Parent:
- 43:2a7da56ebd24
Add a few normpath calls
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
screamer | 0:66f3b5499f7f | 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
screamer | 0:66f3b5499f7f | 2 | <?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage"> |
screamer | 0:66f3b5499f7f | 3 | <storageModule moduleId="org.eclipse.cdt.core.settings"> |
theotherjimmy |
40:7d3fa6b99b2b | 4 | {% for cfg_id in options %} |
theotherjimmy |
40:7d3fa6b99b2b | 5 | {% set opts = options[cfg_id] %} |
theotherjimmy |
40:7d3fa6b99b2b | 6 | <cconfiguration id="fr.ac6.managedbuild.config.gnu.cross.exe.{{cfg_id}}.{{opts['uid']['config']}}"> |
theotherjimmy |
40:7d3fa6b99b2b | 7 | <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="fr.ac6.managedbuild.config.gnu.cross.exe.{{cfg_id}}.{{opts['uid']['config']}}" moduleId="org.eclipse.cdt.core.settings" name="{{opts['name']}}"> |
screamer | 0:66f3b5499f7f | 8 | <externalSettings/> |
screamer | 0:66f3b5499f7f | 9 | <extensions> |
screamer | 0:66f3b5499f7f | 10 | <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/> |
screamer | 0:66f3b5499f7f | 11 | <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
screamer | 0:66f3b5499f7f | 12 | <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
screamer | 0:66f3b5499f7f | 13 | <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
screamer | 0:66f3b5499f7f | 14 | <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/> |
screamer | 0:66f3b5499f7f | 15 | <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/> |
screamer | 0:66f3b5499f7f | 16 | </extensions> |
screamer | 0:66f3b5499f7f | 17 | </storageModule> |
screamer | 0:66f3b5499f7f | 18 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
theotherjimmy |
40:7d3fa6b99b2b | 19 | <configuration artifactExtension="elf" artifactName="${ProjName}-{{cfg_id}}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.{{cfg_id}}" cleanCommand="rm -rf" description="" id="fr.ac6.managedbuild.config.gnu.cross.exe.{{cfg_id}}.{{opts['uid']['config']}}" name="{{opts['name']}}" parent="fr.ac6.managedbuild.config.gnu.cross.exe.{{cfg_id}}" postannouncebuildStep="Generating binary and Printing size information:" postbuildStep="arm-none-eabi-objcopy -O binary "${BuildArtifactFileBaseName}.elf" "${ProjName}.bin" && arm-none-eabi-size -B "${BuildArtifactFileName}" && make ldclean" preannouncebuildStep="Creating makefile.defs:" prebuildStep="echo "export PREPROC_CMD = ${openstm32_compiler_path}/${compiler_prefix}cpp -E -P" > ${ProjDirPath}/makefile.defs"> |
theotherjimmy |
40:7d3fa6b99b2b | 20 | <folderInfo id="fr.ac6.managedbuild.config.gnu.cross.exe.{{cfg_id}}.{{opts['uid']['config']}}." name="/" resourcePath=""> |
theotherjimmy |
40:7d3fa6b99b2b | 21 | <toolChain id="fr.ac6.managedbuild.toolchain.gnu.cross.exe.{{cfg_id}}.{{u.id}}" name="Ac6 STM32 MCU GCC" superClass="fr.ac6.managedbuild.toolchain.gnu.cross.exe.{{cfg_id}}"> |
theotherjimmy |
40:7d3fa6b99b2b | 22 | <option id="fr.ac6.managedbuild.option.gnu.cross.mcu.{{u.id}}" name="Mcu" superClass="fr.ac6.managedbuild.option.gnu.cross.mcu" value="{{mcu_name}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 23 | <option id="fr.ac6.managedbuild.option.gnu.cross.board.{{u.id}}" name="Board" superClass="fr.ac6.managedbuild.option.gnu.cross.board" value="{{board_name}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 24 | {% if opts['common']['arm.target.fpu.hardware'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 25 | <option id="fr.ac6.managedbuild.option.gnu.cross.fpu.{{u.id}}" name="Floating point hardware" superClass="fr.ac6.managedbuild.option.gnu.cross.fpu" value="fr.ac6.managedbuild.option.gnu.cross.fpu.{{opts['common']['arm.target.fpu.hardware']}}" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 26 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 27 | {% if opts['common']['arm.target.fpu.abi'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 28 | <option id="fr.ac6.managedbuild.option.gnu.cross.floatabi.{{u.id}}" name="Floating-point ABI" superClass="fr.ac6.managedbuild.option.gnu.cross.floatabi" value="fr.ac6.managedbuild.option.gnu.cross.floatabi.{{opts['common']['arm.target.fpu.abi']}}" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 29 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 30 | <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="fr.ac6.managedbuild.targetPlatform.gnu.cross.{{u.id}}" isAbstract="false" osList="all" superClass="fr.ac6.managedbuild.targetPlatform.gnu.cross"/> |
theotherjimmy |
43:2a7da56ebd24 | 31 | <builder buildPath="${workspace_loc:/{{name}}}/{{opts['name']}}" id="fr.ac6.managedbuild.builder.gnu.cross.{{u.id}}" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="fr.ac6.managedbuild.builder.gnu.cross"/> |
theotherjimmy |
40:7d3fa6b99b2b | 32 | <tool id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.{{opts['uid']['tool_c_compiler']}}" name="MCU GCC Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler"> |
theotherjimmy |
40:7d3fa6b99b2b | 33 | {% if cfg_id == 'debug' %} |
theotherjimmy |
40:7d3fa6b99b2b | 34 | <option id="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level.{{u.id}}" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.c.optimization.level.more" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 35 | <option id="gnu.c.compiler.option.debugging.level.{{u.id}}" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 36 | {% else %} |
theotherjimmy |
40:7d3fa6b99b2b | 37 | <option id="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level.{{u.id}}" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.c.optimization.level.most" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 38 | <option id="gnu.c.compiler.option.debugging.level.{{u.id}}" name="Debug Level" superClass="gnu.c.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.none" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 39 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 40 | <option id="gnu.c.compiler.option.include.paths.{{u.id}}" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath"> |
screamer | 0:66f3b5499f7f | 41 | {% for path in include_paths %} |
theotherjimmy |
40:7d3fa6b99b2b | 42 | <listOptionValue builtIn="false" value=""{{path}}""/> |
screamer | 0:66f3b5499f7f | 43 | {% endfor %} |
screamer | 0:66f3b5499f7f | 44 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 45 | <option id="gnu.c.compiler.option.preprocessor.def.symbols.{{u.id}}" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols"> |
theotherjimmy |
40:7d3fa6b99b2b | 46 | {% for s in opts['c']['defines'] %} |
screamer | 0:66f3b5499f7f | 47 | <listOptionValue builtIn="false" value="{{s}}"/> |
screamer | 0:66f3b5499f7f | 48 | {% endfor %} |
screamer | 0:66f3b5499f7f | 49 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 50 | {% if config_header %} |
theotherjimmy |
40:7d3fa6b99b2b | 51 | <option id="gnu.c.compiler.option.include.files.{{u.id}}" name="Include files (-include)" superClass="gnu.c.compiler.option.include.files" useByScannerDiscovery="false" valueType="includeFiles"> |
theotherjimmy |
40:7d3fa6b99b2b | 52 | <listOptionValue builtIn="false" value="${ProjDirPath}/{{config_header}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 53 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 54 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 55 | {% if 'compiler.std' in opts['c'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 56 | {% if opts['c']['compiler.std'] == '-ansi' %} |
theotherjimmy |
40:7d3fa6b99b2b | 57 | <option id="gnu.c.compiler.option.misc.ansi.{{u.id}}" name="Support ANSI programs (-ansi)" superClass="gnu.c.compiler.option.misc.ansi" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 58 | {% elif opts['c']['compiler.std'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 59 | <option id="gnu.c.compiler.option.dialect.std.{{u.id}}" superClass="gnu.c.compiler.option.dialect.std" value="gnu.c.compiler.dialect.{{opts['c']['compiler.std']}}" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 60 | <option id="gnu.c.compiler.option.dialect.std.{{u.id}}" name="Language standard" superClass="gnu.c.compiler.option.dialect.std" useByScannerDiscovery="true" value="gnu.c.compiler.dialect.c99" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 61 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 62 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 63 | {% if opts['common']['warnings.pedantic'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 64 | <option id="gnu.c.compiler.option.warnings.pedantic.{{u.id}}" name="Pedantic (-pedantic)" superClass="gnu.c.compiler.option.warnings.pedantic" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 65 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 66 | {% if opts['common']['warnings.pedanticerrors'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 67 | <option id="gnu.c.compiler.option.warnings.pedantic.error.{{u.id}}" name="Pedantic warnings as errors (-pedantic-errors)" superClass="gnu.c.compiler.option.warnings.pedantic.error" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 68 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 69 | {% if opts['c']['nostdinc'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 70 | <option id="gnu.c.compiler.option.preprocessor.nostdinc.{{u.id}}" name="Do not search system directories (-nostdinc)" superClass="gnu.c.compiler.option.preprocessor.nostdinc" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 71 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 72 | {% if opts['c']['preprocess'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 73 | <option id="gnu.c.compiler.option.preprocessor.preprocess.{{u.id}}" name="Preprocess only (-E)" superClass="gnu.c.compiler.option.preprocessor.preprocess" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 74 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 75 | {% if opts['common']['warnings.syntaxonly'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 76 | <option id="gnu.c.compiler.option.warnings.syntax.{{u.id}}" name="Check syntax only (-fsyntax-only)" superClass="gnu.c.compiler.option.warnings.syntax" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 77 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 78 | {% if opts['common']['warnings.nowarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 79 | <option id="gnu.c.compiler.option.warnings.nowarn.{{u.id}}" name="Inhibit all warnings (-w)" superClass="gnu.c.compiler.option.warnings.nowarn" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 80 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 81 | {% if opts['common']['warnings.extrawarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 82 | <option id="gnu.c.compiler.option.warnings.extrawarn.{{u.id}}" name="Extra warnings (-Wextra)" superClass="gnu.c.compiler.option.warnings.extrawarn" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 83 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 84 | {% if opts['common']['warnings.toerrors'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 85 | <option id="gnu.c.compiler.option.warnings.toerrors.{{u.id}}" name="Warnings as errors (-Werror)" superClass="gnu.c.compiler.option.warnings.toerrors" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 86 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 87 | {% if opts['common']['warnings.conversion'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 88 | <option id="gnu.c.compiler.option.warnings.wconversion.{{u.id}}" name="Implicit conversion warnings (-Wconversion)" superClass="gnu.c.compiler.option.warnings.wconversion" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 89 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 90 | {% if opts['common']['debugging.prof'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 91 | <option id="gnu.c.compiler.option.debugging.prof.{{u.id}}" name="Generate prof information (-p)" superClass="gnu.c.compiler.option.debugging.prof" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 92 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 93 | {% if opts['common']['debugging.gprof'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 94 | <option id="gnu.c.compiler.option.debugging.gprof.{{u.id}}" name="Generate gprof information (-pg)" superClass="gnu.c.compiler.option.debugging.gprof" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 95 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 96 | {% if opts['common']['debugging.codecov'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 97 | <option id="gnu.c.compiler.option.debugging.codecov.{{u.id}}" superClass="gnu.c.compiler.option.debugging.codecov" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 98 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 99 | {% if opts['c']['verbose'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 100 | <option id="gnu.c.compiler.option.misc.verbose.{{u.id}}" name="Verbose (-v)" superClass="gnu.c.compiler.option.misc.verbose" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 101 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 102 | {% if opts['common']['optimization.PIC'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 103 | <option id="gnu.c.compiler.option.misc.pic.{{u.id}}" name="Position Independent Code (-fPIC)" superClass="gnu.c.compiler.option.misc.pic" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 104 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 105 | {% if opts['common']['optimization.datasections'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 106 | <option id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.fdata.{{u.id}}" name="Place the data in their own section (-fdata-sections)" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.fdata" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 107 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 108 | {% if opts['common']['optimization.functionsections'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 109 | <option id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.ffunction.{{u.id}}" name="Place the function in their own section (-ffunction-sections)" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.ffunction" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 110 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 111 | {% if opts['c']['otheroptimizations'] != '' or opts['common']['optimization.other'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 112 | <option id="gnu.c.compiler.option.optimization.flags.{{u.id}}" superClass="gnu.c.compiler.option.optimization.flags" useByScannerDiscovery="false" value="{{opts['c']['otheroptimizations']}} {{opts['common']['optimization.other']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 113 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 114 | {% if opts['c']['other'] != '' or opts['c']['otherwarnings'] != '' or opts['common']['warnings.other'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 115 | <option id="fr.ac6.managedbuid.gnu.c.compiler.option.misc.other.{{u.id}}" name="Other flags" superClass="fr.ac6.managedbuid.gnu.c.compiler.option.misc.other" useByScannerDiscovery="false" value="{{opts['c']['other']}} {{opts['c']['otherwarnings']}} {{opts['common']['warnings.other']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 116 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 117 | {% if opts['c']['slowflashdata'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 118 | <option id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.pcrop.{{u.id}}" name="No data reads in code memory (-mslow-flash-data) " superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.pcrop" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 119 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 120 | <inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.{{opts['uid']['tool_c_compiler_input']}}" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c"/> |
theotherjimmy |
40:7d3fa6b99b2b | 121 | <inputType id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s.{{u.id}}" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.s"/> |
screamer | 0:66f3b5499f7f | 122 | </tool> |
theotherjimmy |
40:7d3fa6b99b2b | 123 | <tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.{{opts['uid']['tool_cpp_compiler']}}" name="MCU G++ Compiler" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler"> |
theotherjimmy |
40:7d3fa6b99b2b | 124 | {% if cfg_id == 'debug' %} |
theotherjimmy |
40:7d3fa6b99b2b | 125 | <option id="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level.{{u.id}}" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false"/> |
theotherjimmy |
40:7d3fa6b99b2b | 126 | <option id="gnu.cpp.compiler.option.debugging.level.{{u.id}}" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 127 | {% else %} |
theotherjimmy |
40:7d3fa6b99b2b | 128 | <option id="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level.{{u.id}}" name="Optimization Level" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="fr.ac6.managedbuild.gnu.cpp.optimization.level.most" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 129 | <option id="gnu.cpp.compiler.option.debugging.level.{{u.id}}" name="Debug Level" superClass="gnu.cpp.compiler.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 130 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 131 | <option id="gnu.cpp.compiler.option.include.paths.{{u.id}}" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath"> |
screamer | 0:66f3b5499f7f | 132 | {% for path in include_paths %} |
theotherjimmy |
40:7d3fa6b99b2b | 133 | <listOptionValue builtIn="false" value=""{{path}}""/> |
screamer | 0:66f3b5499f7f | 134 | {% endfor %} |
screamer | 0:66f3b5499f7f | 135 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 136 | <option id="gnu.cpp.compiler.option.preprocessor.def.{{u.id}}" name="Defined symbols (-D)" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols"> |
theotherjimmy |
40:7d3fa6b99b2b | 137 | {% for s in opts['cpp']['defines'] %} |
screamer | 0:66f3b5499f7f | 138 | <listOptionValue builtIn="false" value="{{s}}"/> |
screamer | 0:66f3b5499f7f | 139 | {% endfor %} |
screamer | 0:66f3b5499f7f | 140 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 141 | {% if config_header %} |
theotherjimmy |
40:7d3fa6b99b2b | 142 | <option id="gnu.cpp.compiler.option.include.files.{{u.id}}" name="Include files (-include)" superClass="gnu.cpp.compiler.option.include.files" useByScannerDiscovery="false" valueType="includeFiles"> |
theotherjimmy |
40:7d3fa6b99b2b | 143 | <listOptionValue builtIn="false" value="${ProjDirPath}/{{config_header}}"/> |
theotherjimmy |
40:7d3fa6b99b2b | 144 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 145 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 146 | {% if 'compiler.std' in opts['cpp'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 147 | {% if opts['cpp']['compiler.std'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 148 | <option id="gnu.cpp.compiler.option.dialect.std.{{u.id}}" name="Language standard" superClass="gnu.cpp.compiler.option.dialect.std" useByScannerDiscovery="true" value="gnu.cpp.compiler.dialect.{{opts['c']['compiler.std']}}" valueType="enumerated"/> |
theotherjimmy |
40:7d3fa6b99b2b | 149 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 150 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 151 | {% if opts['common']['warnings.pedantic'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 152 | <option id="gnu.cpp.compiler.option.warnings.pedantic.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.pedantic" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 153 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 154 | {% if opts['common']['warnings.pedanticerrors'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 155 | <option id="gnu.cpp.compiler.option.warnings.pedantic.error.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.pedantic.error" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 156 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 157 | {% if opts['c']['nostdinc'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 158 | <option id="gnu.cpp.compiler.option.preprocessor.nostdinc.{{u.id}}" superClass="gnu.cpp.compiler.option.preprocessor.nostdinc" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 159 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 160 | {% if opts['c']['preprocess'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 161 | <option id="gnu.cpp.compiler.option.preprocessor.preprocess.{{u.id}}" superClass="gnu.cpp.compiler.option.preprocessor.preprocess" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 162 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 163 | {% if opts['common']['warnings.syntaxonly'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 164 | <option id="gnu.cpp.compiler.option.warnings.syntax.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.syntax" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 165 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 166 | {% if opts['common']['warnings.nowarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 167 | <option id="gnu.cpp.compiler.option.warnings.nowarn.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.nowarn" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 168 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 169 | <option id="gnu.cpp.compiler.option.warnings.allwarn.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.allwarn" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 170 | {% if opts['common']['warnings.extrawarn'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 171 | <option id="gnu.cpp.compiler.option.warnings.extrawarn.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.extrawarn" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 172 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 173 | {% if opts['common']['warnings.toerrors'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 174 | <option id="gnu.cpp.compiler.option.warnings.toerrors.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.toerrors" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 175 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 176 | {% if opts['common']['warnings.conversion'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 177 | <option id="gnu.cpp.compiler.option.warnings.wconversion.{{u.id}}" superClass="gnu.cpp.compiler.option.warnings.wconversion" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 178 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 179 | {% if opts['common']['debugging.prof'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 180 | <option id="gnu.cpp.compiler.option.debugging.prof.{{u.id}}" superClass="gnu.cpp.compiler.option.debugging.prof" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 181 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 182 | {% if opts['common']['debugging.gprof'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 183 | <option id="gnu.cpp.compiler.option.debugging.gprof.{{u.id}}" superClass="gnu.cpp.compiler.option.debugging.gprof" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 184 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 185 | {% if opts['common']['debugging.codecov'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 186 | <option id="gnu.cpp.compiler.option.debugging.codecov.{{u.id}}" superClass="gnu.cpp.compiler.option.debugging.codecov" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 187 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 188 | {% if opts['c']['verbose'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 189 | <option id="gnu.cpp.compiler.option.other.verbose.{{u.id}}" superClass="gnu.cpp.compiler.option.other.verbose" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 190 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 191 | {% if opts['common']['optimization.PIC'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 192 | <option id="gnu.cpp.compiler.option.other.pic.{{u.id}}" superClass="gnu.cpp.compiler.option.other.pic" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 193 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 194 | {% if opts['common']['optimization.datasections'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 195 | <option id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.fdata.{{u.id}}" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.fdata" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 196 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 197 | {% if opts['common']['optimization.functionsections'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 198 | <option id="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.ffunction.{{u.id}}" name="Place the function in their own section (-ffunction-sections)" superClass="fr.ac6.managedbuild.tool.gnu.cross.c.compiler.ffunction" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 199 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 200 | {% if opts['cpp']['otheroptimizations'] != '' or opts['common']['optimization.other'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 201 | <option id="gnu.cpp.compiler.option.optimization.flags.{{u.id}}" superClass="gnu.cpp.compiler.option.optimization.flags" useByScannerDiscovery="false" value="{{opts['cpp']['otheroptimizations']}} {{opts['common']['optimization.other']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 202 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 203 | {% if opts['cpp']['other'] != '' or opts['cpp']['otherwarnings'] != '' or opts['common']['warnings.other'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 204 | <option id="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other.{{u.id}}" name="Other flags" superClass="fr.ac6.managedbuild.gnu.cpp.compiler.option.misc.other" useByScannerDiscovery="false" value="{{opts['cpp']['other']}} {{opts['cpp']['otherwarnings']}} {{opts['common']['warnings.other']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 205 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 206 | {% if opts['cpp']['slowflashdata'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 207 | <option id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.pcrop.{{u.id}}" name="No data reads in code memory (-mslow-flash-data) " superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.pcrop" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 208 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 209 | <inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp.{{opts['uid']['tool_cpp_compiler_input']}}" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp"/> |
theotherjimmy |
40:7d3fa6b99b2b | 210 | <inputType id="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s.{{u.id}}" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.s"/> |
screamer | 0:66f3b5499f7f | 211 | </tool> |
theotherjimmy |
40:7d3fa6b99b2b | 212 | <tool id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.{{u.id}}" name="MCU G++ Linker" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker"> |
theotherjimmy |
40:7d3fa6b99b2b | 213 | <option id="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script.{{u.id}}" name="Linker Script (-T)" superClass="fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.script" value="${ProjDirPath}/{{opts['name']}}/{{opts['ld']['script']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 214 | {% if opts['ld']['flags'] != '' or opts['ld']['other'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 215 | <option id="gnu.cpp.link.option.flags.{{u.id}}" name="Linker flags" superClass="gnu.cpp.link.option.flags" value="{{ opts['ld']['flags']|join(' ') }} {{opts['ld']['other']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 216 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 217 | <option id="gnu.cpp.link.option.userobjs.{{u.id}}" name="Other objects" superClass="gnu.cpp.link.option.userobjs" valueType="userObjs"> |
screamer | 0:66f3b5499f7f | 218 | {% for path in object_files %} |
screamer | 0:66f3b5499f7f | 219 | <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/{{path}}}""/> |
screamer | 0:66f3b5499f7f | 220 | {% endfor %} |
screamer | 0:66f3b5499f7f | 221 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 222 | <option id="gnu.cpp.link.option.libs.{{u.id}}" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs"> |
screamer | 0:66f3b5499f7f | 223 | {% for lib in libraries %} |
screamer | 0:66f3b5499f7f | 224 | <listOptionValue builtIn="false" value="{{lib}}"/> |
screamer | 0:66f3b5499f7f | 225 | {% endfor %} |
screamer | 0:66f3b5499f7f | 226 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 227 | {% if opts['ld']['nostart'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 228 | <option id="gnu.cpp.link.option.nostart.{{u.id}}" name="Do not use standard start files (-nostartfiles)" superClass="gnu.cpp.link.option.nostart" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 229 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 230 | {% if opts['ld']['nodeflibs'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 231 | <option id="gnu.cpp.link.option.nodeflibs.{{u.id}}" superClass="gnu.cpp.link.option.nodeflibs" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 232 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 233 | {% if opts['ld']['nostdlibs'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 234 | <option id="gnu.cpp.link.option.nostdlibs.{{u.id}}" superClass="gnu.cpp.link.option.nostdlibs" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 235 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 236 | {% if opts['ld']['strip'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 237 | <option id="gnu.cpp.link.option.strip.{{u.id}}" superClass="gnu.cpp.link.option.strip" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 238 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 239 | {% if opts['ld']['shared'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 240 | <option id="gnu.cpp.link.option.shared.{{u.id}}" superClass="gnu.cpp.link.option.shared" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 241 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 242 | {% if opts['ld']['soname'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 243 | <option id="gnu.cpp.link.option.soname.{{u.id}}" superClass="gnu.cpp.link.option.soname" useByScannerDiscovery="false" value="{{opts['ld']['soname']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 244 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 245 | {% if opts['ld']['implname'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 246 | <option id="gnu.cpp.link.option.implname.{{u.id}}" superClass="gnu.cpp.link.option.implname" useByScannerDiscovery="false" value="{{opts['ld']['implname']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 247 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 248 | {% if opts['ld']['defname'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 249 | <option id="gnu.cpp.link.option.defname.{{u.id}}" superClass="gnu.cpp.link.option.defname" useByScannerDiscovery="false" value="{{opts['ld']['defname']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 250 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 251 | {% if opts['common']['debugging.prof'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 252 | <option id="gnu.cpp.link.option.debugging.prof.{{u.id}}" superClass="gnu.cpp.link.option.debugging.prof" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 253 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 254 | {% if opts['common']['debugging.gprof'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 255 | <option id="gnu.cpp.link.option.debugging.gprof.{{u.id}}" superClass="gnu.cpp.link.option.debugging.gprof" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 256 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 257 | {% if opts['common']['debugging.codecov'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 258 | <option id="gnu.cpp.link.option.debugging.codecov.{{u.id}}" superClass="gnu.cpp.link.option.debugging.codecov" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 259 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 260 | <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.{{u.id}}" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input"> |
theotherjimmy |
40:7d3fa6b99b2b | 261 | <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/> |
theotherjimmy |
40:7d3fa6b99b2b | 262 | <additionalInput kind="additionalinput" paths="$(LIBS)"/> |
theotherjimmy |
40:7d3fa6b99b2b | 263 | </inputType> |
theotherjimmy |
40:7d3fa6b99b2b | 264 | <option id="gnu.cpp.link.option.paths.{{u.id}}" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths"> |
screamer | 0:66f3b5499f7f | 265 | {% for path in library_paths %} |
screamer | 0:66f3b5499f7f | 266 | <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/{{path}}}""/> |
screamer | 0:66f3b5499f7f | 267 | {% endfor %} |
screamer | 0:66f3b5499f7f | 268 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 269 | </tool> |
theotherjimmy |
40:7d3fa6b99b2b | 270 | <tool id="fr.ac6.managedbuild.tool.gnu.archiver.{{u.id}}" name="MCU GCC Archiver" superClass="fr.ac6.managedbuild.tool.gnu.archiver"/> |
theotherjimmy |
40:7d3fa6b99b2b | 271 | <tool id="fr.ac6.managedbuild.tool.gnu.cross.assembler.{{u.id}}" name="MCU GCC Assembler" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler"> |
theotherjimmy |
40:7d3fa6b99b2b | 272 | <option id="gnu.both.asm.option.include.paths.{{u.id}}" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath"> |
theotherjimmy |
40:7d3fa6b99b2b | 273 | {% for path in include_paths %} |
theotherjimmy |
40:7d3fa6b99b2b | 274 | <listOptionValue builtIn="false" value=""{{path}}""/> |
theotherjimmy |
40:7d3fa6b99b2b | 275 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 276 | </option> |
theotherjimmy |
40:7d3fa6b99b2b | 277 | {% if opts['as']['other'] != '' or opts['as']['otherwarnings'] != '' %} |
theotherjimmy |
40:7d3fa6b99b2b | 278 | <option id="gnu.both.asm.option.flags.{{u.id}}" superClass="gnu.both.asm.option.flags" useByScannerDiscovery="false" value="{{opts['as']['other']}} {{opts['as']['otherwarnings']}}" valueType="string"/> |
theotherjimmy |
40:7d3fa6b99b2b | 279 | {% endif %} |
theotherjimmy |
40:7d3fa6b99b2b | 280 | {% for item in opts['as']['otherwarnings'] %} |
theotherjimmy |
40:7d3fa6b99b2b | 281 | {% if item == '-W' %} |
theotherjimmy |
40:7d3fa6b99b2b | 282 | <option id="gnu.both.asm.option.warnings.nowarn.{{u.id}}" superClass="gnu.both.asm.option.warnings.nowarn" useByScannerDiscovery="false" value="true" valueType="boolean"/> |
theotherjimmy |
40:7d3fa6b99b2b | 283 | {% endif %} |
screamer | 0:66f3b5499f7f | 284 | {% endfor %} |
theotherjimmy |
40:7d3fa6b99b2b | 285 | <inputType id="cdt.managedbuild.tool.gnu.assembler.input.{{u.id}}" superClass="cdt.managedbuild.tool.gnu.assembler.input"/> |
theotherjimmy |
40:7d3fa6b99b2b | 286 | <inputType id="fr.ac6.managedbuild.tool.gnu.cross.assembler.input.{{u.id}}" superClass="fr.ac6.managedbuild.tool.gnu.cross.assembler.input"/> |
screamer | 0:66f3b5499f7f | 287 | </tool> |
screamer | 0:66f3b5499f7f | 288 | </toolChain> |
screamer | 0:66f3b5499f7f | 289 | </folderInfo> |
theotherjimmy |
40:7d3fa6b99b2b | 290 | <sourceEntries> |
theotherjimmy |
40:7d3fa6b99b2b | 291 | <entry excluding="{{exclude_paths}}" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/> |
theotherjimmy |
40:7d3fa6b99b2b | 292 | </sourceEntries> |
screamer | 0:66f3b5499f7f | 293 | </configuration> |
screamer | 0:66f3b5499f7f | 294 | </storageModule> |
screamer | 0:66f3b5499f7f | 295 | <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/> |
screamer | 0:66f3b5499f7f | 296 | </cconfiguration> |
theotherjimmy |
40:7d3fa6b99b2b | 297 | {% endfor %} |
screamer | 0:66f3b5499f7f | 298 | </storageModule> |
screamer | 0:66f3b5499f7f | 299 | <storageModule moduleId="cdtBuildSystem" version="4.0.0"> |
theotherjimmy |
40:7d3fa6b99b2b | 300 | <project id="{{name}}.fr.ac6.managedbuild.target.gnu.cross.exe.{{u.id}}" name="Executable" projectType="fr.ac6.managedbuild.target.gnu.cross.exe"/> |
screamer | 0:66f3b5499f7f | 301 | </storageModule> |
screamer | 0:66f3b5499f7f | 302 | <storageModule moduleId="scannerConfiguration"> |
screamer | 0:66f3b5499f7f | 303 | <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/> |
theotherjimmy |
40:7d3fa6b99b2b | 304 | {% for cfg_key in options %} |
theotherjimmy |
40:7d3fa6b99b2b | 305 | {% set opts = options[cfg_key] %} |
theotherjimmy |
40:7d3fa6b99b2b | 306 | <scannerConfigBuildInfo instanceId="fr.ac6.managedbuild.config.gnu.cross.exe.{{opts['id']}}.{{opts['uid']['config']}};fr.ac6.managedbuild.config.gnu.cross.exe.{{opts['id']}}.{{opts['uid']['config']}}.;fr.ac6.managedbuild.tool.gnu.cross.c.compiler.{{opts['uid']['tool_c_compiler']}};fr.ac6.managedbuild.tool.gnu.cross.c.compiler.input.c.{{opts['uid']['tool_c_compiler_input']}}"> |
screamer | 0:66f3b5499f7f | 307 | <autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/> |
screamer | 0:66f3b5499f7f | 308 | </scannerConfigBuildInfo> |
theotherjimmy |
40:7d3fa6b99b2b | 309 | <scannerConfigBuildInfo instanceId="fr.ac6.managedbuild.config.gnu.cross.exe.{{opts['id']}}.{{opts['uid']['config']}};fr.ac6.managedbuild.config.gnu.cross.exe.{{opts['id']}}.{{opts['uid']['config']}}.;fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.{{opts['uid']['tool_cpp_compiler']}};fr.ac6.managedbuild.tool.gnu.cross.cpp.compiler.input.cpp.{{opts['uid']['tool_cpp_compiler_input']}}"> |
screamer | 0:66f3b5499f7f | 310 | <autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/> |
screamer | 0:66f3b5499f7f | 311 | </scannerConfigBuildInfo> |
theotherjimmy |
40:7d3fa6b99b2b | 312 | {% endfor %} |
screamer | 0:66f3b5499f7f | 313 | </storageModule> |
screamer | 0:66f3b5499f7f | 314 | <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/> |
screamer | 0:66f3b5499f7f | 315 | </cproject> |