Commit Graph

15 Commits

Author SHA1 Message Date
Christian Hohnstaedt
89b7c6beea codespell: Fix spelling issues, no functional changes 2025-03-28 18:11:18 +01:00
Christian Hohnstaedt
5f4b4dca6f Fix documentation in txt files
and include the "text_header_file.cmake"
into the CMakeLists.txt
2025-03-28 11:51:51 +01:00
Christian Hohnstaedt
7d3ff4f0f9 Add OpenSSL PURPOSE and validation results
A new tab on the certificate details dialog
shows the result of the OpenSSL validation process
and the calculated OpenSSL Purpose.

The translation of the OpenSSL X509_V_ERR.... messsages
back to strings is done by grepping them from "openssl/x509_vfy.h"
and wrapping them into a macro-call.
Additionally guard them by an #ifdef (Zombieland rule #2: Double-Tap)
This way:
 - I don't need to test and check in which versions of OpenSSL
   which errors are available or not
 - New errors will be picked up automatically, as long as they
   match the "X509_V_ERR_" pattern
2024-09-29 14:12:17 +02:00
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
76763ea98c cmake: include() the CMakeLists.txt file
instead of add_subdirectory() them.

in all subdirectories set ${S} and ${D}
as shortcuts for CMAKE_CURRENT_SOURCE_DIR
and CMAKE_CURRENT_BINARY_DIR
2021-06-01 17:48:38 +02:00
Christian Hohnstädt
ae00878274 cmake: Improve packaging 2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
6de3816a4a cmake: Improve creating the .txt files
Use the preamble file
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 Hohnstaedt
915a920de8 cmake: Split CMakeLists.txt into the different sub directories
mv cmake/sphinx-documentation.cmake -> doc/CMakeLists.txt
2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
d319a68b61 Properly escape backslash 2021-06-01 17:48:37 +02:00
Christian Hohnstaedt
c8d994225d Check availability of qcollectiongenerator to generate documentation
and skip it if qcollectiongenerator does not exist
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