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 f20126447852d91310ca8fe0be388a305621a3ce..14ffa68ad0daa06a32ed2f7541008cd274e5cc7d 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 ce94ee4b27a956380617907a5a6d1b37bca7fa58..afdde3dd8cc31f96ca977208eff87c345d070d38 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 00bbaa8989c4cac6ca1d0ba221d98f35e17b7171..db36866df6375addf72aa42d670139d79a71f19d 100644 (file)
@@ -45,7 +45,6 @@ sha1_h = custom_target(
 
 subdir('gtest')
 subdir('util')
-subdir('mapi/glapi/gen')
 subdir('mapi')
 # TODO: opengl
 subdir('compiler')