| Author |
Topic  |
|
|
sosedada
Senior Member
  
USA
43 Posts |
Posted - Oct 22 2026 : 5:49:19 PM
|
| So happy to have this feature! Unfortunately, it doesn't seem to work in my cmake-based project. Not sure if that's a me problem, or doesn't exist yet. |
|
|
feline
Whole Tomato Software
    
United Kingdom
19426 Posts |
Posted - Oct 27 2026 : 11:08:21 AM
|
Do you have a small simple CMake project that shows this problem, that you could send me? If so, please send me the files via email:
[email protected]
including this thread ID or URL in the description, so we can match it up.
I know very little about CMake, and am currently reading up on how to put together a simple test case for this. I don't actually know what Code Inspection is expected to do in this situation, so if it isn't working, it would be good to have a test case to attach to the bug report about this. |
zen is the art of being at one with the two'ness |
 |
|
|
feline
Whole Tomato Software
    
United Kingdom
19426 Posts |
Posted - Oct 28 2026 : 11:24:48 AM
|
I have figured out how to put together a small sample that shows the problem. Definitely no sign of project wide code inspection when working with CMake, even though all of the code files are C++ files. I have put in a feature request for this:
case=1724 |
zen is the art of being at one with the two'ness |
 |
|
|
sosedada
Senior Member
  
USA
43 Posts |
Posted - Oct 30 2026 : 2:39:09 PM
|
| Thanks, sorry I didn't get a chance to setup a simple test case. |
 |
|
|
sosedada
Senior Member
  
USA
43 Posts |
Posted - Oct 30 2026 : 2:42:37 PM
|
| Totally unrelated, but I didn't get any emails from this topic although I have subscribed to it |
 |
|
|
feline
Whole Tomato Software
    
United Kingdom
19426 Posts |
Posted - Nov 02 2026 : 11:40:42 AM
|
Apologies for the forum not notifying you. We do get occasional reports of emails from the forum not coming through, which is a little unhelpful.
You might find reaching out to [email protected] to be more successful. I monitor both the forum and support email, so you will be reaching me either way. |
zen is the art of being at one with the two'ness |
 |
|
|
sosedada
Senior Member
  
USA
43 Posts |
Posted - Nov 20 2026 : 11:27:05 PM
|
Just wanted to note that if you generate a .slnx file from the cmake and load that, the project-wide inspections do work. Not sure how you'd want to integrate that, or if it would help, but I had a project that required v143 toolset and I didn't want to put VS2022 on my system and this seemed to be the only way to get things building.
This is some powershell my AI gave me for generating the .slnx.
$vs = & "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products '*' -version '[18.0,19.0)' -property installationPath
if (-not $vs) { throw "Visual Studio 2026 not found" }
$cmake = Join-Path $vs 'Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe'
$toolchain = Join-Path $vs 'VC\vcpkg\scripts\buildsystems\vcpkg.cmake'
& $cmake -S . -B out\build\vs2026 -G 'Visual Studio 18 2026' -A x64 -T v143 `
"-DCMAKE_TOOLCHAIN_FILE=$toolchain" `
"-DVCPKG_OVERLAY_TRIPLETS=$PWD\triplets" `
-DVCPKG_TARGET_TRIPLET=x64-windows-v143
|
 |
|
| |
Topic  |
|