{"id":18894517,"url":"https://github.com/ptsouchlos/CMakeInstallExample","last_synced_at":"2026-02-27T10:30:18.672Z","repository":{"id":47238671,"uuid":"86520668","full_name":"DeveloperPaul123/CMakeInstallExample","owner":"DeveloperPaul123","description":"Installation example for a C++ project (Windows) with Cmake.","archived":false,"fork":false,"pushed_at":"2021-09-07T12:17:40.000Z","size":11,"stargazers_count":36,"open_issues_count":0,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-31T07:28:55.654Z","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/DeveloperPaul123.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":"2017-03-29T00:28:34.000Z","updated_at":"2024-11-15T15:43:29.000Z","dependencies_parsed_at":"2022-09-03T12:13:43.696Z","dependency_job_id":null,"html_url":"https://github.com/DeveloperPaul123/CMakeInstallExample","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/DeveloperPaul123%2FCMakeInstallExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperPaul123%2FCMakeInstallExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperPaul123%2FCMakeInstallExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloperPaul123%2FCMakeInstallExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeveloperPaul123","download_url":"https://codeload.github.com/DeveloperPaul123/CMakeInstallExample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239869218,"owners_count":19710485,"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-11-08T08:22:43.973Z","updated_at":"2026-02-27T10:30:17.566Z","avatar_url":"https://github.com/DeveloperPaul123.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CMakeInstallExample\n\nInstallation example for a C++ project (Windows) with Cmake.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-red.svg\" alt=\"License MIT\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/DeveloperPaul123/MHWDatabase/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Say%20Thanks-👍-1EAEDB.svg\" alt=\"Say thanks\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://discord.gg/yNQ9dW4\"\u003e\n    \u003cimg alt=\"Discord\" src=\"https://discordapp.com/api/guilds/652515194572111872/widget.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Contents\n\nThis project demonstrates how to use cmake with cpack to generate an installer that can be used to redistribute software/libraries. See my [blog](https://developerpaul123.github.io/blog) for the full [write up](https://developerpaul123.github.io/programming/creating-an-installer-with-cmake/).\n\n### Requirements\n\nTo build this project you will need:\n\n- A relatively recent C++ compiler\n- [CMake](https://cmake.org) `3.14+`\n- [NSIS](https://nsis.sourceforge.io/Download) `3.0.0+`\n\n### Building\n\nConfigure and build using CMake and your favorite build tools. I've tested using Visual Studio Community Edition 2019\n\n```cmake\ncmake -B build\n```\n\nTo build an installer simply run:\n\n```cmake\ncmake --build ./build --config Release --target package\n```\n\n## Author\n\n| [\u003cimg src=\"https://avatars0.githubusercontent.com/u/6591180?s=460\u0026v=4\" width=\"100\"\u003e\u003cbr\u003e\u003csub\u003e@DeveloperPaul123\u003c/sub\u003e](https://github.com/DeveloperPaul123) |\n|:----:|\n\n## License\n\nAll the code available under the MIT license. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptsouchlos%2FCMakeInstallExample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptsouchlos%2FCMakeInstallExample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptsouchlos%2FCMakeInstallExample/lists"}