Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Applying compiler options to specific files

I am trying to compile and build a project(s) in visual studio and I started looking into compiling with the /Wall option which gives all warnings. I am wondering iof there is a way to run this only on those files I am interested in, since currently I get a million warnings on files i have no ability or desire to change.

like image 592
Pradyot Avatar asked Nov 03 '25 01:11

Pradyot


1 Answers

In the Solution Explorer select the files you want all warnings for, right click and select Properties. From there you can adjust whatever compiler settings you want to for those files, just about like you would for the entire project.

like image 150
Jerry Coffin Avatar answered Nov 05 '25 15:11

Jerry Coffin