summaryrefslogtreecommitdiffhomepage
path: root/cmake/mingw-w64.cmake
AgeCommit message (Collapse)Author
2017-04-20cmake: disable lto miscompiling binariesStanislaw Halik
2017-04-12cmake/mingw-w64: mess it up againStanislaw Halik
2017-04-06cmake: update few toolchain filesStanislaw Halik
cf. https://github.com/opentrack/opentrack/issues/586#issuecomment-291313687
2016-10-23cmake: change mingw-w64 compiler pathStanislaw Halik
2016-08-23cmake/mingw-w64: adjust path for my convenience onlyStanislaw Halik
2016-08-23cmake/mingw-w64: switch to -std=c11 for pure C modeStanislaw Halik
2016-08-23cmake: go back to c++11Stanislaw Halik
We don't use c++14 features yet, and GNU 5.3.0 has missing make_unique anyway.
2016-08-15cmake: allow ASLRStanislaw Halik
2016-08-14cmake/mingw-w64: debloat flags are relevant only for c++Stanislaw Halik
2016-08-14cmake: too many optimization flags for mingw-w64Stanislaw Halik
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-12cmake: fun mingw-w64 stuffStanislaw Halik
2016-08-12cmake: _USE_MATH_DEFINES was moved to central placeStanislaw Halik
2016-07-31cmake: compiler path for my convenienceStanislaw Halik
2016-07-30cmake: disable lto partitions for mingwStanislaw Halik
It affects generated code.
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.