Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift builder initial approach #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

theromis
Copy link

@theromis theromis commented Oct 30, 2024

Finally have something working

$ cat hello.swift
// Swift "Hello, World!" Program

print("Hello, World!")
$ cat SConstruct
env = Environment(tools=['default','swift'])
env.Swift('hello')
$ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
/usr/bin/swiftc -c hello.swift
scons: done building targets.

@mwichmann
Copy link
Collaborator

I'd say this looks quite promising!

Is a scanner needed to determine implicit dependencies? I know Swift doesn't use header files, but my knowledge doesn't extend further.

@theromis
Copy link
Author

Have to try serious build in godot with SwiftUI, cuz my current test was just Hello world build, but Swift is very important for all Apple development nova days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants