add placeholder icon & source groups

This commit is contained in:
a dinosaur 2024-08-05 12:33:07 +10:00
parent dc10f5d0ce
commit 3801e23146
3 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,5 @@
add_executable(Voxelotl MACOSX_BUNDLE
Voxelotl.icns
Application.swift
main.swift)
@ -13,6 +14,7 @@ set_target_properties(Voxelotl PROPERTIES
MACOSX_BUNDLE_BUNDLE_VERSION "${PROJECT_VERSION}"
MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION}"
MACOSX_BUNDLE_GUI_IDENTIFIER "gay.pizza.voxelotl"
MACOSX_BUNDLE_ICON_FILE "Voxelotl.icns"
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info.plist.in"
BUILD_RPATH "@loader_path/../Frameworks"
XCODE_ATTRIBUTE_SKIP_INSTALL "NO"
@ -21,3 +23,7 @@ set_target_properties(Voxelotl PROPERTIES
XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE "Metal"
XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "${CMAKE_CURRENT_SOURCE_DIR}/Voxelotl.entitlements"
MACOSX_BUNDLE_COPYRIGHT "© 2024 Gay Pizza Specifications")
set_source_files_properties(Voxelotl.icns PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
source_group("Resources" FILES Voxelotl.icns)
source_group("Source Files" REGULAR_EXPRESSION "\\.(swift)$")

View File

@ -4,5 +4,7 @@
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>

Binary file not shown.