microsoft / vscode-makefile-tools

MAKE integration in Visual Studio Code
Other
194 stars 58 forks source link

As a C developer I want to run ./configure with options first so that make only build what is needed #58

Closed rvanlaar closed 10 months ago

rvanlaar commented 4 years ago

Thanks for the invitation to this repository.

I do most of my C coding for scummvm: https://github.com/scummvm/scummvm/. In my case I want to run ./configure --disable-all-engines --enable-engine=director to only have scummvm build the part of the program I develop on. This makes the binary smaller by 111 MB that is a 90% size reduction.

I would be great if quick options are available for this. Sometimes I need to run a full build, i.e. ./configure and other times I need to add an address sanitizer: ./configure --enable-asan.

bobbrow commented 4 years ago

Does the makefile.preConfigureScript setting allow you to do what you want, or does ./configure also build your code? We're also considering adding an optional preConfigureScript property to makefile.configurations so that you could have different values per configuration.

gcampbell-msft commented 10 months ago

Closing this due to its age and having very little activity. @rvanlaar Please open a new issue if you still are having issues or have any feature requests for us to consider. Thanks!