build: codegen generation should depend on elementary_codegen
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Wed, 20 Mar 2019 15:24:43 +0000 (11:24 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Tue, 2 Apr 2019 03:45:17 +0000 (12:45 +0900)
Summary:
otherwise buildfailures like :

/usr/bin/env EFL_RUN_IN_TREE=1 /Users/travis/build/Enlightenment/efl/build/src/bin/elementary/elementary_codegen -p=codegen_example src/examples/elementary/codegen_example.edj elm/example/mylayout/default src/examples/elementary/codegen_example_generated.c src/examples/elementary/codegen_example_generated.h

Can appear.

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8428

src/examples/elementary/meson.build

index f431c43..a030983 100644 (file)
@@ -148,7 +148,7 @@ endforeach
 
 
 codegen = custom_target('elementary_codegen_examples',
-    depends : themes,
+    depends : [themes, elementary_codegen],
     input : themes[0],
     output : ['codegen_example_generated.c', 'codegen_example_generated.h'],
     command : elementary_codegen_exe + ['-p=codegen_example', '@INPUT@', 'elm/example/mylayout/default', '@OUTPUT0@', '@OUTPUT1@'],