Support LSP(clangd) on IDE (#591)
author이형주/MDE Lab(SR)/삼성전자 <leee.lee@samsung.com>
Mon, 13 Jan 2025 23:12:28 +0000 (08:12 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 13 Jan 2025 23:12:28 +0000 (08:12 +0900)
- 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

.gitignore
NativeLauncher/CMakeLists.txt

index ee19670a787895583b12208a23b379a8e796c9db..aff7a87481f4536f22d3e0d1996d4dfb002003e9 100644 (file)
@@ -5,3 +5,6 @@ tags
 [Bb]in/
 [Oo]bj/
 .vscode/
+
+compile_commands.json
+.cache/
index bafb9ff6ce6a013c686ef8b5e244f51c1446633e..7a3e47759ea6e0d60227e8304985701796d8679a 100644 (file)
@@ -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)