{"id":13442046,"url":"https://github.com/Akagi201/learning-cmake","last_synced_at":"2025-03-20T13:32:05.671Z","repository":{"id":22007947,"uuid":"25333299","full_name":"Akagi201/learning-cmake","owner":"Akagi201","description":"learning cmake","archived":false,"fork":false,"pushed_at":"2021-02-24T11:42:31.000Z","size":46786,"stargazers_count":3239,"open_issues_count":6,"forks_count":786,"subscribers_count":103,"default_branch":"master","last_synced_at":"2025-03-16T22:11:42.264Z","etag":null,"topics":["best-practices","c","cmake","cpp","example","makefile","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akagi201.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}},"created_at":"2014-10-17T02:18:12.000Z","updated_at":"2025-03-16T16:19:14.000Z","dependencies_parsed_at":"2022-07-15T03:00:41.026Z","dependency_job_id":null,"html_url":"https://github.com/Akagi201/learning-cmake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Flearning-cmake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Flearning-cmake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Flearning-cmake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Flearning-cmake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akagi201","download_url":"https://codeload.github.com/Akagi201/learning-cmake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244619148,"owners_count":20482369,"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":["best-practices","c","cmake","cpp","example","makefile","tutorial"],"created_at":"2024-07-31T03:01:41.057Z","updated_at":"2025-03-20T13:32:05.665Z","avatar_url":"https://github.com/Akagi201.png","language":"CMake","readme":"# learning-cmake\n\nThis is a simple CMake tutorial project which contains some different scenarios.\n\n* `hello-world`: Demo a simplest CMake project.\n* `hello-world-clear`: Separate the output files and src files.\n* `hello-world-lib`: Demo how to make a static/shared library.\n* `hello-world-shared`: Demo how to utilize external static/shared library.\n* `curl`: Demo how to use cmake with curl.\n* `hello-module`: Demo how to use cmake find module.\n* `config-file`: Demo how to work with config.h.\n* `hunter-simple`: Demo how to use hunter and gtest.\n* `boost`: Demo how to use boost library.\n\n## Build steps\n* `cmake -H. -B_builds`\n* `cmake --build _builds`\n\n## CMake based tools\n* [hunter](https://github.com/ruslo/hunter): CMake-driven cross-platform package manager for C++.\n* [CLion](https://www.jetbrains.com/clion/): CMake based IDE.\n\n## Nice CMake Resources\n* [CMake Practice](docs/cmake-practice.pdf)\n* [CMake rules](docs/cmake-rules.pdf)\n* [Mastering CMake](docs/mastering-cmake.pdf)\n* [CGold: The Hitchhiker’s Guide to the CMake](https://cgold.readthedocs.io/en/latest/index.html)\n* [Latest Official CMake doc](https://cmake.org/cmake/help/latest/index.html)\n* [CMake Example](https://github.com/ttroy50/cmake-examples)\n","funding_links":[],"categories":["CMake","Cmake","c","Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAkagi201%2Flearning-cmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAkagi201%2Flearning-cmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAkagi201%2Flearning-cmake/lists"}