Skip to content

Instantly share code, notes, and snippets.

@LeeTeng2001
Last active January 10, 2024 11:53
Show Gist options
  • Save LeeTeng2001/6b616e470617dbf62d09cd085a643684 to your computer and use it in GitHub Desktop.
Save LeeTeng2001/6b616e470617dbf62d09cd085a643684 to your computer and use it in GitHub Desktop.
CMakeLists for building lua
cmake_minimum_required(VERSION 3.22)
project(lua_cmake)
add_executable(lua_cmake
lapi.c lctype.c lfunc.c lmathlib.c loslib.c ltable.c lundump.c
lauxlib.c ldblib.c lgc.c lmem.c lparser.c ltablib.c lutf8lib.c
lbaselib.c ldebug.c linit.c loadlib.c lstate.c ltests.c lvm.c
lcode.c ldo.c liolib.c lobject.c lstring.c ltm.c lzio.c
lcorolib.c ldump.c llex.c lopcodes.c lstrlib.c lua.c
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment