summaryrefslogtreecommitdiffhomepage
path: root/cmake/mingw-w64.cmake
AgeCommit message (Collapse)Author
2016-07-30cmake: align functions to 16-byte boundaryStanislaw Halik
Helps on recent i7.
2016-07-30cmake: define M_PI and friends on mingw-w64Stanislaw Halik
2016-07-25cmake/mingw-w64: default lto gzip -9 lto stream filesStanislaw Halik
Highly loaded drive slows down build otherwise.
2016-07-06cmake: add universally good build defaultsStanislaw Halik
These were in the mingw-w64 toolchain file but it's good to have them in general.
2016-07-04cmake/mingw-w64: enable nx bit (data execution prevention)Stanislaw Halik
We don't process untrusted user data but this should be the default anyway.
2016-07-03cmake/mingw-w64: change WARNINGS_ENABLE logicStanislaw Halik
It makes sense to default for opentrack only. Depends can be messy and they will.
2016-06-27cmake/mingw-w64: fix override for all buildsopentrack-2.3-rc49p7Stanislaw Halik
2016-06-27cmake: allow mingw-w64 toolchain file from unixStanislaw Halik
2016-06-27cmake: backoff gcc 6.1.0 due to miscompilationStanislaw Halik
Issue: #375
2016-06-14cmake/mingw-w64: don't copy cflags to ldflagsStanislaw Halik
They get copied anyway.
2016-06-14cmake/mingw-w64: no need for finite math only nowStanislaw Halik
The `api/nan' compilation unit disables both fast math and finite math only.
2016-06-14cmake: update mingw-w64 toolchain fileStanislaw Halik
- set path for 6.1.0 from sourceforce mingw-w64 "personal builds". - set objcopy, objdump, strip - enable -fipa-pta now that it works, change some lto params - always strip for RELEASE build type - set install prefix to relative BINARY_DIR/install at first run - change some warns
2016-06-14cmake/mingw-w64: add some warns for C unitsStanislaw Halik
2016-06-10cmake: move warnings around in mingw-w64 toolchain fileStanislaw Halik
2016-06-09cmake: fix mingw-w64 toolchain cflags overrideStanislaw Halik
2016-05-22cmake/{linux,mingw-w64}.cmake: inline visibility hidden is redundantStanislaw Halik
With -fvisibility=hidden it's hidden anyway.
2016-05-15many: remove executable bit from source filesStanislaw Halik
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation.
2016-05-13cmake: automatically enable lto and loop vectorization for mingw-w64 targetsStanislaw Halik
2016-05-13cmake: add cache variables for predefined warning typesStanislaw Halik
The numeric warnings are somewhat useful. Sadly only clang supports the vtable object file bloat warning.
2016-04-27cmake: -mno-avx for mingw-w64 just to be safeStanislaw Halik
2016-03-12cmake: fix mingw-w64 toolchain file ninja buildStanislaw Halik
2016-03-08cmake: update and expand mingw-w64 toolchain fileStanislaw Halik
2016-03-06cmake: update compiler path in toolchain fileStanislaw Halik
We're now using dw2 rather than sjlj for official builds.
2015-12-18cmake/mingw-w64: updateStanislaw Halik
2015-10-30cmake: switch to GNU CC 5.2.0 in mingw-w64 toolchain fileopentrack-2.3-rc20Stanislaw Halik
2015-10-28buffer flushStanislaw Halik
2015-10-22cmake: update toolchain fileStanislaw Halik
2015-10-17cmake: drop -ffast-math, allow for NaN checkStanislaw Halik
2015-08-13update mingw-w64 cmake toolchain fileStanislaw Halik
2015-06-18cmake: switch LTO offStanislaw Halik
It emits broken binaries on trackhat branch. If it's so easy to break let's not use it.
2015-06-15cmake: now able to build with IPA with minor changesStanislaw Halik
For OpenCV videoio/cap_dshow.cpp, deactivate LTO for just that file. Either with cmake or #pragma. Otherwise opening the camera causes a crash in DShow machinery. LibOVR build without LTO completely as there are some duplicate symbol errors. Other than that, LTO build seems to work fine.
2015-06-12cmake: more opt flagsStanislaw Halik
2015-06-10for an optimized build we need gcc-{ar,nm,ranlib}Stanislaw Halik
2015-06-09cmake: remove too many flags, lto linker plugin doesn't workStanislaw Halik
2015-06-06cmake: apply more optimizations to release buildsStanislaw Halik
This MAY break support on hardware like AMD or older Intel CPUs. In this case revert this commit.
2015-06-03cmake toolchain file: slight tweaksStanislaw Halik
2014-12-19cmake: cleanup hardcoded path in toolchain fileStanislaw Halik
2014-11-19fix build furtherStanislaw Halik
2014-11-19cmake: fix lto buildStanislaw Halik
2014-11-19cmake convenienceStanislaw Halik
2014-10-19fix link errors on win32 -only-Stanislaw Halik
2014-09-22add -ffast-math to toolchain fileStanislaw Halik
2014-09-22cmake: add cross-compile exampleStanislaw Halik