summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
AgeCommit message (Collapse)Author
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
2016-12-16cmake: fix mrproper -> install without regen translations enabledStanislaw Halik
2016-12-08cmake: fix typoStanislaw Halik
Wow, it's been there for a while
2016-12-08cmake: fix translations always updatingStanislaw Halik
2016-12-08cmake: fix translation generationStanislaw Halik
2016-11-05cmake: fix build when .ts not made yetStanislaw Halik
2016-11-04cmake, main: add translation supportStanislaw Halik
2016-09-21cmake: don't install .pdb for nowStanislaw Halik
They're big as hell and take too much time to compress.
2016-09-21cmake: move install pdb as separate functionStanislaw Halik
2016-09-20cmake: install .pdb filesStanislaw Halik
2016-09-20cmake: set install prefix permissions consistentlyStanislaw Halik
2016-09-19cmake: allow for build without installStanislaw Halik
For unfinished modules to avoid bit rot.
2016-09-16cmake: allow for "mrproper" to delete install directoryStanislaw Halik
This doesn't yet support mingw-w64 builds. Isn't hard to implement. The build script automatically copies Qt libraries in the right place. Now we have no more stale stuff in the install directory. In fact, everything but CMakeCache.txt is deleted.
2016-09-11cmake/boilerplate: remove tautologyStanislaw Halik
2016-09-06cmake: checking for some env var is not the way to validate the proper build ↵DaMichel
environment
2016-08-28fixup! cmake/msvc: add warning flag logic to toolchain defStanislaw Halik
2016-08-28cmake: boilerplate stuffStanislaw Halik
- add SOURCES param for extra sources - NO-QT will skip moc invocation entirely
2016-08-23cmake: remove debug codeStanislaw Halik