diff options
| author | ruki <[email protected]> | 2016-01-19 20:54:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-02-15 19:10:24 +0800 |
| commit | d7329faff5284e07a251683fc30dcefcb27e21d0 (patch) | |
| tree | 3436953d66e2c1bbd3b0f74e8f92977a2cdfd9a9 /tests/interpreter/scope.lua | |
| parent | 44c7d62676ce6763d013db0c031e6f651237f510 (diff) | |
impl add/set scope and values for interpreter
Diffstat (limited to 'tests/interpreter/scope.lua')
| -rw-r--r-- | tests/interpreter/scope.lua | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/interpreter/scope.lua b/tests/interpreter/scope.lua index 438470d5c..f9eaa6484 100644 --- a/tests/interpreter/scope.lua +++ b/tests/interpreter/scope.lua @@ -1,9 +1,11 @@ -print("hello") +set_kind("static") -function test() - assert(false) -end -test() +add_target("target1") -print("hello") + set_kind("static") +-- add_files("*.c", "hello.c") + +add_option("option1") + + add_option_links("pthread", "z") |
