Skip to content

Add tool definition for cmake#504

Open
IT-VBFK wants to merge 2 commits into
Fallout-build:mainfrom
IT-VBFK:feat/tools/cmake
Open

Add tool definition for cmake#504
IT-VBFK wants to merge 2 commits into
Fallout-build:mainfrom
IT-VBFK:feat/tools/cmake

Conversation

@IT-VBFK

@IT-VBFK IT-VBFK commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

From here: nuke-build/nuke#1006

Thanks @MoodieG

@IT-VBFK
IT-VBFK requested a review from a team as a code owner July 17, 2026 17:31
@IT-VBFK
IT-VBFK force-pushed the feat/tools/cmake branch from 0a6d0fb to 3983dbb Compare July 17, 2026 17:45
@ITaluone ITaluone added enhancement New feature or request target/vCurrent Targets the current version labels Jul 17, 2026
@dennisdoomen

Copy link
Copy Markdown
Collaborator

Should there not be a .generated.cs file as well?

@IT-VBFK

IT-VBFK commented Jul 18, 2026

Copy link
Copy Markdown
Contributor Author

Hmmm... the contribution guidelines stating to explicity not to commit generated tool files (since they are done once before a release).

If this should be different here vs. NUKE this may should be mentioned.

@fredericvaillancourt

Copy link
Copy Markdown

Adding myself to the discussion to get the tool generated answer. Generated my files but it does change the generated from (url) ... several places in every tools ... In fact the current url is from a form and not even the official. Personally I don't like generated files in source control except when they are quite difficult to generate. Waiting to get a definitive answer before I make my PR.

@IT-VBFK

IT-VBFK commented Jul 18, 2026

Copy link
Copy Markdown
Contributor Author

I vote for removing them all, because fixing errors in tools wrappers has to go into the json anyway and would be overwritten when not done).

I imagine following workflow

  • add the GenerateToolSettings as additional release pipeline executed target
  • these files (intermediately generated) compiles into the production assetes (dll/nuget package).

You can generate the wrappers locally if you searching/fixing a wrapper bug.

Edit:
Ok.. I found a few tool wrappers who wraps a nuget package. These wrappers use partial classes and reference a generated value in this additional partial class.

@IT-VBFK
IT-VBFK force-pushed the feat/tools/cmake branch from c0e08fc to 735cdef Compare July 19, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request target/vCurrent Targets the current version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants