# BeatStatistics **Repository Path**: hubenflag/beat-statistics ## Basic Information - **Project Name**: BeatStatistics - **Description**: 节拍管理 11月20 15:13分不能删除 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-20 - **Last Updated**: 2025-01-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ``` ## store 优化 MicroXRCEAgent udp4 --port 22018 --discovery # 使用 windeployqt 确保必要的文件被复制,打包后没成功,不会自动 add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND windeployqt $ WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} ) ``` ``` $ ./BeatStatistics --path="D:/20241122/中文/" 假设您将应用程序编译为 BeatManager,以下是示例用法: 使用默认路径: $ ./BeatManager 指定自定义的 IMPORTANALYSIS 路径: $./BeatManager --path /custom/path/to/IMPORTANALYSIS ``` ## 打包命令 ### 注意: ### 在打包时,为了避免执行格式化,请确保在配置时禁用 RUN_FORMAT 选项。 ### 例如,您可以在打包命令中传递 -DRUN_FORMAT=OFF: ### 配置项目(默认会运行格式化) ### cmake -S . -B build ### 或者,配置项目时禁用格式化 ### cmake -S . -B build -DRUN_FORMAT=OFF ``` $ sudo rm -r * $ cmake .. $ make -j8 $ cpack $ windeployqt $ -- 只有再window中才需要执行进入到打包目录 比如 windeployqt BeTreeClient.exe ``` ## Linux 和 macOS ``` mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX="/home/lc/Documents/中文APP_Data/" .. make -j8 make install ``` ## 在 Windows 上使用命令行(例如 PowerShell 或 CMD): 在 Windows 上,虽然 MSYS2 支持 Unix 风格的路径(如 /home/lc/Documents/中文APP_Data/),推荐使用 Windows 风格的路径(如 D:/Documents/中文APP_Data/),以避免潜在的路径解析问题。 ``` mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX="D:/" -G "Unix Makefiles" .. make -j8 make install ```