c-cpp-compile-run icon indicating copy to clipboard operation
c-cpp-compile-run copied to clipboard

Add the ability to specify additional include paths

Open Morwenn opened this issue 6 years ago • 4 comments

Is your feature request related to a problem? Please describe. My most common use of a Compile & Run plug-in is too run small .cpp files in projects that are just small tools - so not handled by my CMake configuration because not "part of the project" enough - but which might include header files from my projects.

Describe the solution you'd like I would like the ability to specify a list of additional directories to add to the include paths from the configuration file.

Describe alternatives you've considered An even more convenient solution could be to take into account the includePath field of the c_cpp_properties.json generated by the official C/C++ VSCode plug-in when it exists. That would make my global project configuration even more consistent.

Additional context I mostly develop header-only libraries, so I don't need a full build of other .cpp files, just the ability to specify more include paths. It is sufficient for my use case.

Morwenn avatar Jan 29 '19 19:01 Morwenn

It can be done, I'll take a look

danielpinto8zz6 avatar Jan 30 '19 16:01 danielpinto8zz6

Hey guy, could you tell me the latest vision support setting the .exe file into another specific directory?

qanyue avatar Nov 04 '20 15:11 qanyue

Yes, you can specify a custom output location

danielpinto8zz6 avatar Oct 23 '21 18:10 danielpinto8zz6

I would like to know the status of this feature, I am trying to work with GTK without the use of CMake

Edward-Martinson avatar Jul 29 '24 17:07 Edward-Martinson