File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ if(NO_XWAYLAND)
180
180
add_compile_definitions (NO_XWAYLAND )
181
181
else ()
182
182
message (STATUS "XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps..." )
183
- pkg_check_modules (xdeps REQUIRED IMPORTED_TARGET xcb xwayland xcb-util xcb-render xcb-xfixes xcb-icccm xcb-composite xcb-res xcb-ewmh )
183
+ pkg_check_modules (xdeps REQUIRED IMPORTED_TARGET xcb xcb-render xcb-xfixes xcb-icccm xcb-composite xcb-res xcb-ewmh )
184
184
pkg_check_modules (xcb_errors IMPORTED_TARGET xcb-errors )
185
185
target_link_libraries (Hyprland PkgConfig::xdeps )
186
186
if (xcb_errors_FOUND )
Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ release:
16
16
chmod -R 777 ./build
17
17
18
18
debug :
19
- cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX} -S . -B ./build -G Ninja
19
+ cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX} -DCMAKE_EXPORT_COMPILE_COMMANDS=1 - S . -B ./build -G Ninja
20
20
cmake --build ./build --config Debug --target all -j` nproc 2> /dev/null || getconf NPROCESSORS_CONF`
21
21
chmod -R 777 ./build
22
+ ln -s build/compile_commands.json compile_commands.json || true
22
23
23
24
nopch :
24
25
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:STRING=${PREFIX} -DCMAKE_DISABLE_PRECOMPILE_HEADERS=ON -S . -B ./build -G Ninja
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
- // because C/C++ VS Code intellisense is stupid with includes, we will suppress them here.
4
- // This suppresses all "include file not found" errors.
5
- #ifdef __INTELLISENSE__
6
- #pragma diag_suppress 1696
7
- #endif
8
-
9
3
#include < getopt.h>
10
4
#include < libinput.h>
11
5
#include < linux/input-event-codes.h>
You can’t perform that action at this time.
0 commit comments