mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Add more junk & clangd symlinks to .gitignore
Ignore any root directory starting with build so that you can have many build directories (build, build2, build-win32, ...) that get ignored. Add .cache which clangd creates Ignore compile_commands.json (and generate it by default) which helps clangd, but needs to be symlinked to a compile_commands.json in a build dir so isn't suitable for inclusion in the repo.
This commit is contained in:
parent
db515e48ec
commit
e3aff6c36c
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -5,7 +5,7 @@
|
||||||
*.o
|
*.o
|
||||||
*.so
|
*.so
|
||||||
|
|
||||||
build/
|
/build*/
|
||||||
**/__pycache__/**
|
**/__pycache__/**
|
||||||
|
|
||||||
llarpd
|
llarpd
|
||||||
|
@ -18,6 +18,8 @@ CMakeFiles
|
||||||
CMakeCache.txt
|
CMakeCache.txt
|
||||||
.ninja_log
|
.ninja_log
|
||||||
.ninja_deps
|
.ninja_deps
|
||||||
|
/.cache/
|
||||||
|
/compile_commands.json
|
||||||
|
|
||||||
callgrind.*
|
callgrind.*
|
||||||
.gdb_history
|
.gdb_history
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
cmake_minimum_required(VERSION 3.10) # bionic's cmake version
|
cmake_minimum_required(VERSION 3.10) # bionic's cmake version
|
||||||
|
|
||||||
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
|
||||||
# Has to be set before `project()`, and ignored on non-macos:
|
# Has to be set before `project()`, and ignored on non-macos:
|
||||||
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12 CACHE STRING "macOS deployment target (Apple clang only)")
|
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.12 CACHE STRING "macOS deployment target (Apple clang only)")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue