Use VERSION file to manage DTK version. VERSION file defines package
version. It also decides the initial value of cached variable
DTK_VERSION which controls the project version in cmake build system.
VERSION file is not synchronized to DTK6, as DTK6 has its own VERSION
file. One can still pass version to DTK_VERSION when running cmake
configure. This is helpful for developers.
Signed-off-by: Yixue Wang <wangyixue@deepin.org>
cmake -DDVERSION=6.0.0 to build libdtk6core
install qdbusxml2cpp-fix to DCore/bin to avoid conficts
do not build doc when build dtk6
remove Core5Compat depends
DVERSION ==> DTK_VERSION
tools install to CMAKE_INSTALL_LIBEXECDIR
* BUILD_VERSION should be a string, not a boolean option;
* Should use CMAKE_INSTALL_PREFIX as DSG_PREFIX_PATH in test,
CMAKE_PREFIX_PATH might be a list. And there's difference between
two variables;
* Trim some trailing spaces.
Log: fix wrong use of option and wrong macro
Log: Never modify the value of CMAKE_INSTALL_PREFIX after including GNUInstallDirs, Otherwise incorrect CMAKE_INSTALL_FULL_XXXX values will be computed
Now users can simple find_package, and then target_link_libraries with
Dtk::Core. There is no need to invoke target_include_directories,
target_link_libraries will do all things for you.
Log: add cmake target link support
use better optionname and use test , make test link to -lgcov , then
coverage can be caculated. And use ctest , the cmake command to run
tests
fix test-recoverage bash scipts
Log: option name changed , use ctest command, fix test-recoverage script