Clone of official tools
export/nb/configurations.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 |
---|---|---|---|
theotherjimmy |
43:2a7da56ebd24 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
theotherjimmy |
43:2a7da56ebd24 | 2 | <configurationDescriptor version="100"> |
theotherjimmy |
43:2a7da56ebd24 | 3 | <logicalFolder name="root" displayName="root" projectFiles="true" kind="ROOT"> |
theotherjimmy |
43:2a7da56ebd24 | 4 | <logicalFolder name="HeaderFiles" |
theotherjimmy |
43:2a7da56ebd24 | 5 | displayName="Header Files" |
theotherjimmy |
43:2a7da56ebd24 | 6 | projectFiles="true"> |
theotherjimmy |
43:2a7da56ebd24 | 7 | {% for header in headers_folder -%} |
theotherjimmy |
43:2a7da56ebd24 | 8 | {{ header }} |
theotherjimmy |
43:2a7da56ebd24 | 9 | {% endfor %} |
theotherjimmy |
43:2a7da56ebd24 | 10 | </logicalFolder> |
theotherjimmy |
43:2a7da56ebd24 | 11 | <logicalFolder name="LinkerScript" |
theotherjimmy |
43:2a7da56ebd24 | 12 | displayName="Linker Files" |
theotherjimmy |
43:2a7da56ebd24 | 13 | projectFiles="true"> |
theotherjimmy |
43:2a7da56ebd24 | 14 | <itemPath>{{ linker_script }}</itemPath> |
theotherjimmy |
43:2a7da56ebd24 | 15 | </logicalFolder> |
theotherjimmy |
43:2a7da56ebd24 | 16 | <logicalFolder name="ResourceFiles" |
theotherjimmy |
43:2a7da56ebd24 | 17 | displayName="Resource Files" |
theotherjimmy |
43:2a7da56ebd24 | 18 | projectFiles="true"> |
theotherjimmy |
43:2a7da56ebd24 | 19 | </logicalFolder> |
theotherjimmy |
43:2a7da56ebd24 | 20 | <logicalFolder name="SourceFiles" |
theotherjimmy |
43:2a7da56ebd24 | 21 | displayName="Source Files" |
theotherjimmy |
43:2a7da56ebd24 | 22 | projectFiles="true"> |
theotherjimmy |
43:2a7da56ebd24 | 23 | {% for source in sources_folder -%} |
theotherjimmy |
43:2a7da56ebd24 | 24 | {{ source }} |
theotherjimmy |
43:2a7da56ebd24 | 25 | {% endfor %} |
theotherjimmy |
43:2a7da56ebd24 | 26 | </logicalFolder> |
theotherjimmy |
43:2a7da56ebd24 | 27 | <logicalFolder name="OtherFiles" |
theotherjimmy |
43:2a7da56ebd24 | 28 | displayName="Other Files" |
theotherjimmy |
43:2a7da56ebd24 | 29 | projectFiles="true"> |
theotherjimmy |
43:2a7da56ebd24 | 30 | </logicalFolder> |
theotherjimmy |
43:2a7da56ebd24 | 31 | <logicalFolder name="TestFiles" |
theotherjimmy |
43:2a7da56ebd24 | 32 | displayName="Test Files" |
theotherjimmy |
43:2a7da56ebd24 | 33 | projectFiles="false" |
theotherjimmy |
43:2a7da56ebd24 | 34 | kind="TEST_LOGICAL_FOLDER"> |
theotherjimmy |
43:2a7da56ebd24 | 35 | </logicalFolder> |
theotherjimmy |
43:2a7da56ebd24 | 36 | <logicalFolder name="ExternalFiles" |
theotherjimmy |
43:2a7da56ebd24 | 37 | displayName="Important Files" |
theotherjimmy |
43:2a7da56ebd24 | 38 | projectFiles="false" |
theotherjimmy |
43:2a7da56ebd24 | 39 | kind="IMPORTANT_FILES_FOLDER"> |
theotherjimmy |
43:2a7da56ebd24 | 40 | <itemPath>Makefile</itemPath> |
theotherjimmy |
43:2a7da56ebd24 | 41 | </logicalFolder> |
theotherjimmy |
43:2a7da56ebd24 | 42 | </logicalFolder> |
theotherjimmy |
43:2a7da56ebd24 | 43 | <sourceFolderFilter>^(nbproject)$</sourceFolderFilter> |
theotherjimmy |
43:2a7da56ebd24 | 44 | <sourceRootList> |
theotherjimmy |
43:2a7da56ebd24 | 45 | <Elem>.</Elem> |
theotherjimmy |
43:2a7da56ebd24 | 46 | </sourceRootList> |
theotherjimmy |
43:2a7da56ebd24 | 47 | <projectmakefile>Makefile</projectmakefile> |
theotherjimmy |
43:2a7da56ebd24 | 48 | <confs> |
theotherjimmy |
43:2a7da56ebd24 | 49 | {% for id in options -%} |
theotherjimmy |
43:2a7da56ebd24 | 50 | {% set opts = options[id] %} |
theotherjimmy |
43:2a7da56ebd24 | 51 | <conf name="{{opts['id']}}" type="1"> |
theotherjimmy |
43:2a7da56ebd24 | 52 | <toolsSet> |
theotherjimmy |
43:2a7da56ebd24 | 53 | <compilerSet>default</compilerSet> |
theotherjimmy |
43:2a7da56ebd24 | 54 | <dependencyChecking>true</dependencyChecking> |
theotherjimmy |
43:2a7da56ebd24 | 55 | <rebuildPropChanged>false</rebuildPropChanged> |
theotherjimmy |
43:2a7da56ebd24 | 56 | </toolsSet> |
theotherjimmy |
43:2a7da56ebd24 | 57 | <compileType> |
theotherjimmy |
43:2a7da56ebd24 | 58 | <cTool> |
theotherjimmy |
43:2a7da56ebd24 | 59 | <standard>{{ c_std }}</standard> |
theotherjimmy |
43:2a7da56ebd24 | 60 | <incDir> |
theotherjimmy |
43:2a7da56ebd24 | 61 | {% for inc_dir in include_paths -%}{% if inc_dir -%} |
theotherjimmy |
43:2a7da56ebd24 | 62 | <pElem>{{ inc_dir }}</pElem> |
theotherjimmy |
43:2a7da56ebd24 | 63 | {% endif -%} |
theotherjimmy |
43:2a7da56ebd24 | 64 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 65 | </incDir> |
theotherjimmy |
43:2a7da56ebd24 | 66 | <incFile> |
theotherjimmy |
43:2a7da56ebd24 | 67 | {% for inc_file in forced_includes -%} |
theotherjimmy |
43:2a7da56ebd24 | 68 | <pElem>{{ inc_file }}</pElem> |
theotherjimmy |
43:2a7da56ebd24 | 69 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 70 | </incFile> |
theotherjimmy |
43:2a7da56ebd24 | 71 | <commandLine>{%- for flag in c_flags -%}{{ flag+" "}}{%- endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 72 | {%- for item in opts['common'] -%}{{ item+" "}}{%- endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 73 | </commandLine> |
theotherjimmy |
43:2a7da56ebd24 | 74 | <preprocessorList> |
theotherjimmy |
43:2a7da56ebd24 | 75 | {% for item in opts['defines'] -%} |
theotherjimmy |
43:2a7da56ebd24 | 76 | <Elem>{{ item }}</Elem> |
theotherjimmy |
43:2a7da56ebd24 | 77 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 78 | {% for symbol in c_symbols -%} |
theotherjimmy |
43:2a7da56ebd24 | 79 | <Elem>{{ symbol }}</Elem> |
theotherjimmy |
43:2a7da56ebd24 | 80 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 81 | </preprocessorList> |
theotherjimmy |
43:2a7da56ebd24 | 82 | <commandlineTool>{{cc_cmd}}</commandlineTool> |
theotherjimmy |
43:2a7da56ebd24 | 83 | </cTool> |
theotherjimmy |
43:2a7da56ebd24 | 84 | <ccTool> |
theotherjimmy |
43:2a7da56ebd24 | 85 | <standard>{{ cpp_std }}</standard> |
theotherjimmy |
43:2a7da56ebd24 | 86 | <incDir> |
theotherjimmy |
43:2a7da56ebd24 | 87 | {% for inc_dir in include_paths -%}{% if inc_dir -%} |
theotherjimmy |
43:2a7da56ebd24 | 88 | <pElem>{{ inc_dir }}</pElem> |
theotherjimmy |
43:2a7da56ebd24 | 89 | {% endif -%} |
theotherjimmy |
43:2a7da56ebd24 | 90 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 91 | </incDir> |
theotherjimmy |
43:2a7da56ebd24 | 92 | <incFile> |
theotherjimmy |
43:2a7da56ebd24 | 93 | {% for inc_file in forced_includes -%} |
theotherjimmy |
43:2a7da56ebd24 | 94 | <pElem>{{ inc_file }}</pElem> |
theotherjimmy |
43:2a7da56ebd24 | 95 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 96 | </incFile> |
theotherjimmy |
43:2a7da56ebd24 | 97 | <commandLine>{%- for flag in cxx_flags -%}{{ flag+" "}}{%- endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 98 | {%- for item in opts['common'] -%}{{ item+" "}}{%- endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 99 | </commandLine> |
theotherjimmy |
43:2a7da56ebd24 | 100 | <preprocessorList> |
theotherjimmy |
43:2a7da56ebd24 | 101 | {% for item in opts['defines'] -%} |
theotherjimmy |
43:2a7da56ebd24 | 102 | <Elem>{{ item }}</Elem> |
theotherjimmy |
43:2a7da56ebd24 | 103 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 104 | {% for symbol in c_symbols -%} |
theotherjimmy |
43:2a7da56ebd24 | 105 | <Elem>{{ symbol }}</Elem> |
theotherjimmy |
43:2a7da56ebd24 | 106 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 107 | </preprocessorList> |
theotherjimmy |
43:2a7da56ebd24 | 108 | <commandlineTool>{{cppc_cmd}}</commandlineTool> |
theotherjimmy |
43:2a7da56ebd24 | 109 | </ccTool> |
theotherjimmy |
43:2a7da56ebd24 | 110 | <fortranCompilerTool> |
theotherjimmy |
43:2a7da56ebd24 | 111 | <developmentMode>5</developmentMode> |
theotherjimmy |
43:2a7da56ebd24 | 112 | </fortranCompilerTool> |
theotherjimmy |
43:2a7da56ebd24 | 113 | <asmTool> |
theotherjimmy |
43:2a7da56ebd24 | 114 | <developmentMode>5</developmentMode> |
theotherjimmy |
43:2a7da56ebd24 | 115 | <incDir> |
theotherjimmy |
43:2a7da56ebd24 | 116 | {% for inc_dir in include_paths -%}{% if inc_dir -%} |
theotherjimmy |
43:2a7da56ebd24 | 117 | <pElem>{{ inc_dir }}</pElem> |
theotherjimmy |
43:2a7da56ebd24 | 118 | {% endif -%} |
theotherjimmy |
43:2a7da56ebd24 | 119 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 120 | </incDir> |
theotherjimmy |
43:2a7da56ebd24 | 121 | <incFile> |
theotherjimmy |
43:2a7da56ebd24 | 122 | {% for inc_file in forced_includes -%} |
theotherjimmy |
43:2a7da56ebd24 | 123 | <pElem>{{ inc_file }}</pElem> |
theotherjimmy |
43:2a7da56ebd24 | 124 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 125 | </incFile> |
theotherjimmy |
43:2a7da56ebd24 | 126 | <commandLine>{%- for flag in asm_flags -%}{{ flag+" "}}{%- endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 127 | {%- for item in opts['common'] -%}{{ item+" "}}{%- endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 128 | </commandLine> |
theotherjimmy |
43:2a7da56ebd24 | 129 | <preprocessorList> |
theotherjimmy |
43:2a7da56ebd24 | 130 | {% for symbol in asm_symbols -%} |
theotherjimmy |
43:2a7da56ebd24 | 131 | <Elem>{{ symbol }}</Elem> |
theotherjimmy |
43:2a7da56ebd24 | 132 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 133 | </preprocessorList> |
theotherjimmy |
43:2a7da56ebd24 | 134 | <commandlineTool>{{asm_cmd}}</commandlineTool> |
theotherjimmy |
43:2a7da56ebd24 | 135 | </asmTool> |
theotherjimmy |
43:2a7da56ebd24 | 136 | <linkerTool> |
theotherjimmy |
43:2a7da56ebd24 | 137 | <output>${CND_DISTDIR}/${CND_CONF}/{{target}}/{{name}}.elf</output> |
theotherjimmy |
43:2a7da56ebd24 | 138 | <additionalDep>${CND_BUILDDIR}/${CND_CONF}/{{target}}/.link_script.ld</additionalDep> |
theotherjimmy |
43:2a7da56ebd24 | 139 | <commandlineTool>{{ld_cmd}}</commandlineTool> |
theotherjimmy |
43:2a7da56ebd24 | 140 | <commandLine>-T ${CND_BUILDDIR}/${CND_CONF}/{{target}}/.link_script.ld {%- for symbol in opts['ld'] -%}{{" "+symbol}}{%- endfor -%} {%- for item in linker_libs -%}{{" "+item}}{%- endfor -%} </commandLine> |
theotherjimmy |
43:2a7da56ebd24 | 141 | </linkerTool> |
theotherjimmy |
43:2a7da56ebd24 | 142 | </compileType> |
theotherjimmy |
43:2a7da56ebd24 | 143 | {% for h in headers -%} |
theotherjimmy |
43:2a7da56ebd24 | 144 | <item path="{{h}}" ex="false" tool="3" flavor2="0"> |
theotherjimmy |
43:2a7da56ebd24 | 145 | </item> |
theotherjimmy |
43:2a7da56ebd24 | 146 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 147 | {% for s in c_sources -%} |
theotherjimmy |
43:2a7da56ebd24 | 148 | <item path="{{s}}" ex="false" tool="0" flavor2="3"> |
theotherjimmy |
43:2a7da56ebd24 | 149 | <cTool flags="1"> |
theotherjimmy |
43:2a7da56ebd24 | 150 | </cTool> |
theotherjimmy |
43:2a7da56ebd24 | 151 | </item> |
theotherjimmy |
43:2a7da56ebd24 | 152 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 153 | {% for s in cpp_sources -%} |
theotherjimmy |
43:2a7da56ebd24 | 154 | <item path="{{s}}" ex="false" tool="1" flavor2="0"> |
theotherjimmy |
43:2a7da56ebd24 | 155 | <ccTool flags="0"> |
theotherjimmy |
43:2a7da56ebd24 | 156 | </ccTool> |
theotherjimmy |
43:2a7da56ebd24 | 157 | </item> |
theotherjimmy |
43:2a7da56ebd24 | 158 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 159 | {% for s in s_sources -%} |
theotherjimmy |
43:2a7da56ebd24 | 160 | <item path="{{s}}" ex="false" tool="0" flavor2="0"> |
theotherjimmy |
43:2a7da56ebd24 | 161 | </item> |
theotherjimmy |
43:2a7da56ebd24 | 162 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 163 | <item path="{{linker_script }}" ex="false" tool="3" flavor2="0"> |
theotherjimmy |
43:2a7da56ebd24 | 164 | <customTool> |
theotherjimmy |
43:2a7da56ebd24 | 165 | <customToolCommandline>{{pp_cmd}} -o $@ $<</customToolCommandline> |
theotherjimmy |
43:2a7da56ebd24 | 166 | <customToolDescription>Create ELF File using Link Script</customToolDescription> |
theotherjimmy |
43:2a7da56ebd24 | 167 | <customToolOutputs>${CND_BUILDDIR}/${CND_CONF}/{{target}}/.link_script.ld</customToolOutputs> |
theotherjimmy |
43:2a7da56ebd24 | 168 | </customTool> |
theotherjimmy |
43:2a7da56ebd24 | 169 | </item> |
theotherjimmy |
43:2a7da56ebd24 | 170 | <item path="/nbproject/private/c_standard_headers_indexer.c" ex="true" tool="0" flavor2="0"> |
theotherjimmy |
43:2a7da56ebd24 | 171 | </item> |
theotherjimmy |
43:2a7da56ebd24 | 172 | <item path="/nbproject/private/c_standard_headers_indexer.cpp" ex="true" tool="1" flavor2="0"> |
theotherjimmy |
43:2a7da56ebd24 | 173 | </item> |
theotherjimmy |
43:2a7da56ebd24 | 174 | </conf> |
theotherjimmy |
43:2a7da56ebd24 | 175 | {% endfor -%} |
theotherjimmy |
43:2a7da56ebd24 | 176 | </confs> |
theotherjimmy |
43:2a7da56ebd24 | 177 | </configurationDescriptor> |