Build systems, Makefile, and a setup script that reproduces this environment on another machine. - CP.sublime-build: incremental make-based build, clang++, flags shared with clangd via compile_flags.txt - compete_CPP.sublime-build: competitive-programming workflow, runs against inputf.in and diffs the result against expectedf.out - Makefile: builds every .cpp in the tree into a binary beside its source - setup.sh: export/install/check, path-neutral payload, idempotent - README: setup notes, the Sublime $-expansion trap, and the -MMD -MP header-dependency limitation to fix later The .sublime-workspace is deliberately excluded: it holds Sublime's global recent-file history and absolute paths. Only the pane layout is portable, extracted to sublime/layout.json. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KCtkkFDkSGi868JWuinwcF
19 lines
418 B
Text
19 lines
418 B
Text
{
|
|
"folders":
|
|
[
|
|
{
|
|
"path": ".",
|
|
"folder_exclude_patterns": [".cache", "build"],
|
|
// binaries have no extension, so exclude them by name as you add them
|
|
"file_exclude_patterns": ["*.o", "*.d", "outputf.out"]
|
|
}
|
|
],
|
|
"settings":
|
|
{
|
|
// clangd already indexes C++; Sublime's own indexer just duplicates it
|
|
"index_files": false,
|
|
"tab_size": 4,
|
|
"translate_tabs_to_spaces": false,
|
|
"rulers": [80]
|
|
}
|
|
}
|