1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2656],{34451:(e,r,i)=>{i.r(r),i.d(r,{assets:()=>d,contentTitle:()=>s,default:()=>u,frontMatter:()=>l,metadata:()=>a,toc:()=>c});var t=i(74848),n=i(28453);const l={},s=void 0,a={id:"includedirsafter",title:"includedirsafter",description:"Specifies the include directories to parse last per the toolset ordering and marks the directory as an external include directory. If the exporter or toolset",source:"@site/docs/includedirsafter.md",sourceDirName:".",slug:"/includedirsafter",permalink:"/docs/includedirsafter",draft:!1,unlisted:!1,editUrl:"https://github.com/premake/premake-core/edit/master/website/docs/includedirsafter.md",tags:[],version:"current",lastUpdatedBy:"Nicholaus Clark",lastUpdatedAt:1767486371e3,frontMatter:{},sidebar:"docs",previous:{title:"includedirs",permalink:"/docs/includedirs"},next:{title:"incrementallink",permalink:"/docs/incrementallink"}},d={},c=[{value:"Parameters",id:"parameters",level:3},{value:"Applies To",id:"applies-to",level:3},{value:"Availability",id:"availability",level:3},{value:"Examples",id:"examples",level:3},{value:"See Also",id:"see-also",level:3}];function o(e){const r={a:"a",code:"code",h3:"h3",li:"li",p:"p",pre:"pre",ul:"ul",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.p,{children:"Specifies the include directories to parse last per the toolset ordering and marks the directory as an external include directory. If the exporter or toolset\ndoes not support include directory ordering, these directories are added to the external include directory path."}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-lua",children:'includedirsafter { "paths" }\n'})}),"\n",(0,t.jsx)(r.h3,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(r.p,{children:[(0,t.jsx)(r.code,{children:"paths"})," specifies a list of include file search directories. Paths should be specified relative to the currently running script file. Search order is evaluated from left\nto right."]}),"\n",(0,t.jsx)(r.h3,{id:"applies-to",children:"Applies To"}),"\n",(0,t.jsx)(r.p,{children:"Project configurations."}),"\n",(0,t.jsx)(r.h3,{id:"availability",children:"Availability"}),"\n",(0,t.jsx)(r.p,{children:"Premake 5.0.0-alpha1 or later."}),"\n",(0,t.jsx)(r.p,{children:"GCC and Clang are the only toolsets supporting the ordering functionality in the gmakelegacy, gmake, and Codelite exporters. All exporters and toolsets\nsupport appending the directories to the external include directories."}),"\n",(0,t.jsx)(r.h3,{id:"examples",children:"Examples"}),"\n",(0,t.jsx)(r.p,{children:"Define two include file search paths."}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-lua",children:'includedirsafter { "../lua/include", "../zlib" }\n'})}),"\n",(0,t.jsx)(r.p,{children:"You can also use wildcards to match multiple directories. The * will match against a single directory, ** will recurse into subdirectories as well."}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-lua",children:'includedirsafter { "../includes/**" }\n'})}),"\n",(0,t.jsx)(r.h3,{id:"see-also",children:"See Also"}),"\n",(0,t.jsxs)(r.ul,{children:["\n",(0,t.jsx)(r.li,{children:(0,t.jsx)(r.a,{href:"/docs/includedirs",children:"includedirs"})}),"\n",(0,t.jsx)(r.li,{children:(0,t.jsx)(r.a,{href:"/docs/externalincludedirs",children:"externalincludedirs"})}),"\n"]})]})}function u(e={}){const{wrapper:r}={...(0,n.R)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},28453:(e,r,i)=>{i.d(r,{R:()=>s,x:()=>a});var t=i(96540);const n={},l=t.createContext(n);function s(e){const r=t.useContext(l);return t.useMemo(function(){return"function"==typeof e?e(r):{...r,...e}},[r,e])}function a(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:s(e.components),t.createElement(l.Provider,{value:r},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.