Commit Graph

25 Commits

Author SHA1 Message Date
Yixue Wang 81e3d9c093 feat: Support VERSION file
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>
2025-06-06 17:11:20 +08:00
ck f5fd6cf9a8 feat: support dtk6core build
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
2023-06-16 08:32:50 +08:00
wangyixue d8c7f501a0 fix(cmake): wrong use of option and wrong macro
* 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
2023-05-22 16:44:37 +08:00
rewine c6c9aa8332 fix: must set CMAKE_INSTALL_PREFIX before GNUInstallDirs
Log: Never modify the value of CMAKE_INSTALL_PREFIX after including GNUInstallDirs, Otherwise incorrect CMAKE_INSTALL_FULL_XXXX values will be computed
2023-04-28 07:40:50 +00:00
wangyixue 1d05dbd0fc chore: update changelog
Bump version to 5.6.8.

Log: update changelog to 5.6.8
2023-02-22 15:02:48 +08:00
wangyixue ce3894ea37 chore: update changlog
Release 5.6.6.

Log: update changelog to 5.6.6
2023-02-21 15:19:03 +08:00
heyuming d1605f7da2 feat: support Qt6
Log: 支持Qt6
2023-02-14 13:22:03 +08:00
xzl 098e3975f0 fix: Removing strong dependencies on systemd
去除对systemd的强依赖

Log:
2023-02-06 15:24:41 +08:00
wangyixue 72265921b6 chore: add pie and as-needed linker flags for exe
Add -pie and -Wl,--as-needed linker flags while linking exe. Suppress
hardening-no-pie lintian warning and useless dependency warning.

Log: add linker flags and fix warning
2023-01-09 13:12:00 +08:00
wangyixue d7433df0b2 chore: add DtkDConfig package
Add DtkDConfigConfig.cmake file. Now find_package(DtkCore) can also find
DConfig support.

Log: add DtkDConfig package
2023-01-06 17:02:04 +08:00
wangyixue b061a1b27e chore: change include and tool directory
Change include and tool directory to dtk${PROJECT_VERSION_MAJOR}.

Log: change include and tool directory
2023-01-03 17:16:40 +08:00
wangyixue 950aef580b feat: add support for cmake target link
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
2022-12-23 10:22:12 +08:00
Ye ShanShan b6ff48d01a fix: Remove ASan check for debug
Removing asan check

Log: 移除库的asan检测
Influence: none
Change-Id: I05ba51f5a0111f86c0231dc72e343b37703ec30d
2022-11-29 20:33:14 +08:00
xzl 93dbaf9feb docs: add doxygen docs
添加doxgen文档

Log:
2022-11-15 03:28:36 -06:00
rewine 8ce7d3e3c7 feat: Optimize compilation parameters
Log: Optimize compilation parameters
2022-10-09 07:21:28 +00:00
rewine 563a954d9c feat: set DtkCore_LIBRARY_DIRS
Log: set DtkCore_LIBRARY_DIRS
2022-09-28 01:06:58 +00:00
rewine 17c429611f chore: use SameMajorVersion in version file
Log: dtk 5 与 dtk 6 不保证兼容,使用 SameMajorVersion 更好
2022-09-20 09:04:21 +00:00
rewine 40324bf909 fix: use FULL install path
Log: 安装路径使用绝对路径, INCLUDE_INSTALL_DIR 会传给 .pc 文件
2022-09-08 01:53:37 +00:00
rewine 5321d477ad feat: use CMakePackageConfigHelpers to generate better config.cmake
1. 对 CMAKE_INSTALL_PREFIX 默认值修改移动到根目录 CMakeLists.txt
2. 增加 INCLUDE_INSTALL_DIR TOOL_INSTALL_DIR 变量化简写法
3. 使用专门处理 config.cmake 的 configure_package_config_file 函数代替 configure_file
4. 使用 write_basic_package_version_file 生成 cmake 用的版本文件
5. 补充 pkg-config 的 -L 参数
6. 使用更普适的方法配置 pkg-config 内路径
2022-09-07 10:01:28 +00:00
rewine 513d12a0c1 chore(mkspecs): define mkspecs self
Log: mkspecs path
2022-09-06 06:37:03 +00:00
Wang Zichong 71bb1cd1dd fix: wrong option() usage in CMakeLists.txt
修复错误的 option() 用法

Log:
2022-09-01 02:50:10 +00:00
chenhongtao 552c42794e chore(package): unit test, coverage
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
2022-08-30 08:14:36 +00:00
chenhongtao d0c66b03a6 feat(doc): add package for doc
build the package for doc

Log: build package of doc
2022-08-29 09:33:59 +08:00
ShootingStarDragons db5ae947fe feat(tocmake): tocmake
Change the build system to cmake

Log: use cmake
2022-08-16 07:50:54 +00:00
Gary Wang 86ae88ebe4 chore: build doxygen documentation
追加基于 doxygen 的文档构建

Log:
2022-07-04 08:57:29 +00:00