export clangd configuration
This commit is contained in:
parent
a08dc46768
commit
dc67f91560
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ set(STRATAGUS_PATCH_LEVEL2 0)
|
|||
project(stratagus)
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
# useful for clangd LSP server
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS, "1")
|
||||
|
||||
set(STRATAGUS_VERSION "${STRATAGUS_MAJOR_VERSION}.${STRATAGUS_MINOR_VERSION}.${STRATAGUS_PATCH_LEVEL}")
|
||||
set(STRATAGUS_VERSION_FULL "${STRATAGUS_VERSION}.${STRATAGUS_PATCH_LEVEL2}")
|
||||
|
||||
|
|
Loading…
Reference in a new issue