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

[SR-6432] [SwiftPM] Allow marking a C library target as an executable #4913

Open
ddunbar opened this issue Nov 18, 2017 · 1 comment
Open
Labels

Comments

@ddunbar
Copy link
Member

ddunbar commented Nov 18, 2017

Previous ID SR-6432
Radar None
Original Reporter @ddunbar
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: 3149dc8425358142aac3da7659c09be6

Issue Description:

For Swift targets, we require they have a main.swift to be a Swift executable – Swift itself has special logic for the main file.

For C/C++ targets, we should support annotating the package manifest to make it explicit. This would allow us to avoid forcing changes on projects, like LLVM, which name the main C file after the target binary name.

@ankitspd
Copy link
Member

We would probably need a proposal for this.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants