diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/libs/lua/ya.make | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'contrib/libs/lua/ya.make')
-rw-r--r-- | contrib/libs/lua/ya.make | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/contrib/libs/lua/ya.make b/contrib/libs/lua/ya.make new file mode 100644 index 0000000000..942562d2db --- /dev/null +++ b/contrib/libs/lua/ya.make @@ -0,0 +1,46 @@ +LIBRARY() + +LICENSE(MIT) + +LICENSE_TEXTS(.yandex_meta/licenses.list.txt) + +VERSION(5.2.0) + +PROVIDES(lua) + +NO_COMPILER_WARNINGS() + +IF (OS_LINUX) + CFLAGS(-DLUA_USE_LINUX) +ELSEIF (OS_FREEBSD) + CFLAGS(-DLUA_USE_LINUX) +ELSEIF (OS_DARWIN) + CFLAGS(-DLUA_USE_MACOSX) +ELSEIF (OS_WINDOWS) + CFLAGS(-DLUA_WIN) +ELSE() + CFLAGS( + -DLUA_USE_POSIX + -DLUA_USE_DLOPEN + ) +ENDIF() + +ADDINCL(contrib/libs/lua/lua-5.2.0/src) + +SRCDIR(contrib/libs/lua/lua-5.2.0/src) + +ARCHIVE( + NAME common.inc + common/stdlib.lua + common/json.lua +) + +PEERDIR( + library/cpp/archive +) + +SRCS( + lib.cpp +) + +END() |