Is there a way to build only specific groups in a custom build script? For example, we want our “GameServerStatic” group to be built only when we do a Linux + #GAME_SERVER build, while the “GameClientStatic” group is only built if #GAME_CLIENT is defined.
No I don’t think anything like that is possible currently. There should be a prebuild hook you can utilize to iterate through your groups and toggle on/off the Include in Build setting on the BundledAssetGroupSchema. I’m not sure how you might go about determining which groups are for your client and which are for your server build; perhaps through some naming convention. You can have your define determine the behavior there if you’d like.