{"id":28410488,"url":"https://github.com/simdjson/cmakedemo_externalproject","last_synced_at":"2026-02-08T03:33:42.780Z","repository":{"id":106307914,"uuid":"274524348","full_name":"simdjson/cmakedemo_externalproject","owner":"simdjson","description":" Simple demo of simdjson as a CMake dependency using ExternalProject_Add","archived":false,"fork":false,"pushed_at":"2023-07-20T16:28:19.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-02T11:39:40.973Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simdjson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-06-23T22:49:48.000Z","updated_at":"2021-10-06T20:33:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"21f73414-ebeb-4f35-816f-2f327c490a92","html_url":"https://github.com/simdjson/cmakedemo_externalproject","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simdjson/cmakedemo_externalproject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simdjson%2Fcmakedemo_externalproject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simdjson%2Fcmakedemo_externalproject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simdjson%2Fcmakedemo_externalproject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simdjson%2Fcmakedemo_externalproject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simdjson","download_url":"https://codeload.github.com/simdjson/cmakedemo_externalproject/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simdjson%2Fcmakedemo_externalproject/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29219274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T03:18:47.732Z","status":"ssl_error","status_checked_at":"2026-02-08T03:15:31.985Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-06-02T11:35:52.937Z","updated_at":"2026-02-08T03:33:42.775Z","avatar_url":"https://github.com/simdjson.png","language":"CMake","readme":"# Simple demo of simdjson as a CMake dependency using ExternalProject_Add\n[![Ubuntu](https://github.com/simdjson/cmakedemo_externalproject/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/simdjson/cmakedemo_externalproject/actions/workflows/ubuntu.yml)\n\nThis repository is meant to serve as an example of how to use [simdjson](https://github.com/simdjson/simdjson) as a `CMake` dependency using `ExternalProject_Add`. It requires CMake 3.16 or better. Though it should work under Linux if you have an up-to-date system, it is untested under different platforms such as Visual Studio.\n\nUsage:\n\n```\ncmake -B build \u0026\u0026 cmake --build build -v \u0026\u0026 ./build/src/test\n```\n\nThe simple `CMake` project builds a simple parser (`./src/test`) which can parse a given JSON document (provided as a command-line parameter) and determine whether it is valid JSON.\n\n\nA simpler approach is to use simdjson as Git submodule, or just as subdirectory. See [cmakedemo](https://github.com/simdjson/cmakedemo).\n\nPlease refer to the main [simdjson](https://github.com/simdjson/simdjson) project for further documentation.\n\n\n## FetchContent\n\nWe can also do [a demo using a single CMakeLists.txt file](https://github.com/simdjson/cmake_demo_single_file).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimdjson%2Fcmakedemo_externalproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimdjson%2Fcmakedemo_externalproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimdjson%2Fcmakedemo_externalproject/lists"}