-
Notifications
You must be signed in to change notification settings - Fork 166
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
exclude from Unity Build option (VS2019) #466
Comments
@rhoot Might have opinion about this one. |
It'd probably be good to support the feature in its entirety, rather than picking out individual properties to add. If it helps someone get a jump on it, here are all the related vcxproj elements, with their default values: In the project's "Configuration" <EnableUnitySupport>true</EnableUnitySupport> In the project's or each file's <IncludeInUnityFile>true</IncludeInUnityFile>
<OrderInUnityFile>100</OrderInUnityFile>
<CombineFilesOnlyFromTheSameFolder>false</CombineFilesOnlyFromTheSameFolder>
<MinFilesInUnityFile>2</MinFilesInUnityFile>
<MaxFilesInUnityFile>0</MaxFilesInUnityFile>
<MinUnityFiles>1</MinUnityFiles>
<AddCodeBeforeSourceInclude></AddCodeBeforeSourceInclude>
<AddCodeAfterSourceInclude></AddCodeAfterSourceInclude>
<AddCodeBeforeSourceIncludeFromFile></AddCodeBeforeSourceIncludeFromFile>
<AddCodeAfterSourceIncludeFromFile></AddCodeAfterSourceIncludeFromFile>
<UnityFilesDirectory>$(IntDir)</UnityFilesDirectory>
<CustomUnityFile>false</CustomUnityFile> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With Unity(Jumbo) builds support in VS2019 out of the box there's also a new option to exclude files from those builds, still present for compiling but excluded from the Jumbo build and compiled the "regular" way to avoid name clashes etc. This can happen with some third party libs, ran into that issue with IMGui for example. Excluding from Unity does the trick,
The option is in the item properties and the tag is similar to the exclude build.
For comparison the exclude from build
I was researching into adding this to GENie myself but wanted to discuss the least intrusive way of doing so if possible. Thanks
The text was updated successfully, but these errors were encountered: