build.atpkg 742 Bytes
Newer Older
Drew's avatar
Drew committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
(package
 :name "dynamic_library"

     :tasks {
        :foo {
            :tool "atllbuild"
            :output-type "dynamic-library"
            :name "dynamicFoo"
            :sources ["src/foo.swift"]
        }
        :bar {
            :tool "atllbuild"
            :output-type "dynamic-library"
            :name "dynamicBar"
            :sources ["src/bar.swift"]
16
            :link-with-product ["dynamicFoo.dynamic"]
Drew's avatar
Drew committed
17 18 19 20 21 22 23
        }
        :default {
            :dependencies ["foo" "bar"]
            :tool "atllbuild"
            :output-type "executable"
            :name "dynamic_library_tester"
            :sources ["src/main.swift"]
24
            :link-with-product ["dynamicBar.dynamic" "dynamicFoo.dynamic"]
Drew's avatar
Drew committed
25 26 27
        }
     }
)