summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)Author
2016-09-29Improve LTO detection codeTomi Valkeinen
Split LTO detection into separate func and file, and create a cached LTO_WORKS variable. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2016-09-28Fix LTO detectionLaurent Pinchart
Catch gcc-ar and gcc-ranlib versions compiled without plugin support and disable LTO in that case. Also do the LTO check only once by checking if HAS_LTO_FLAG has been set. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-08-27Fix LTO support for cross-compilation.Arnout Vandecappelle (Essensium/Mind)
When cross-compiling, the ar and ranlib to be used for LTO are prefixed by the cross-tuple. gcc-ar and gcc-ranlib may not exist. Cfr. http://autobuild.buildroot.net/results/f3c/f3c48da3a9706cd366c0e0a96c3cd0ff959f2a78/ Therefore, search for an appropriate lto-ar and lto-ranlib before enabling LTO. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2016-06-11cmake: results to bin & lib dirsTomi Valkeinen
2016-06-11rename libkms to kms++Tomi Valkeinen
2016-06-11cmake: add option to build shared libsTomi Valkeinen
2016-06-11rename dirsTomi Valkeinen
2016-05-25disable Wmissing-field-initializers when gcc <= 5.0Tomi Valkeinen
2016-05-25Require libdrm >= 2.4.64Tomi Valkeinen
2016-05-23File/dir renamesTomi Valkeinen
2016-05-23Automatically use -fltoTomi Valkeinen
2016-05-23improve build typeTomi Valkeinen
2016-04-16add -Wextra & fix warningsTomi Valkeinen
2016-03-20Add LTO optionTomi Valkeinen
2015-11-30remove lua bindingsTomi Valkeinen
2015-11-18Add kmscubeTomi Valkeinen
2015-10-06don't enable lua by defaultTomi Valkeinen
2015-10-01move test utils to libkmstest libraryTomi Valkeinen
2015-10-01add options to turn off py/lua buildTomi Valkeinen
2015-10-01cmake: add (commented out) lines for static libcTomi Valkeinen
2015-10-01Relax cmake minumum version to 2.8 from 3.0. Seems to work fine.Jyri Sarha
2015-09-28move db and testpat to tests/Tomi Valkeinen
2015-09-28Initial versionTomi Valkeinen