Introduce chkgfx #3
No files matched your search
@@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleName</key>
|
||||||
|
<string>OGS Mahjong</string>
|
||||||
|
<key>CFBundleDisplayName</key>
|
||||||
|
<string>OGS Mahjong</string>
|
||||||
|
<key>CFBundleIdentifier</key>
|
||||||
|
<string>org.opengamestudio.Mahjong</string>
|
||||||
|
<key>CFBundleExecutable</key>
|
||||||
|
<string>ogs-mahjong</string>
|
||||||
|
<key>CFBundleIconFile</key>
|
||||||
|
<string>AppIcon</string>
|
||||||
|
<key>CFBundlePackageType</key>
|
||||||
|
<string>APPL</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>2.0.0</string>
|
||||||
|
<key>CFBundleVersion</key>
|
||||||
|
<string>1</string>
|
||||||
|
<key>LSMinimumSystemVersion</key>
|
||||||
|
<string>11.0</string>
|
||||||
|
<key>NSHighResolutionCapable</key>
|
||||||
|
<true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
// swift-tools-version: 5.9
|
||||||
|
import Foundation
|
||||||
|
import PackageDescription
|
||||||
|
|
||||||
|
let raylibPrefix = ProcessInfo.processInfo.environment["RAYLIB_PREFIX"] ?? "/opt/homebrew"
|
||||||
|
|
||||||
|
let package = Package(
|
||||||
|
name: "OGSMahjong",
|
||||||
|
platforms: [
|
||||||
|
.macOS(.v13)
|
||||||
|
],
|
||||||
|
targets: [
|
||||||
|
.target(
|
||||||
|
name: "RaylibBridge",
|
||||||
|
path: "src/raybri",
|
||||||
|
publicHeadersPath: ".",
|
||||||
|
cSettings: [
|
||||||
|
.unsafeFlags(["-I", "\(raylibPrefix)/include"])
|
||||||
|
]
|
||||||
|
),
|
||||||
|
.executableTarget(
|
||||||
|
name: "ogs-mahjong",
|
||||||
|
dependencies: ["RaylibBridge"],
|
||||||
|
path: "src",
|
||||||
|
exclude: ["raybri"],
|
||||||
|
swiftSettings: [
|
||||||
|
.unsafeFlags(["-Xcc", "-DGL_SILENCE_DEPRECATION"])
|
||||||
|
],
|
||||||
|
linkerSettings: [
|
||||||
|
.unsafeFlags([
|
||||||
|
"-L", "\(raylibPrefix)/lib",
|
||||||
|
"-lraylib"
|
||||||
|
])
|
||||||
|
]
|
||||||
|
)
|
||||||
|
]
|
||||||
|
)
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../res
|
||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
../../res
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user