You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I may have discovered a problem.
Use cmake(3.27.7) to generate the vs2022 project, and then use vs_export to generate a compile_commands.json file.
When I opened project, I found that some header files added by cmake were not displayed in the c/c++ > include file.
When I opened the vcxproj file, I found that these header files were added to AdditionalOptions instead of AdditionalInclusieDirectories, like this:
...
%(AdditionalOptions) /external:I "J:/Qt/5.15.2/msvc2019/include" /external:I "J:/Qt/5.15.2/msvc2019/include/QtWidgets" /external:I "J:/Qt/5.15.2/msvc2019/include/QtGui" /external:I "J:/Qt/5.15.2/msvc2019/include/QtCore" /external:I "J:/Qt/5.15.2/msvc2019/./mkspecs/win32-msvc" /external:I "J:/Qt/5.15.2/msvc2019/include/QtANGLE" /external:I "J:/Qt/5.15.2/msvc2019/include/QtPrintSupport"
...
it might be vs_export did not parse the header files contained in AdditionalOptions
The text was updated successfully, but these errors were encountered:
Hi, I may have discovered a problem.
Use cmake(3.27.7) to generate the vs2022 project, and then use vs_export to generate a compile_commands.json file.
When I opened project, I found that some header files added by cmake were not displayed in the c/c++ > include file.
When I opened the vcxproj file, I found that these header files were added to AdditionalOptions instead of AdditionalInclusieDirectories, like this:
...
%(AdditionalOptions) /external:I "J:/Qt/5.15.2/msvc2019/include" /external:I "J:/Qt/5.15.2/msvc2019/include/QtWidgets" /external:I "J:/Qt/5.15.2/msvc2019/include/QtGui" /external:I "J:/Qt/5.15.2/msvc2019/include/QtCore" /external:I "J:/Qt/5.15.2/msvc2019/./mkspecs/win32-msvc" /external:I "J:/Qt/5.15.2/msvc2019/include/QtANGLE" /external:I "J:/Qt/5.15.2/msvc2019/include/QtPrintSupport"
...
it might be vs_export did not parse the header files contained in AdditionalOptions
The text was updated successfully, but these errors were encountered: