Skip to content

Commit 3a67dda

Browse files
authored
Initial commit
0 parents  commit 3a67dda

4 files changed

Lines changed: 426 additions & 0 deletions

File tree

.gitignore

Lines changed: 266 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,266 @@
1+
# =========================
2+
# GitHub C++ Default Template Additions
3+
# =========================
4+
# Prerequisites
5+
*.d
6+
7+
# Object files
8+
*.o
9+
*.obj
10+
*.elf
11+
12+
# Linker output
13+
*.ilk
14+
*.map
15+
*.exp
16+
17+
# Precompiled headers
18+
*.gch
19+
*.pch
20+
21+
# Libraries
22+
*.lib
23+
*.a
24+
*.la
25+
*.lo
26+
27+
# Shared objects (DLLs, shared libraries)
28+
*.dll
29+
*.so
30+
*.so.*
31+
*.dylib
32+
33+
# Executables
34+
*.exe
35+
*.out
36+
*.app
37+
38+
# Debug files
39+
*.dSYM/
40+
*.su
41+
*.idb
42+
*.pdb
43+
44+
# =========================
45+
# OS specific
46+
# =========================
47+
# macOS
48+
.DS_Store
49+
.AppleDouble
50+
.LSOverride
51+
*.dSYM/
52+
53+
# Windows
54+
Thumbs.db
55+
ehthumbs.db
56+
Desktop.ini
57+
$RECYCLE.BIN/
58+
59+
# Linux / UNIX
60+
*~
61+
.fuse_hidden*
62+
.directory
63+
.Trash-*
64+
.nfs*
65+
66+
# =========================
67+
# C/C++ build artifacts
68+
# =========================
69+
# (Note: many patterns already covered above by GitHub default)
70+
*.lo
71+
*.al
72+
*.libs
73+
*.exp
74+
*.ilk
75+
*.gch
76+
*.pch
77+
*.prof
78+
*.profraw
79+
*.profdata
80+
*.dasm
81+
*.log
82+
*.log.*
83+
.cache/
84+
.ccache/
85+
.distcc/
86+
87+
# =========================
88+
# Build systems
89+
# =========================
90+
# CMake
91+
[Cc]MakeCache.txt
92+
[Cc]MakeFiles/
93+
CMakeScripts/
94+
Testing/
95+
cmake_install.cmake
96+
install_manifest.txt
97+
compile_commands.json
98+
CTestTestfile.cmake
99+
CMakeUserPresets.json
100+
_deps/
101+
Makefile
102+
103+
# Build directories (use out-of-source when possible)
104+
build/
105+
build-*/
106+
cmake-build-*/
107+
108+
# Ninja
109+
.ninja_deps
110+
.ninja_log
111+
112+
# Meson
113+
meson-logs/
114+
meson-private/
115+
builddir/
116+
117+
# SCons
118+
.sconsign.dblite
119+
SConstruct.out
120+
121+
# =========================
122+
# Package / dependency managers
123+
# =========================
124+
# Conan
125+
conanbuildinfo.*
126+
conaninfo.txt
127+
conan.lock
128+
.conan/
129+
130+
# vcpkg
131+
vcpkg_installed/
132+
133+
# Hunter
134+
_HUNTER/
135+
136+
# CPM.cmake
137+
_cpm_cache/
138+
139+
# =========================
140+
# LSP / code intelligence
141+
# =========================
142+
.clangd/
143+
.clangd-cache/
144+
.cache/clangd/
145+
.ccls-cache/
146+
tags
147+
TAGS
148+
GTAGS
149+
GRTAGS
150+
GPATH
151+
152+
# =========================
153+
# IDE / Editor specific ignores
154+
# =========================
155+
# Visual Studio (2019/2022)
156+
.vs/
157+
*.vcxproj*
158+
*.sln
159+
*.suo
160+
*.user
161+
*.filters
162+
*.lastbuildstate
163+
*.tlog
164+
*.opendb
165+
166+
# VSCode
167+
.vscode/
168+
.history/
169+
170+
# CLion / JetBrains
171+
.idea/
172+
cmake-build-*/
173+
174+
# Qt Creator
175+
*.pro.user*
176+
*.qbs.user*
177+
*.creator.user*
178+
*.creator
179+
*.autosave
180+
*.qmlproject.user*
181+
CMakeLists.txt.user
182+
.qmake.stash
183+
184+
# Eclipse CDT
185+
.project
186+
.cproject
187+
.settings/
188+
.metadata/
189+
.externalToolBuilders/
190+
bin/
191+
tmp/
192+
193+
# Xcode
194+
DerivedData/
195+
build/
196+
*.pbxuser
197+
!default.pbxuser
198+
*.mode1v3
199+
!default.mode1v3
200+
*.mode2v3
201+
!default.mode2v3
202+
*.perspectivev3
203+
!default.perspectivev3
204+
xcuserdata/
205+
*.xccheckout
206+
*.moved-aside
207+
*.xcuserstate
208+
*.xcscmblueprint
209+
210+
# Neovim / Vim
211+
*~
212+
.*.swp
213+
.*.swo
214+
.*.swm
215+
Session.vim
216+
217+
# Emacs
218+
\#*\#
219+
.#*
220+
.emacs.desktop
221+
.emacs.desktop.lock
222+
auto-save-list/
223+
tramp
224+
.dir-locals.el
225+
226+
# Sublime Text
227+
*.sublime-workspace
228+
*.sublime-project
229+
sftp-config.json
230+
231+
# Atom
232+
.atom/
233+
*.atom-build.yml
234+
235+
# Code::Blocks
236+
*.cbp
237+
*.depend
238+
*.layout
239+
240+
# CodeLite
241+
.codelite/
242+
*.project
243+
*.workspace
244+
245+
# KDevelop
246+
.kdev4/
247+
*.kdev4
248+
249+
# NetBeans (C/C++)
250+
nbproject/private/
251+
build/
252+
dist/
253+
254+
# Geany
255+
*.geany
256+
257+
# Dev-C++
258+
*.dev
259+
*.layout
260+
261+
# JetBrains Fleet
262+
.fleet/
263+
264+
# Kate
265+
*.kate-swp
266+
.kateproject.*

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Jay Two's Software Lab
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.ko.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# C++ 프로젝트용 .gitignore
2+
3+
[English](README.md)
4+
5+
---
6+
7+
`.gitignore` 파일은 다양한 IDE, 에디터, 빌드 시스템을 포괄하는 **C++ 프로젝트 전용 종합 무시 목록**입니다.
8+
9+
## 포함된 환경
10+
11+
- **IDE / 에디터**:
12+
- Visual Studio 2019/2022
13+
- Visual Studio Code (VSCode)
14+
- CLion / JetBrains IDE
15+
- Qt Creator
16+
- Eclipse CDT
17+
- Xcode
18+
- Neovim / Vim
19+
- Emacs
20+
- Sublime Text
21+
- Atom
22+
- Code::Blocks
23+
- CodeLite
24+
- KDevelop
25+
- NetBeans (C/C++)
26+
- Geany
27+
- Dev-C++
28+
- JetBrains Fleet
29+
- Kate
30+
31+
- **빌드 시스템**:
32+
- CMake
33+
- Ninja
34+
- Meson
35+
- SCons
36+
37+
- **패키지 관리자**:
38+
- Conan
39+
- vcpkg
40+
- Hunter
41+
- CPM.cmake
42+
43+
- **언어 서버**:
44+
- clangd
45+
- ccls
46+
- gtags / ctags
47+
48+
## 목적
49+
50+
`.gitignore`의 목적은 다음과 같습니다:
51+
- 빌드 과정에서 생성되는 임시 산출물을 저장소에서 제거
52+
- 로컬 IDE/에디터 설정 파일을 커밋하지 않도록 방지
53+
- 사용자/PC별로 달라지는 캐시 및 로그 파일 제외
54+
55+
## 사용 방법
56+
57+
C++ 프로젝트의 루트 디렉터리에 `.gitignore` 파일을 배치합니다:
58+
59+
```bash
60+
curl -o .gitignore https://example.com/path/to/.gitignore
61+
```
62+
63+
Git은 `.gitignore`에 명시된 패턴과 일치하는 파일/디렉터리를 자동으로 무시합니다.
64+
65+
## 참고 사항
66+
67+
- `.gitignore`에 포함되어 있어도 특정 파일을 강제로 추가하려면 `git add -f <file>` 명령을 사용하세요.
68+
- `Makefile`을 직접 관리하는 경우, `.gitignore``Makefile` 항목을 삭제하세요.
69+

0 commit comments

Comments
 (0)