summaryrefslogtreecommitdiffhomepage
path: root/cmake
AgeCommit message (Collapse)Author
2017-05-10cmake: also copy Qt pdb files if they existStanislaw Halik
2017-05-10cmake/msvc: -Gm requires -ZiStanislaw Halik
2017-05-10cmake/msvc: add -DHAS_EXCEPTIONS=0Stanislaw Halik
2017-05-10cmake: unbreak linker language detect for GNUStanislaw Halik
2017-05-10cmake: APPEND_STRING must have a space in frontStanislaw Halik
2017-05-03cmake: conditionalize .pdb install on MSVCStanislaw Halik
I haven't written the binutils equivalent yet. The official builds will come with debug info but it defaults to disabled. cf. https://github.com/opentrack/opentrack/issues/605#issuecomment-298856218
2017-05-03cmake: simplifyStanislaw Halik
The original was pretty tasteless.
2017-05-03cmake: also set .pdb generation, duhStanislaw Halik
2017-05-03cmake: simplifyStanislaw Halik
otr_module is still long but more readable now. There shouldn't be any breaking changes. Also, .pdb install is now enabled. The rationale is that unless the user performs a build on his own, the original .pdb files are long gone. Still need to add splitdebug for Unix installations.
2017-05-03revert msvc utf-8 source file encodingStanislaw Halik
cf. https://github.com/opentrack/opentrack/issues/605#issuecomment-298637288
2017-05-02cmake/msvc: always pass -source-charsetStanislaw Halik
The toolchain file isn't always used.
2017-04-30cmake/msvc: don't warn on charset includesStanislaw Halik
They're in dependencies.
2017-04-29cmake/msvc: don't force sse2 for all projectsStanislaw Halik
In particular OpenCV now branches on extensions at runtime.
2017-04-20cmake: disable lto miscompiling binariesStanislaw Halik
2017-04-18cmake: remove skip-translation-update cache varStanislaw Halik
Better way is to checkout .ts files from the current branch after running `make i18n'.
2017-04-12cmake/mingw-w64: mess it up againStanislaw Halik
2017-04-12cmake: don't barf out on nonexistent files in lreleaseStanislaw Halik
2017-04-07cmake: remove PROJECT() scope from subdirectoriesStanislaw Halik
cf. https://bugreports.qt.io/browse/QTCREATORBUG-17955
2017-04-06cmake: PROJECT() must be invoked from inside a macroStanislaw Halik
Otherwise CMAKE_PROJECT_NAME and PROJECT_NAME are equal when invoked from inside a function. Also, split headers and units into separate variables for further testing. cf. https://bugreports.qt.io/browse/QTCREATORBUG-17955
2017-04-06cmake: update few toolchain filesStanislaw Halik
cf. https://github.com/opentrack/opentrack/issues/586#issuecomment-291313687
2017-03-30cmake: add skipping lupdate againStanislaw Halik
2017-03-29cmake: fix buildStanislaw Halik
2017-03-28cmake: fix i18n targetStanislaw Halik
2017-03-28trivial onlyStanislaw Halik
2017-03-28start renaming internal macros as OPENTRACK_* to OTR_*Stanislaw Halik
2017-03-27cmake: rename project's function prefixStanislaw Halik
It's not annoying having to type it anymore. Also "otr_boilerplate" -> "otr_module".
2017-03-27cmake/msvc: these are already set in cmake/opentrack-platformStanislaw Halik
2017-03-27cmake/msvc: fix accidental cmdline duplicationStanislaw Halik
2017-03-27cmake: fix duplication of -DFOO on cmdlineStanislaw Halik
Also /GR- doesn't belong here.
2017-03-27cmake: remove -DNDEBUG from cxxflags automaticallyStanislaw Halik
User came complain why ndebug-guard.hpp #error'ed out.
2017-03-24cmake: disable RTTI on msvcStanislaw Halik
2017-03-22cmake: oops, output target deleted the fileStanislaw Halik
2017-03-22cmake: allow for skipping translation updateStanislaw Halik
2017-03-22cmake: don't remove module type from defineStanislaw Halik
2017-03-21cmake/msvc: need linker static flagsStanislaw Halik
2017-03-21cmake/msvc: remove nosensical conditionalStanislaw Halik
2017-03-21cmake/msvc: oh for crying out loudStanislaw Halik
2017-03-21cmake/msvc: do it right this timeStanislaw Halik
2017-03-21cmake/msvc: bail on linker errorsStanislaw Halik
2017-03-18cmake/msvc: disable truncation warningStanislaw Halik
2017-03-18cmake/msvc: don't sanity-check vcvarsall runStanislaw Halik
Depended on VC++ 14.
2017-03-17cmake/git: don't list that checkout is dirtyStanislaw Halik
Given that i18n stuff regens all the time it's annoying.
2017-03-01cmake: delist spurious opencv moduleStanislaw Halik
2017-02-25cmake/i18n: rebuild .qm if .ts changesStanislaw Halik
2017-02-25cmake/version: don't export from static libraryStanislaw Halik
2017-02-24cmake: install program sources more robustlyStanislaw Halik
Before it skipped some subdirectory parts.
2017-02-24cmake/i18n: fix dependenciesStanislaw Halik
Was broken on Unix make.
2017-02-23cmake/i18n: express i18n target deps properlyStanislaw Halik
2017-02-22cmake: change translation regen logicStanislaw Halik
- lupdate runs after every source code change for that module - lrelease depends on .ts files created by lupdate - SDK_REGEN_TRANSLATIONS got removed - file dependencies are expressed right, so parallel build works
2017-02-22cmake/i18n: express file dependencies correctlyStanislaw Halik
Otherwise parallel make was doing lupdate -> lrelease out of order, leading to badness. Also build failing unless all .ts files existed. We need a way to bootstrap .ts files obviously.