Compiling multiple .cpp file in different folders using Recursive wildcard #8218
Unanswered
samuelwhiskeyjohnson
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The existing "*" functionality is implemented by gcc, so any "**" passed into the gcc args would also need to be handled by gcc. A potential alternative would be to run some custom build script or building using a build tool such as Make or CMake. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Similar to
#5502
but I want to use recursive wildcard to search for all .cpp files in all folders in a project file.
Folder hierarchy
+project folder
+----main.cpp
+----add Folder
+--------add.cpp
+--------add.h
main.cpp
add.h
add.cpp
task.json
But "${workspaceFolder}\**\*.cpp" doesn't work to compile multiple .cpp files in different folders in project folder.
Is there anyway how I can compile multiple .cpp files in different folders without providing concrete folder name where .cpp files are at?
Beta Was this translation helpful? Give feedback.
All reactions