Closed GoogleCodeExporter closed 8 years ago
Whops! Thanks for catching that. I used to comment/uncomment that line locally
according to the system where I'm working from, and probably submitted it by
error.
I've added the gnucxx compiler check and left all the custom options commented
out.
I wish there were a cmake script that set the optimal options for the current
system
automatically. I wonder how does gentoo do that... I guess you could do `uname
-m` or
`cat /proc/cpuinfo`, and have a table with predefined options for each supported
machine type.
These seem to be the ones used in gentoo:
http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html
Original comment by cast...@gmail.com
on 20 Aug 2007 at 10:49
Per, I've added some basic processor detection and automated optimal compiler
option
selection. Please, let me know if that works for you.
Original comment by cast...@gmail.com
on 21 Aug 2007 at 6:48
Works fine here. Thanks! :-)
Original comment by per.math...@gmail.com
on 22 Aug 2007 at 9:00
Original issue reported on code.google.com by
per.math...@gmail.com
on 18 Aug 2007 at 10:25Attachments: