meson: reorder subdirs to avoid directly including more than one level
authorEric Engestrom <eric.engestrom@imgtec.com>
Tue, 21 Nov 2017 15:07:11 +0000 (15:07 +0000)
committerEric Engestrom <eric.engestrom@imgtec.com>
Thu, 23 Nov 2017 09:44:16 +0000 (09:44 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
src/mapi/glapi/meson.build
src/mapi/meson.build
src/meson.build

index f201264..14ffa68 100644 (file)
@@ -18,6 +18,8 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 # SOFTWARE.
 
+subdir('gen')
+
 inc_glapi = include_directories('.')
 
 static_glapi_files = []
index ce94ee4..afdde3d 100644 (file)
@@ -25,10 +25,10 @@ files_mapi_util = files(
   'u_execmem.h',
 )
 
+subdir('glapi')
 if with_shared_glapi
   subdir('shared-glapi')
 endif
-subdir('glapi')
 if with_gles1
   subdir('es1api')
 endif
index 00bbaa8..db36866 100644 (file)
@@ -45,7 +45,6 @@ sha1_h = custom_target(
 
 subdir('gtest')
 subdir('util')
-subdir('mapi/glapi/gen')
 subdir('mapi')
 # TODO: opengl
 subdir('compiler')