{"id":22868463,"url":"https://github.com/xpdojo/cpp","last_synced_at":"2025-03-31T10:50:44.264Z","repository":{"id":138406337,"uuid":"437258355","full_name":"xpdojo/cpp","owner":"xpdojo","description":"C++","archived":false,"fork":false,"pushed_at":"2024-12-01T16:32:21.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T15:53:28.361Z","etag":null,"topics":["cmake","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","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/xpdojo.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}},"created_at":"2021-12-11T11:04:37.000Z","updated_at":"2024-11-30T04:10:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"94ace685-c1a5-44c0-b3e5-8b7e77641655","html_url":"https://github.com/xpdojo/cpp","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/xpdojo%2Fcpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpdojo%2Fcpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpdojo%2Fcpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpdojo%2Fcpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpdojo","download_url":"https://codeload.github.com/xpdojo/cpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246458022,"owners_count":20780675,"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":["cmake","cpp"],"created_at":"2024-12-13T12:35:04.802Z","updated_at":"2025-03-31T10:50:44.239Z","avatar_url":"https://github.com/xpdojo.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++\n\n## 준비\n\n## Ubuntu 20.04\n\n```sh\nsudo snap install cmake\nsudo apt install g++\n```\n\n## Windows 11\n\n```ps1\n# https://cmake.org/download/\n\u003e get-command cmake\nCommandType     Name                                               Version    Source\n-----------     ----                                               -------    ------\nApplication     cmake.exe                                          3.24.1.0   C:\\Program Files\\CMake\\bin\\cmake.exe\n```\n\n```ps1\n# http://gnuwin32.sourceforge.net/packages/make.htm\n\u003e get-command mingw32-make\nCommandType     Name                                               Version    Source\n-----------     ----                                               -------    ------\nApplication     mingw32-make.exe                                   0.0.0.0    C:\\msys64\\mingw64\\bin\\mingw32-make.exe\n```\n\n```ps1\ncmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_MAKE_PROGRAM=mingw32-make -G \"MinGW Makefiles\" .\n# remove-Item -recurse -force ./CMakeFiles\n```\n\n## Mac OS X\n\n```sh\nbrew install cmake\n```\n\n## 테스트\n\n```sh\nctest --extra-verbose\n```\n\n## 빌드\n\n```sh\nmkdir demo\ncd demo\n```\n\n```sh\ntouch CMakeLists.txt\ncmake ..\n# main.cpp 작성\ncd build\nmake\n```\n\n## 실행\n\n```sh\n./build/app\n# Hello, World!\n```\n\n## 정리\n\n```sh\nrm -rf CMakeCache.txt Makefile CMakeFiles/ Testing/ build/ *.cmake\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpdojo%2Fcpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpdojo%2Fcpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpdojo%2Fcpp/lists"}