Commit Graph

13 Commits

Author SHA1 Message Date
ck 1a6e919cc5 refactor: log files move to dtklog
Issue: linuxdeepin/dtk#182

dtklog: https://github.com/linuxdeepin/dtklog
2024-07-05 14:13:31 +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
ck edbc7c0eda chore: log file function and line by default
add QT_MESSAGELOGCONTEXT dfinetions by default
log file function line by default

Log: log
Change-Id: I119eb2ffe4ac3d372fba874b99b9fc75131c0d6e
2023-02-16 14:21:10 +08:00
heyuming d1605f7da2 feat: support Qt6
Log: 支持Qt6
2023-02-14 13:22:03 +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 adc8a2e764 chore: remove dependency search
Remove pkg_check_modules for gsettings-qt

Log: remove dependency search
2022-12-23 14:51:02 +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
wangyixue 2a9edc17dd chore: fix linking error
DtkCoreConfig.cmake will always find the library under system library
path. This will cause a linking error when you want to use the version
deployed by yourself. Fix that by appending the path prefix.

Log: fix DtkConfig.cmake.in
Influence: DtkConfig.cmake.in
2022-12-05 10:38:03 +08:00
rewine 563a954d9c feat: set DtkCore_LIBRARY_DIRS
Log: set DtkCore_LIBRARY_DIRS
2022-09-28 01:06:58 +00:00
rewine e3f7f6bbd9 fix: don't check DtkCore_TOOL_DIR cause split pkgs
Log: deepin 中,tool 会被分到和 dev 不同的包,因此 dev 提供的 config.cmake  不应该检查
DtkCore_TOOL_DIR 是否存在
2022-09-08 14:38:00 +08: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
ShootingStarDragons db5ae947fe feat(tocmake): tocmake
Change the build system to cmake

Log: use cmake
2022-08-16 07:50:54 +00:00