summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
AgeCommit message (Collapse)Author
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
2016-08-23cmake: don't try to editbin static libraries. avoid warning.Stanislaw Halik
2016-08-23cmake: refactor boilerplate for projectsStanislaw Halik
Don't rely on a macro that shouldn't be necessary. The information "opentrack_boilerplate" retrieves is now factored out to be easily available to projects themselves. opentrack_boilerplate can now also build executables. When appropriate, target properties are now concatenated rather than replaced.
2016-08-23cmake: don't force stuff for msvc linkStanislaw Halik
2016-08-17move options framework into its own libraryStanislaw Halik
- adjust usages - add support for QList signals and metatype
2016-08-14cmake: add more stuff from source dir to source in install prefixStanislaw Halik
2016-08-14cmake: install source code to right directoriesStanislaw Halik
2016-08-10cmake: install CMakeFiles.txt and cmake/ subdir into doc/source-codeStanislaw Halik
2016-07-19proto/wine: unbreakStanislaw Halik
2016-07-19cmake: install source code as wellStanislaw Halik
2016-07-18cmake: expose more prefixes in generated headerStanislaw Halik
2016-07-18cmake: allow for installing a dll alongside the main executableStanislaw Halik
2016-07-07cmake: include keyword parser at call site onlyStanislaw Halik
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-06gui, api, csv: support hier(7) on UnixStanislaw Halik
This affects platforms such as FreeBSD, Cygwin or Linux.
2016-05-23cmake: fix boilerplate for NO-LIBRARY + STAGE2Stanislaw Halik
2016-05-23cmake{/gui,}: make boilerplate usable for building the executableStanislaw Halik
2016-05-22cmake: rename macros -> boilerplateStanislaw Halik