{"id":27106350,"url":"https://github.com/svec1/bweas","last_synced_at":"2026-04-30T15:32:08.678Z","repository":{"id":252140640,"uuid":"839548653","full_name":"svec1/bweas","owner":"svec1","description":"cross-platform system build","archived":false,"fork":false,"pushed_at":"2024-10-29T20:13:31.000Z","size":1673,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T22:44:50.702Z","etag":null,"topics":["build-tool","build-tools","builder","c","cpp","cross-platform","multilanguage","multilanguage-support","system-build","system-builder"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svec1.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}},"created_at":"2024-08-07T20:54:57.000Z","updated_at":"2024-10-29T20:13:35.000Z","dependencies_parsed_at":"2024-08-20T15:34:26.040Z","dependency_job_id":"358007a7-13c3-4e16-9791-328df38bf4ad","html_url":"https://github.com/svec1/bweas","commit_stats":null,"previous_names":["svec1/bweas"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svec1%2Fbweas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svec1%2Fbweas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svec1%2Fbweas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svec1%2Fbweas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svec1","download_url":"https://codeload.github.com/svec1/bweas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543602,"owners_count":20955865,"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","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-tool","build-tools","builder","c","cpp","cross-platform","multilanguage","multilanguage-support","system-build","system-builder"],"created_at":"2025-04-06T19:55:36.613Z","updated_at":"2026-04-30T15:32:08.666Z","avatar_url":"https://github.com/svec1.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bweas\r\n\u003e *system build*\r\n\r\n[Documentation of the internal device](https://github.com/svec1/bweas/blob/main/docs/en/main_page.md)\r\n\r\n\r\n## Install\r\n\u003e ``` git clone https://github.com/svec1/bweas.git ```\r\n\r\n\u003e [!NOTE]\r\n\u003e Globally required: CMake, C++ compiler(Clang is recommended)\r\n\r\n### Build on Linux\r\nBefore building, you should install the LuaJit and nlohmann-json libraries.\r\n##### *debian based(for example)*\r\n```\r\nsudo apt install luajit nlohmann-json3-dev liblz4-dev\r\n```\r\n#### Default build with cmake:\r\n```\r\nmkdir build\r\ncd build\r\ncmake ..\r\ncmake --build .\r\n```\r\n***\r\n#### Build with clone rep of libraries\r\nYou can also clone the LuaJit or nlohmann/json repositories and follow these steps:\r\n\u003e [!NOTE]\r\n\u003e For LuaJit:\r\n\u003e Required: Make\r\n```\r\ncd external\r\ngit clone https://github.com/nlohmann/json\r\ngit clone https://github.com/LuaJIT/LuaJIT\r\ncd LuaJIT\r\nsudo make install\r\n```\r\n\u003e [!TIP]\r\n\u003e If you did this, then you need to set the appropriate options for cmake when building:\r\n```\r\ncmake -DUSER_BUILD_LUA=ON -DUSER_BUILD_JSON=ON ..\r\ncmake --build .\r\n```\r\n***\r\n\r\n### Build on Windows\r\n*starting from the source folder*\r\n\u003e [!NOTE]\r\n\u003e Required: CMake, VCPKG\r\n```\r\ngit clone https://github.com/microsoft/vcpkg.git\r\nvcpkg\\bootstrap-vcpkg.bat\r\nvcpkg\\vcpkg integrate install\r\nmkdir build\r\ncd build\r\ncmake -DCMAKE_TOOLCHAIN_FILE=..\\vcpkg\\scripts\\buildsystems\\vcpkg.cmake ..\r\ncmake --build . --config Release\r\n```\r\n\u003e [!TIP]\r\n\u003e To build tests, pass -DBWEAS_TEST=ON as an option to cmake\r\n\r\n\u003cbr\u003e\r\n\r\n\u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/build-passing-brightgree\"\u003e \u003cimg alt=\"Static Badge\" src=\"https://img.shields.io/badge/release-pending-red\"\u003e\r\n\r\n## Examples\r\nSimple configurations for assembly will be described here. These examples are for informational purposes only and do not include complex structures and new features.\r\n\r\n```\r\nimport 'bweas-build', 'base'\r\n\r\n# Create a command template. You can use the capabilities that the current generator provides\r\n# In this case, the nth number of commands is generated (based on the number of source files), \r\n# since the \"feature\" of the built-in generator is used: \r\n# INPUT_FILE(single-generate parameter) in conjunction with OUTPUT_FILE.)\r\nt_obj: ctemplate = {str =' clang++:{}.o() -\u003e OBJECTS: INPUT_FILE -o OUTPUT_FILE [compile_flags]'}\r\nt_exe: ctemplate = {str =' clang++:{target_name}(OBJECTS) -\u003e target: {OBJECT} -o OUTPUT_FILE'}\r\n\r\n# Creating a target object that will continue to be built\r\nmy_target: target = {\r\n                    type = executable,\r\n                    extenstion = cpp,\r\n                    templates = ['t_exe', 't_obj'],\r\n                    compile_flags = ['-std=gnu++23', '-Wall'],\r\n                    source_files = file(get_files, 'main.cpp')\r\n}\r\n\r\n# Registering the target object for the build\r\nbuild(my_target)\r\n\r\n```\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvec1%2Fbweas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvec1%2Fbweas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvec1%2Fbweas/lists"}