Skip to content

Commit cb7761e

Browse files
committed
Examples: remove HelloWorld
Remove the `HelloWorld` project. This was always meant to be closer to a project template. This is now deprecated and best handled in an external repository at https://github.com/compnerd/swift-win32-application. The template project provides the appropriate structure without the additional complexity of a general purpose project. It should allow for an easier time for someone to get started.
1 parent 2c4d94d commit cb7761e

File tree

5 files changed

+1
-84
lines changed

5 files changed

+1
-84
lines changed

Examples/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
add_subdirectory(Calculator)
2-
add_subdirectory(HelloWorld)
3-
add_subdirectory(UICatalog)
2+
add_subdirectory(UICatalog)

Examples/HelloWorld/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

Examples/HelloWorld/HelloWorld.swift

Lines changed: 0 additions & 32 deletions
This file was deleted.

Examples/HelloWorld/Info.plist

Lines changed: 0 additions & 23 deletions
This file was deleted.

Package.swift

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ let SwiftWin32 = Package(
99
.library(name: "SwiftWin32UI", type: .dynamic, targets: ["SwiftWin32UI"]),
1010
.executable(name: "UICatalog", targets: ["UICatalog"]),
1111
.executable(name: "Calculator", targets: ["Calculator"]),
12-
.executable(name: "HelloWorld", targets: ["HelloWorld"]),
1312
],
1413
dependencies: [
1514
// NOTE(compnerd) require main as no current release has support for the
@@ -67,22 +66,6 @@ let SwiftWin32 = Package(
6766
]),
6867
]
6968
),
70-
.executableTarget(
71-
name: "HelloWorld",
72-
dependencies: [
73-
"SwiftWin32",
74-
],
75-
path: "Examples/HelloWorld",
76-
exclude: [
77-
"CMakeLists.txt",
78-
"Info.plist",
79-
],
80-
swiftSettings: [
81-
.unsafeFlags([
82-
"-parse-as-library",
83-
]),
84-
]
85-
),
8669
.executableTarget(
8770
name: "UICatalog",
8871
dependencies: [

0 commit comments

Comments
 (0)