Commit Graph

7 Commits

Author SHA1 Message Date
Christian Hohnstaedt
d5d9e86352 Whitespace fixup for CMake files
replace tabs by spaces
2024-09-06 10:53:02 +02:00
Christian Hohnstaedt
ced6dfc41a Add support for Qt6
XCA now supports both, Qt6 and Qt5 down to Qt-5.2

Use CMAKE_PREFIX_PATH to point to the QT dompiler directory like
$ cmake -B build -DCMAKE_PREFIX_PATH=$HOME/6.3.1/gcc_64
2022-08-31 00:09:37 +02:00
Christian Hohnstädt
06fbe10d24 cmake: fixup undefined variables
Remove unused variables, define variables for all platforms
and fix typo
2022-01-03 20:03:31 +01:00
Christian Hohnstädt
ae00878274 cmake: Improve packaging 2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
1397f10a73 cmake: Add target "release" to create a tar.gz from a git tag
cmake -DRELEASE_TAG=master --build . && make release
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
e78a254b48 cmake: Always set CMAKE_VERSION_[MAJOR|MINOR|PATCH]
It is also used by others
2021-06-01 17:48:37 +02:00
Christian Hohnstädt
68273d0a30 Switch from autotools/qmake to cmake
Why?
 - QT will switch from qmake to cmake sooner or later.
 - autotools are good for unix-ish systems, cmake also for
   macOS and Xcode as well as Windows and VS-code
 - Cross compiling the windows-binaries on linux
   is not very helpful to attract windows-centric
   developers.

Also drop qmake's xca.pro
Generate man-page and sphinx sources of commandline arguments
during build by executing xca (xcadoc.cpp).
Generating Version-patchlevel and git hash is now also
OS independent.
2021-06-01 17:48:37 +02:00