Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure stuff to use an AppState struct
- Loading branch information
Showing
6 changed files
with
125 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,3 +46,6 @@ target_link_libraries(glslls | |
stdc++fs | ||
fmt::fmt-header-only | ||
) | ||
|
||
install(TARGETS glslls | ||
RUNTIME DESTINATION bin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
.PHONY: build | ||
build: | ||
mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make -j$(shell nproc) | ||
mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. && make -j$(shell nproc) | ||
|
||
.PHONY: run | ||
run: build | ||
build/glslls | ||
|
||
.PHONY: install | ||
install: | ||
install -Dm755 build/glslls $(DESTDIR)/$(PREFIX)/bin/glslls | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
# glsl-language-server | ||
Language server implementation for GLSL | ||
|
||
## Status | ||
Currently this LSP implementation can be interfaced with using either HTTP or stdio. | ||
|
||
## Compile | ||
|
||
git submodule update --init | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
|
||
You can also use the `Makefile` in the project root which is provided for convenience. | ||
|
||
## Install | ||
|
||
cd build | ||
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters