How to select working directory for cmake? "CMake: Select Active Folder" doesn't detect it #3212
|
My project structure is like this: And I seem unable to select the CMake Tools extension to detect project-b. When I use the "CMake: Select Active Folder" it lists only project-a and doesn't list project-b at all! Is the only workaround to open project-b in separate VSCode window? |
Answered by
bobbrow
Jun 15, 2023
Replies: 1 comment 1 reply
|
If you have two CMake projects in your workspace folder, you can specify both of them in the Example: You can also open both workspace folders in a single VS Code window if you'd prefer to do it that way. |
1 reply
Answer selected by
Marqin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you have two CMake projects in your workspace folder, you can specify both of them in the
cmake.sourceDirectoryin yoursettings.jsonfile (VS Code settings) so that we know you want to work with both of them.Example:
You can also open both workspace folders in a single VS Code window if you'd prefer to do it that way.