From: 이형주/MDE Lab(SR)/삼성전자 Date: Mon, 13 Jan 2025 23:12:28 +0000 (+0900) Subject: Support LSP(clangd) on IDE (#591) X-Git-Tag: accepted/tizen/unified/20250115.124144~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bcb8f8bdb077fcdb155ce8b92e33c94cfc6e9ed;p=platform%2Fcore%2Fdotnet%2Flauncher.git Support LSP(clangd) on IDE (#591) - Suggest gbs build on x86_64 and fix path in compile_commands.json to the local path - Only a bit better but not perfect as the libs and headers are missing outside gbs --- diff --git a/.gitignore b/.gitignore index ee19670..aff7a87 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,6 @@ tags [Bb]in/ [Oo]bj/ .vscode/ + +compile_commands.json +.cache/ diff --git a/NativeLauncher/CMakeLists.txt b/NativeLauncher/CMakeLists.txt index bafb9ff..7a3e477 100644 --- a/NativeLauncher/CMakeLists.txt +++ b/NativeLauncher/CMakeLists.txt @@ -1,6 +1,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT("dotnet-tools") +SET(CMAKE_EXPORT_COMPILE_COMMANDS ON) MESSAGE("CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}") INCLUDE(FindPkgConfig)