Re: [Meson-devel] Include directories
Brought to you by:
jussip
From: Jussi P. <jpa...@gm...> - 2014-01-18 21:13:08
|
On Sat, Jan 18, 2014 at 7:30 PM, Lars Pensjö <lar...@gm...> wrote: > I have problems to get the include_directories command to work. The source > code directory contains the sub folders contrib/glm and > contrib/libovr/include. Doing the following: > glm = include_directories('contrib/glm') > libovr = include_directories('contrib/libovr/include') > incdirs = [glm, libovr] > ... > executable('ephenation', sources:src, deps : deps, inc_dirs : incdirs) > The wiki page had a typo. "inc_dirs" should be "include_dirs". The wiki is fixed, sorry about that. > If I tried to specify an illegal directory to include_directories, there > is no error message. > The code had a comment saying "FIXME, check that directories actually exist" :). This is now fixed in trunk. Thanks for reporting. |