Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: huzhongshan on April 14, 2011, 05:13:04 pm
-
I use tdm4.5.2 gcc , and find that its optimization (esp. with -O3 ) will bring some error for one cpp file in my project. I want to use -O2 only for this cpp file , and other files still -O3 , how can I do this?
-
select the file -> right click -> properties -> advanced -> then you modify the command executed
-
Project manager -> right click on the file -> properties -> adjust build as needed, using available macros.