Commit Graph
4 Commits
Author SHA1 Message Date
Андрей Лухнов 601fc38f06 Fix qmake version generator
cmake's `execute_process()` has `WORKING_DIRECTORY` parameter, but qmake's `$$system()` does not.

As a workaround for qmake, `git` command was called with `--git-dir` provided explicitly.
But for dirtyness detection we need `--work-tree`, too.

Follow-up for https://github.com/fralx/LimeReport/pull/471#issuecomment-2362114994
2024-09-20 08:03:38 +03:00
Андрей Лухнов 0fca7169d3 Define code style and format all source file using clang-format-14
except those placed in 3rdparty directories.
2024-09-19 21:09:38 +03:00
Андрей Лухнов b534c2bec0 Automate version generation
Version is now generated automatically based on git tags.
Both cases are handled: building from git tree and building tarball downloaded from github.

Works for qmake and cmake
2024-09-19 09:42:00 +03:00
Андрей Лухнов b143441f9c Add canonical ignore rules from gitignore.io
Toolkits: Qt
IDEs: intellij+iml, visualstudiocode, qtcreator
Build Systems: cmake
OSes: linux, macos, windows
2024-09-01 11:00:35 +03:00