Topic: Additional compiler flags
marioxcc Topic Opener |
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 |
Posted at: 2015-01-13, 20:02
Hi marioxcc, welcome to the forums! 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 |