diff options
author | Bardur Arantsson <bardur@scientician.net> | 2010-01-10 22:07:10 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2010-01-10 23:43:43 +0100 |
commit | b499eedd1d85386b41ff1d9e3995170c2add2924 (patch) | |
tree | a7aa2ae1c30acf882ac457aba734b859e407992d /src/lua | |
parent | 03002aae146c024c265792be875fdd02c9d47eb8 (diff) |
CMake build system: supports X11, Curses and SDL frontends.
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/.gitignore | 2 | ||||
-rw-r--r-- | src/lua/CMakeLists.txt | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/lua/.gitignore b/src/lua/.gitignore new file mode 100644 index 00000000..26548e17 --- /dev/null +++ b/src/lua/.gitignore @@ -0,0 +1,2 @@ +/liblua.a +/tolua diff --git a/src/lua/CMakeLists.txt b/src/lua/CMakeLists.txt new file mode 100644 index 00000000..df2b30e7 --- /dev/null +++ b/src/lua/CMakeLists.txt @@ -0,0 +1,11 @@ +ADD_LIBRARY (lua STATIC + lapi.c lcode.c ldebug.c ldo.c lfunc.c lgc.c + llex.c lmem.c lobject.c lparser.c lstate.c lstring.c + ltable.c ltests.c ltm.c lundump.c lvm.c lzio.c + lauxlib.c lbaselib.c ldblib.c liolib.c lstrlib.c + tolua_lb.c tolua_rg.c tolua_tt.c tolua_tm.c tolua_gp.c + tolua_eh.c tolua_bd.c) + +ADD_EXECUTABLE(tolua tolua.c tolualua.c lua) + +TARGET_LINK_LIBRARIES(tolua lua) |