in cmakelist.txt when you want to add an executable you simple write
add_executable(${PROJECT_NAME}_exe ${SOURCES} ${HEADERS} )
this will make sure that the project outline view will show the executable with the sources and header files
however ...
if you try to add grpc source files ( filename.grpc.pb.cc) like so:
@omarhatem97 Thank you for your github issue! To better address your question, could you provide us with a copy of your reproduction video?
Please feel free if you have any concern!
Brief Issue Summary
in cmakelist.txt when you want to add an executable you simple write
add_executable(${PROJECT_NAME}_exe ${SOURCES} ${HEADERS} )
this will make sure that the project outline view will show the executable with the sources and header fileshowever ... if you try to add grpc source files ( filename.grpc.pb.cc) like so:
add_executable(${PROJECT_NAME}_exe ${SOURCES} ${HEADERS} ${GRPC_SRCS})
now the project outline removes any header file and create a new entry name build/proto-src
header files are shown properly in any other ide, so this has to be an issue, right ?
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response