Skip to content

Commit 4d58b48

Browse files
committed
chore: add CMake presets and clean up ignore files
- Add CMakePresets.json with Ninja generator configuration - Simplify .gitignore to focus on IDE and build output directories - Remove redundant .cursorignore file
1 parent 7885345 commit 4d58b48

File tree

3 files changed

+21
-44
lines changed

3 files changed

+21
-44
lines changed

.cursorignore

Lines changed: 0 additions & 25 deletions
This file was deleted.

.gitignore

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
1-
/bin
2-
/bin64
3-
/_build*
4-
temp
5-
6-
# Emacs
7-
*#
8-
9-
# Vim
10-
*~
11-
12-
# Visual Studio
13-
/.vs
14-
/out
15-
16-
# Visual Studio Code
17-
/.vscode
18-
19-
/.temp
1+
/.vscode/
2+
/build/
3+
!/build/Jamfile
4+
/out/
5+
CMakeUserPresets.json

CMakePresets.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"version": 8,
3+
"configurePresets": [
4+
{
5+
"name": "Custom configure preset",
6+
"displayName": "Custom configure preset",
7+
"description": "Sets Ninja generator, build and install directory",
8+
"generator": "Ninja",
9+
"binaryDir": "${sourceDir}/out/build/${presetName}",
10+
"cacheVariables": {
11+
"CMAKE_BUILD_TYPE": "Debug",
12+
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
13+
}
14+
}
15+
]
16+
}

0 commit comments

Comments
 (0)