Simplifies build setup for cmake.
SRB2_CONFIG_ASSET_DIRECTORY
is set to an empty string. It will be ignored, and assets will not be added to the install target.SRB2_CONFIG_ASSET_DIRECTORY
will be resolved to an absolute path, and a predetermined list of files, and the models
subdirectory in it, will be added to the install target only for macOS and Windows.SRB2_ASSET_DIRECTORY
variable in WAD loading is removed so the path never shows up in built executables. Instead, set the SRB2WADDIR env var when running the game, or copy the build output to your game directory on Windows.