{"id":17137234,"url":"https://github.com/zhaozg/luajit-cmake","last_synced_at":"2025-07-30T03:14:32.074Z","repository":{"id":48921175,"uuid":"197866765","full_name":"zhaozg/luajit-cmake","owner":"zhaozg","description":"cmake build for LuaJIT,  macOS, Linux, Windows, MingW, iOS, Android","archived":false,"fork":false,"pushed_at":"2025-06-07T15:43:42.000Z","size":113,"stargazers_count":63,"open_issues_count":4,"forks_count":27,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-07T16:41:45.770Z","etag":null,"topics":["build","cmake","lua","luajit"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhaozg.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-07-20T02:02:54.000Z","updated_at":"2025-06-07T15:43:47.000Z","dependencies_parsed_at":"2023-11-25T07:25:27.612Z","dependency_job_id":"ece0c9d5-ef1c-47b1-b51d-68640b749709","html_url":"https://github.com/zhaozg/luajit-cmake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zhaozg/luajit-cmake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaozg%2Fluajit-cmake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaozg%2Fluajit-cmake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaozg%2Fluajit-cmake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaozg%2Fluajit-cmake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhaozg","download_url":"https://codeload.github.com/zhaozg/luajit-cmake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaozg%2Fluajit-cmake/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267803224,"owners_count":24146517,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build","cmake","lua","luajit"],"created_at":"2024-10-14T20:06:33.561Z","updated_at":"2025-07-30T03:14:32.052Z","avatar_url":"https://github.com/zhaozg.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# luajit-cmake\n\nA flexible cmake builder for LuaJIT. Forked from\n[WohlSoft/LuaJIT](https://github.com/WohlSoft/LuaJIT) and update.\n\n## Build\n\n### make\n\nUse a GNU compatible make.\n\n`make -DLUAJIT_DIR=...` or `mingw32-make -DLUAJIT_DIR=...` or\n`gnumake -DLUAJIT_DIR=...`.\n\n_Note_: When use mingw32-make, please change `\\\\` to `/` in file path on Windows.\n\n### cmake\n\nUse cmake to compile.\n\n```bash\ncmake -H. -Bbuild -DLUAJIT_DIR=...\nmake --build build --config Release\n```\n\n### Embed\n\n```cmake\nadd_subdirectory(luajit-cmake)\ntarget_link_libraries(yourTarget PRIVATE luajit::lib luajit::header)\n```\n\nLook samples at [lua-forge](https://github.com/zhaozg/lua-forge/blob/master/CMakeLists.txt)\n\n### CrossCompile\n\n#### iOS\n\n```bash\nmake iOS\n```\n\n#### Android\n\n```bash\nmake Android\n```\n\n#### Windows\n\n```bash\nmake Windows\n```\n\n#### Note\n\n_Note_: The i386 architecture is deprecated for macOS (remove from the Xcode\nbuild setting: ARCHS). So I use mingw-w64 and wine to build and run 32 bits\nminilua and buildvm.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaozg%2Fluajit-cmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhaozg%2Fluajit-cmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaozg%2Fluajit-cmake/lists"}