Skip to content

Add a new /logAllGeneratedSolutions command line argument#442

Merged
jspelletier merged 1 commit intoubisoft:mainfrom
Activision:feature/log-all-generated-slns
Jan 9, 2026
Merged

Add a new /logAllGeneratedSolutions command line argument#442
jspelletier merged 1 commit intoubisoft:mainfrom
Activision:feature/log-all-generated-slns

Conversation

@martinecker-ATVI
Copy link
Contributor

Add a new /logAllGeneratedSolutions command line argument to Sharpmake to force it to log all the generated .sln files (even the ones that were up-to-date).

By default Sharpmake only logs .sln files it actually generated/wrote in the particular run but not the ones that were skipped because they didn't change. We use this on our continuous integration infrastructure and other places to easily gather which .slns are generated.
Maybe others find this useful as well.

…e to force it to log all the generated .sln files (even the ones that were up-to-date).

By default Sharpmake only logs .sln files it actually generated but not the ones that were skipped because they didn't change.
We use this on our continuous integration infrastructure and other places to easily gather which .slns are generated.
@jspelletier
Copy link
Collaborator

Hey!
I will merge this but there is another way to achieve something similar.
Hook a method to this hook yourself to the EventPostGeneration:
arguments.Builder.EventPostGeneration += SomeClass.SomeMethod;

@jspelletier jspelletier merged commit 4a340f3 into ubisoft:main Jan 9, 2026
32 checks passed
@jspelletier
Copy link
Collaborator

merged. thanks

@martinecker-ATVI martinecker-ATVI deleted the feature/log-all-generated-slns branch January 12, 2026 18:34
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.

3 participants