chore: enhance clangd and CI configurations for improved development experience
- Updated `.clangd` configuration to include additional include paths and feature flags tailored for ROM hacking workflows, optimizing IntelliSense support. - Introduced `.pre-commit-config.yaml` for managing code quality checks and formatting, ensuring consistent code style across the project. - Added `cmake-format.yaml` for CMake formatting configuration, promoting adherence to style guidelines. - Enhanced CI workflows to include new actions for testing and building, improving overall reliability and efficiency in the development process. Benefits: - Streamlines development setup and improves code quality through automated checks. - Facilitates better collaboration by ensuring consistent coding standards and configurations.
This commit is contained in:
23
cmake/packaging/macos.cmake
Normal file
23
cmake/packaging/macos.cmake
Normal file
@@ -0,0 +1,23 @@
|
||||
# macOS Packaging Configuration
|
||||
|
||||
# Create .dmg package
|
||||
set(CPACK_GENERATOR "DragNDrop")
|
||||
set(CPACK_DMG_VOLUME_NAME "yaze")
|
||||
set(CPACK_DMG_FORMAT "UDZO")
|
||||
set(CPACK_DMG_BACKGROUND_IMAGE "${CMAKE_SOURCE_DIR}/assets/yaze.png")
|
||||
|
||||
# App bundle configuration
|
||||
set(CPACK_BUNDLE_NAME "yaze")
|
||||
set(CPACK_BUNDLE_PACKAGE_TYPE "APPL")
|
||||
set(CPACK_BUNDLE_ICON "${CMAKE_SOURCE_DIR}/assets/yaze.icns")
|
||||
|
||||
# Code signing (if available)
|
||||
if(DEFINED ENV{CODESIGN_IDENTITY})
|
||||
set(CPACK_BUNDLE_APPLE_CERT_APP "$ENV{CODESIGN_IDENTITY}")
|
||||
set(CPACK_BUNDLE_APPLE_CODESIGN_FORCE "ON")
|
||||
endif()
|
||||
|
||||
# Notarization (if available)
|
||||
if(DEFINED ENV{NOTARIZATION_CREDENTIALS})
|
||||
set(CPACK_BUNDLE_APPLE_NOTARIZATION_CREDENTIALS "$ENV{NOTARIZATION_CREDENTIALS}")
|
||||
endif()
|
||||
Reference in New Issue
Block a user