summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
AgeCommit message (Collapse)Author
2017-12-09compat: add easier translate boilerplate for non-qobjectStanislaw Halik
2017-11-02cmake: fix buildStanislaw Halik
2017-10-28cmake: stuffStanislaw Halik
2017-10-20some nonsenseStanislaw Halik
2017-10-13cmake: disable cotire for nowStanislaw Halik
2017-10-08cmake: add precompiled header generatorStanislaw Halik
cf. https://github.com/sakra/cotire
2017-10-08use "static" once, don't propagate from a macroStanislaw Halik
2017-10-02cmake: wtf, all modules need include ${CMAKE_BINARY_DIR}Stanislaw Halik
2017-09-30cmake: split i18n into own fileStanislaw Halik
2017-08-25cmake: fix typoStanislaw Halik
2017-08-25cmake: fix make clean for i18n filesStanislaw Halik
`make clean' was deleting .ts files. Thanks to @MrCapone for diagnosing this issue. Fixes: #677
2017-08-14cmake: preliminary support for clang with vc++ codegenStanislaw Halik
2017-08-14cmake: drop executable bit from installed normal filesStanislaw Halik
2017-08-14cmake: get lupdate/lrelease pathnamesStanislaw Halik
cf. #669
2017-08-04fixed qt binaries location for linuxDmitry
2017-07-29cmake: fix Linux buildStanislaw Halik
Issue: #661
2017-07-28cmake: fix mingw-w64 llvm buildStanislaw Halik
2017-07-16cmake: install existing i18n files when update disabledStanislaw Halik
That was never intended.
2017-06-22cmake: rename cache varStanislaw Halik
2017-06-19cmake: use DEFINE_SYMBOL target property rather than NIHStanislaw Halik
2017-06-19cmake: add cache variablesStanislaw Halik
2017-06-18cmake: random nonsenseStanislaw Halik
2017-06-07cmake: cleanupStanislaw Halik
We now inherit parent process' console. No need for the cmake cache option.
2017-05-24cmake: avoid rebuilds wrt win32 subsystemStanislaw Halik
2017-05-16cmake: fix i18n target dependenciesStanislaw Halik
The real error was on the "DEPENDS" like in boilerplate.cmake. The rest is merely removing dead code.
2017-05-16nothingStanislaw Halik
2017-05-16add otr_prop for appending property stringsStanislaw Halik
2017-05-16cmake: fix makefile dependenciesStanislaw Halik
2017-05-14Merge branch 'unstable' into unstableStanisław Halik
2017-05-12cmake: don't relink when no headers changeStanislaw Halik
This makes release builds hella fast.
2017-05-12fix linux buildSven Kocksch
2017-05-10cmake: fix var expansion for older cmake versionsStanislaw 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
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-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-03-28cmake: fix i18n targetStanislaw 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-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-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-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.
2017-02-13cmake: allow run i18n target if SDK_REGEN_TRANSLATIONS is falseStanislaw Halik
2016-12-28cmake: fix translations on LinuxStanislaw Halik