Commit 857bc85
committed
refactor(tests): modernize CMake configuration for notification server tests
Replaced global CMAKE_CXX_FLAGS with target-specific compile options
using target_compile_options() for better encapsulation.
Removed redundant include(GoogleTest) since find_package(GTest) is already called.
Log: Modernize CMake configuration for notification server tests
Influence:
1. Verify notifyserverapplet_tests builds successfully
2. Confirm no CMake configuration warnings
refactor(tests): 现代化通知服务器测试的 CMake 配置
使用 target_compile_options() 替代全局 CMAKE_CXX_FLAGS,
提供更好的封装性。移除冗余的 include(GoogleTest)。
Log: 现代化通知服务器测试的 CMake 配置
Influence:
1. 验证 notifyserverapplet_tests 构建成功
2. 确认没有 CMake 配置警告1 parent e120516 commit 857bc85
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments