diff options
author | talha <sarcxd@gmail.com> | 2025-03-06 10:37:36 +0500 |
---|---|---|
committer | talha <sarcxd@gmail.com> | 2025-03-06 10:37:36 +0500 |
commit | 23cc1a7d8c5ae6a397071763d0326990868c37af (patch) | |
tree | 0eb8fd47d678c57ec43c22ed104997c10c900260 /compile_flags.txt | |
parent | 1d0bff7b975a63ef9047f16acdb2ef03123772d9 (diff) |
Making project work with clangd:
- Moved a lot of items into separate header files
- Still compiling everything as a single translation unit (but maybe a
heavier translation unit [if that is possible])
- setup compile_flags, a way to use clangd without using a build system
- stuff like clangd and cmake don't work well with unity builds, so I
avoid jumping through hoops
Diffstat (limited to 'compile_flags.txt')
-rw-r--r-- | compile_flags.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compile_flags.txt b/compile_flags.txt new file mode 100644 index 0000000..474e164 --- /dev/null +++ b/compile_flags.txt @@ -0,0 +1,8 @@ +-xc++ +-std=c++11 +-Wall +-I./include +-I/usr/include +-I/usr/local/include +-DDEBUG +-O2 |