Selecting the release build over the default debug build will enable the -O2 compiler option but under Projects settings you can only add make options. To add more compiler options such as -march=core2 you can add a line to your project file:
QMAKE_CXXFLAGS += -march=core2
Showing posts with label QtCreator compiler options. Show all posts
Showing posts with label QtCreator compiler options. Show all posts
Monday, November 22, 2010
Subscribe to:
Posts (Atom)