feat: rename project to DualFloatingClock, add README, public release
Build and Release DualFloatingClock / build-linux (push) Failing after 32s
CI Build / build (macos-latest) (push) Canceled after 0s
CI Build / build (windows-latest) (push) Canceled after 0s
Build and Release DualFloatingClock / build-macos (push) Canceled after 0s
Build and Release DualFloatingClock / build-windows (push) Canceled after 0s
Build and Release DualFloatingClock / generate-changelog (push) Canceled after 0s
Build and Release DualFloatingClock / create-release (push) Canceled after 0s

- Full rename: CMake target, bundle, LaunchAgent label
  (com.dualfloatingclock.clock), QSettings org/app, tray tooltip,
  icns resource, build scripts, CI workflows, sample config
- Config XML: new root DualFloatingClockConfig; reader accepts legacy
  ClouckConfig root for painless migration of existing settings
- README rewritten: fork provenance (ivaquero/clouck), features, build,
  tests, usage
- Drop stale README-CN.md
This commit is contained in:
2026-08-27 22:36:05 +03:00
parent db02df7ca2
commit 45fc172fc8
16 changed files with 129 additions and 359 deletions
+12 -12
View File
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.16)
project(Clouck)
project(DualFloatingClock)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
@@ -49,13 +49,13 @@ endif()
# macOS app icon
if(APPLE)
set(MACOSX_BUNDLE_ICON_FILE clouck.icns)
set(APP_ICON_MACOSX ${CMAKE_CURRENT_SOURCE_DIR}/resources/clouck.icns)
set(MACOSX_BUNDLE_ICON_FILE dualfloatingclock.icns)
set(APP_ICON_MACOSX ${CMAKE_CURRENT_SOURCE_DIR}/resources/dualfloatingclock.icns)
set_source_files_properties(${APP_ICON_MACOSX} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
endif()
# Create executable
qt6_add_executable(Clouck WIN32 MACOSX_BUNDLE
qt6_add_executable(DualFloatingClock WIN32 MACOSX_BUNDLE
${SOURCES}
${HEADERS}
${APP_ICON_MACOSX}
@@ -63,25 +63,25 @@ qt6_add_executable(Clouck WIN32 MACOSX_BUNDLE
# Platform-specific sources and libraries
if(APPLE)
target_sources(Clouck PRIVATE window_helper_macos.mm)
target_link_libraries(Clouck PRIVATE "-framework AppKit" "-framework CoreGraphics")
target_sources(DualFloatingClock PRIVATE window_helper_macos.mm)
target_link_libraries(DualFloatingClock PRIVATE "-framework AppKit" "-framework CoreGraphics")
endif()
if(WIN32)
target_sources(Clouck PRIVATE window_helper_windows.cpp)
target_link_libraries(Clouck PRIVATE user32 dwmapi)
target_sources(DualFloatingClock PRIVATE window_helper_windows.cpp)
target_link_libraries(DualFloatingClock PRIVATE user32 dwmapi)
endif()
if(UNIX AND NOT APPLE)
target_sources(Clouck PRIVATE window_helper_linux.cpp)
target_link_libraries(Clouck PRIVATE ${X11_LIBRARIES} Xfixes)
target_sources(DualFloatingClock PRIVATE window_helper_linux.cpp)
target_link_libraries(DualFloatingClock PRIVATE ${X11_LIBRARIES} Xfixes)
endif()
# Link Qt libraries
target_link_libraries(Clouck PRIVATE Qt6::Core Qt6::Widgets)
target_link_libraries(DualFloatingClock PRIVATE Qt6::Core Qt6::Widgets)
# Set up install
install(TARGETS Clouck
install(TARGETS DualFloatingClock
RUNTIME DESTINATION bin
BUNDLE DESTINATION bin
)