Currently Online

Latest Posts

Topic: Additional compiler flags

marioxcc
Avatar
Topic Opener
Joined: 2015-01-12, 17:15
Posts: 4
Ranking
Just found this site
Posted at: 2015-01-12, 17:22

Hello. I'm using Widelands under GNU/Linux. I'd like to compile with additional optimization options. How can I pass them to CMake?. With the GNU Autotools that'd be using a command as “/configure CFLAGS="[...]"”.

Regards and thanks in advance.


Top Quote
hjd

Joined: 2011-06-12, 19:24
Posts: 164
Ranking
At home in WL-forums
Location: bugs.launchpad.net/widelands
Posted at: 2015-01-13, 20:02

Hi marioxcc, welcome to the forums! face-smile.png

Looks like the magic option might be -DCMAKE_CXX_FLAGS="your flags", it's listed here at least.

Could you tell a bit more about what you which options you are trying to set, and what you want to do?


Ships!

Top Quote