Author Topic: how can i add -o2 (optimization) to the compile cmd in SlickEdit?  (Read 2445 times)

aos

  • Community Member
  • Posts: 22
  • Hero Points: 0
I search in project properties->Tools Tab->Build->Options->Misc Tab.

but i cant find somthing that relates to -o2.

thanks,
Aviel.

mwb1100

  • Senior Community Member
  • Posts: 156
  • Hero Points: 13
Re: how can i add -o2 (optimization) to the compile cmd in SlickEdit?
« Reply #1 on: February 24, 2020, 09:28:19 PM »
I assume you mean "-O2", not "-o2".

In the "Code Generation" tab there's a "Level of optimization" drop down that lets you choose from the various optimization levels.

aos

  • Community Member
  • Posts: 22
  • Hero Points: 0
Re: how can i add -o2 (optimization) to the compile cmd in SlickEdit?
« Reply #2 on: February 25, 2020, 08:33:53 AM »
Yes.. -O2..
Thanks!! :)