Results 17 comments of kuch3n

> Any news about it? Is there some sort of Workaround? Either use the versions posted or remove the styles

> It is here: > > https://github.com/microsoft/vscode-cmake-tools/blob/a00c339cef191fb9bae64922713189bf64d994b0/src/diagnostics/gcc.ts#L9 Maybe the regex fails because there is a `[build]` in front of the actual error message, e.g.: `[build] C:\project_dir\user_code.c:45:23: error: CAN_BUS_0 not declared...

For Multi-Configuration generator `CMAKE_BUILD_TYPE` isn't used at all and instead `CMAKE_CONFIGURATION_TYPES` is used. This variable with those generator isn't needed and doesn't change the build configuration at all (configuration, build,...

@v-frankwang you could use the Visual Studio Generator, too. CMakePresets.json ``` { "$schema": "https://cmake.org/cmake/help/latest/_downloads/3e2d73bff478d88a7de0de736ba5e361/schema.json", "version": 8, "configurePresets": [ { "name": "default", "hidden": false, "displayName": "Default x64", "description": "Default build x64",...

Isn't it just building for Debug? If i use "Run CPack" only the active build preset is build. With `[[default]]` Debug gets build. "Run CPack" should run a build for...

The `add_custom_command` statement is missing[`BYPRODUCTS`](https://cmake.org/cmake/help/latest/command/add_custom_command.html) if you're using ninja. Also i don't see a header file getting passed to `add_executable`. Is it generated by the call to `add_custom_command`? Or is...

CMakeLists.txt ``` cmake_minimum_required(VERSION 3.22) project(cpp_with_rust) include(FetchContent) set(CMAKE_CXX_STANDARD 17) set(CARGO_MANIFEST ${CMAKE_SOURCE_DIR}/Cargo.toml) set(CARGO_TARGET_DIR ${CMAKE_CURRENT_BINARY_DIR}) set(BLOBSTORE_SOURCE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/src/lib.rs") set(BLOBSTORE_BRIDGE_CPP ${CARGO_TARGET_DIR}/cxxbridge/blobstore/src/lib.rs.cc) set(BLOBSTORE_BRIDGE_HEADER "${CARGO_TARGET_DIR}/cxxbridge/blobstore/src/lib.rs.h") set(BLOBSTORE_LIB ${CARGO_TARGET_DIR}/debug/${CMAKE_STATIC_LIBRARY_PREFIX}blobstore${CMAKE_STATIC_LIBRARY_SUFFIX}) file(MAKE_DIRECTORY "${CARGO_TARGET_DIR}/cxxbridge/blobstore/src/") add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/src/main.rs.h COMMAND mkdir -p ${CMAKE_CURRENT_BINARY_DIR}/src COMMAND...

The api reply even lists the generated header filer: ``` { "backtrace" : 1, "isGenerated" : true, "path" : "build/src/main.rs.h", "sourceGroupIndex" : 0 }, { "backtrace" : 1, "path" :...

I've deleted all `isGenerated` keys, restarted VSCode and the "missing" headers show up in the project outline. So if you specify sources which are genearted by, e.g., `OUTPUT` or `BYPRODUCTS`,...

yes, as soon as the `isGenerated` key shows up in the API response, no header shows up at all for a target containing generated files. If you manually delete those...