how to design the c++ class with vs2022 cmake project mode not other mode

alice alice 40 Reputation points
2024-09-25T09:26:32.4866667+00:00

I build a project with cmake project (no .sln) and I dont find view class the I can use.

what do I miss?

User's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,123 questions
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 28,851 Reputation points Microsoft Vendor
    2024-09-26T06:53:27.8033333+00:00

    Hi @alice alice, 

    Welcome to Microsoft Q&A! 

    Do you want to add a C++ Class Diagram to a CMake project? 

    If so, it is not supported currently. You can see the suggestion ticket in Developer Community:

    Class Designer support for CMake based projects - Developer Community (visualstudio.com) 

    Please vote on that ticket and add your comments there to send feedback. Thanks for your understanding. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.