Skip to content

Skip Generation of Unsupported Projects for compilecommands#2702

Open
nickclark2016 wants to merge 1 commit into
premake:masterfrom
nickclark2016:skip-unsupported-projects-compilecommands
Open

Skip Generation of Unsupported Projects for compilecommands#2702
nickclark2016 wants to merge 1 commit into
premake:masterfrom
nickclark2016:skip-unsupported-projects-compilecommands

Conversation

@nickclark2016

Copy link
Copy Markdown
Member

What does this PR do?

Current behavior in premake ends generation of compilecommands when an unsupported project is encountered. Proposed/New behavior just skips the project.

How does this PR change Premake's behavior?

No breaking changes.

Anything else we should know?

Closes #2699

Did you check all the boxes?

  • Focus on a single fix or feature; remove any unrelated formatting or code changes
  • Add unit tests showing fix or feature works; all tests pass
  • Mention any related issues (put closes #XXXX in comment to auto-close issue when PR is merged)
  • Follow our coding conventions
  • Minimize the number of commits
  • Align documentation to your changes

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!

@hanagasira I would appreciate you verifying the executable from the CI runs before we hit merge, if you have the time/ability to do so.

@nickclark2016 nickclark2016 requested a review from a team June 8, 2026 16:18
@hanagasira

Copy link
Copy Markdown
Contributor

@nickclark2016

Thank you for your response. I have verified that this pull request fixes the issue and that compile_commands.json is now generated correctly in my project.

@nickclark2016 nickclark2016 force-pushed the skip-unsupported-projects-compilecommands branch from efd219b to 9d3db85 Compare June 9, 2026 16:01
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.

compilecommand did not work when C++ and C# projects were mixed

3 participants