{"id":22113998,"url":"https://github.com/matus-chochlik/mirror","last_synced_at":"2025-09-19T18:52:06.313Z","repository":{"id":11644330,"uuid":"14149419","full_name":"matus-chochlik/mirror","owner":"matus-chochlik","description":"Reflection utilities and examples built on top of C++ reflection TS implementation.","archived":false,"fork":false,"pushed_at":"2022-07-13T15:38:31.000Z","size":10638,"stargazers_count":114,"open_issues_count":1,"forks_count":12,"subscribers_count":13,"default_branch":"develop","last_synced_at":"2025-04-02T03:24:05.255Z","etag":null,"topics":["cplusplus","cpp","reflection"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matus-chochlik.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_1_0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-05T18:01:00.000Z","updated_at":"2024-09-03T23:00:13.000Z","dependencies_parsed_at":"2022-08-30T06:01:21.119Z","dependency_job_id":null,"html_url":"https://github.com/matus-chochlik/mirror","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/matus-chochlik/mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matus-chochlik%2Fmirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matus-chochlik%2Fmirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matus-chochlik%2Fmirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matus-chochlik%2Fmirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matus-chochlik","download_url":"https://codeload.github.com/matus-chochlik/mirror/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matus-chochlik%2Fmirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275988718,"owners_count":25565641,"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-09-19T02:00:09.700Z","response_time":108,"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":["cplusplus","cpp","reflection"],"created_at":"2024-12-01T11:08:16.987Z","updated_at":"2025-09-19T18:52:06.296Z","avatar_url":"https://github.com/matus-chochlik.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mirror reflection utilities\n===========================\n\n:Author: Matúš Chochlík \u003cchochlik@gmail.com\u003e\n\nReboot of the Mirror reflection utilities implemented on top\nof the C++ reflection TS.\n\nCloning the Mirror repository\n-----------------------------\n::\n\n git clone --recursive https://github.com/matus-chochlik/mirror.git\n\nBuilding `clang` with reflection support\n----------------------------------------\n\nInstall the required packages for building `clang`:\n\n::\n\n apt install cmake clang lld ninja-build libgmp-dev libmpfr-dev\n\nBuild and install `clang` and `libc++`:\n::\n\n cd /path/to/mirror/src/dir \u0026\u0026 \\\n ./tools/build_llvm.sh \\\n    -b /path/to/llvm/build/dir \\\n    -i /path/to/llvm/install/dir\n\nSetting up the toolchain\n------------------------\n\nIn order for the build system of the `Mirror` library to use `clang` built\nand installed in the previous step either copy the default toolchain file:\n\n::\n\n cd /path/to/mirror/src/dir \u0026\u0026 \\\n cp toolchain.cmake.bak toolchain.cmake\n\nor create your own cmake toolchain file which needs at least to set\nthe following variables:\n\n::\n\n  set(MIRROR_LLVM_PREFIX /path/to/installed/llvm)\n  set(CMAKE_CXX_COMPILER ${MIRROR_LLVM_PREFIX}/bin/clang++)\n\nBuilding Mirror\n---------------\n\nIn order to build the `Mirror` library and its examples with the appropriate\ntoolchain you can do:\n\n::\n\n mkdir -p /path/to/mirror/build/dir \u0026\u0026 \\\n cd /path/to/mirror/build/dir \u0026\u0026 \\\n cmake \\\n   -DCMAKE_TOOLCHAIN_FILE=/path/to/mirror/toolchain.cmake \\\n   /path/to/mirror/src/dir \u0026\u0026 \\\n make -j N\n\nor\n\n::\n\n mkdir -p /path/to/mirror/build/dir \u0026\u0026 \\\n cd /path/to/mirror/build/dir \u0026\u0026 \\\n cmake \\\n   -G Ninja \\\n   -DCMAKE_TOOLCHAIN_FILE=/path/to/mirror/toolchain.cmake \\\n   /path/to/mirror/src/dir \u0026\u0026 \\\n ninja\n\nLicense\n=======\n\nCopyright 2008-2021 Matus Chochlik. Distributed under the Boost\nSoftware License, Version 1.0. (See accompanying file\nLICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\n\nThe applications using Qt5 are distributed under\nthe GNU GENERAL PUBLIC LICENSE version 3.\nSee http://www.gnu.org/licenses/gpl-3.0.txt\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatus-chochlik%2Fmirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatus-chochlik%2Fmirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatus-chochlik%2Fmirror/lists"}