diff options
| author | ruki <[email protected]> | 2021-09-02 23:42:22 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-02 23:42:22 +0800 |
| commit | 13acaccc305ef18631601d1d23bfae1c9faef490 (patch) | |
| tree | 9c665bf60cdcd8ff34b8670e6323dcaaf01dcb5a /xmake/languages/pascal/xmake.lua | |
| parent | 684ba799f95d3f8832a9e220ce2743aa2ecb505f (diff) | |
add rpath for pascal
Diffstat (limited to 'xmake/languages/pascal/xmake.lua')
| -rw-r--r-- | xmake/languages/pascal/xmake.lua | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/xmake/languages/pascal/xmake.lua b/xmake/languages/pascal/xmake.lua index ba052ef36..a3e1fb5b3 100644 --- a/xmake/languages/pascal/xmake.lua +++ b/xmake/languages/pascal/xmake.lua @@ -25,22 +25,17 @@ language("pascal") set_targetkinds {binary = "pcld", static = "pcar", shared = "pcsh"} set_targetflags {binary = "ldflags", static = "arflags", shared = "shflags"} set_langkinds {pascal = "pc"} - set_mixingkinds("pc", "cc", "cxx", "as") + set_mixingkinds("pc") on_load("load") on_check_main("check_main") set_nameflags { object = { - "config.includedirs" - , "target.symbols" + "target.symbols" , "target.warnings" , "target.optimize:check" , "target.vectorexts:check" - , "target.includedirs" - , "toolchain.includedirs" - , "target.sysincludedirs" - , "toolchain.sysincludedirs" } , binary = { "config.linkdirs" @@ -52,6 +47,8 @@ language("pascal") , "toolchain.rpathdirs" , "config.links" , "target.links" + , "target.frameworks" + , "target.frameworkdirs" , "toolchain.links" , "config.syslinks" , "target.syslinks" @@ -65,32 +62,29 @@ language("pascal") , "toolchain.linkdirs" , "config.links" , "target.links" + , "target.frameworks" + , "target.frameworkdirs" , "toolchain.links" , "config.syslinks" , "target.syslinks" , "toolchain.syslinks" } - , static = { - "target.strip" - , "target.symbols" - } } set_menu { config = { {category = "Cross Complation Configuration/Compiler Configuration" } - , {nil, "pc", "kv", nil, "The Pascal Compiler" } + , {nil, "pc", "kv", nil, "The Pascal Compiler" } , {category = "Cross Complation Configuration/Linker Configuration" } - , {nil, "pcld", "kv", nil, "The Pascal Linker" } - , {nil, "pcsh", "kv", nil, "The Pascal Shared Library Linker" } + , {nil, "pcld", "kv", nil, "The Pascal Linker" } + , {nil, "pcsh", "kv", nil, "The Pascal Shared Library Linker" } , {category = "Cross Complation Configuration/Builtin Flags Configuration" } , {nil, "links", "kv", nil, "The Link Libraries" } , {nil, "syslinks", "kv", nil, "The System Link Libraries" } , {nil, "linkdirs", "kv", nil, "The Link Search Directories" } - , {nil, "includedirs","kv", nil, "The Include Search Directories" } } } |
