{"id":22347888,"url":"https://github.com/ipatch/hello-world-cmake","last_synced_at":"2026-01-30T08:44:51.792Z","repository":{"id":264378124,"uuid":"893194269","full_name":"ipatch/hello-world-cmake","owner":"ipatch","description":"a simple project to help me better understand cmake","archived":false,"fork":false,"pushed_at":"2024-12-21T20:16:19.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T10:48:37.708Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipatch.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-11-23T19:26:26.000Z","updated_at":"2024-12-21T20:16:23.000Z","dependencies_parsed_at":"2024-12-21T21:31:54.006Z","dependency_job_id":null,"html_url":"https://github.com/ipatch/hello-world-cmake","commit_stats":null,"previous_names":["ipatch/hello-world-cmake"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ipatch/hello-world-cmake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Fhello-world-cmake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Fhello-world-cmake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Fhello-world-cmake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Fhello-world-cmake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipatch","download_url":"https://codeload.github.com/ipatch/hello-world-cmake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipatch%2Fhello-world-cmake/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260589446,"owners_count":23032889,"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":[],"created_at":"2024-12-04T10:11:33.316Z","updated_at":"2026-01-30T08:44:51.741Z","avatar_url":"https://github.com/ipatch.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hello-world-cmake\n\na simple project to help me better understand cmake\n\n## issues\n\n\u003ca id=\"issues\"\u003e\u003c/a\u003e\n\nmy recently included patch file in the homebrew-freecad tap should resolve the missing header files when building freecad\n\nusing the below cmake command the current 0.21.2 release of freecad is unable to locate certain header files from a homebrew installation, ie.\n\n```\n#include \u003cxercesc/util/XercesDefs.hpp\u003e\n```\n\nand\n\n```\n\u003cGL/glu.h\u003e\n```\n\n## todos\n\n\u003ca id=\"todos\"\u003e\u003c/a\u003e\n\n- [ ] tshooting linking error with libmedc (the error i'm getting with freecad when building on gnu+linux)\n- [x] ~~need to incorporate a basic usage with xerces-c~~\n- [x] ~~need to setup a formula file in my homebrew tap ie. ipatch/us-05 that builds this project~~\n\n## working with cmake via CLI\n\nwhen building this project from a cli i use the below cmake command, with the idea that i am going to manually specify, the required cmake variables via the cli. my primary reason for doing this is because homebrew installs qt v5 and qt v6 in the same install prefix thus making it next to impossible to isolate and use a specific qt installation. \n\n```sh\nexport bp=$(brew --prefix)\n\ncmake \\\n-GNinja \\\n-DCMAKE_MAKE_PROGRAM=$bp/opt/ninja/bin/ninja \\\n-DCMAKE_C_COMPILER=$bp/opt/llvm/bin/clang \\\n-DCMAKE_CXX_COMPILER=$bp/opt/llvm/bin/clang \\\n-DCMAKE_LINKER=$bp/opt/lld/bin/lld \\\n-DCMAKE_FIND_USE_CMAKE_SYSTEM_PATH=FALSE \\\n-DCMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=FALSE \\\n-DCMAKE_IGNORE_PATH=\"/home/capin/homebrew/lib;/home/capin/homebrew/include/QtCore;/home/capin/homebrew/Cellar/qt;\" \\\n..\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipatch%2Fhello-world-cmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipatch%2Fhello-world-cmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipatch%2Fhello-world-cmake/lists"}