Files
GTASource/game/VS_Project_network/network.unity
expvintl 419f2e4752 init
2025-02-23 17:40:52 +08:00

28 lines
1.4 KiB
Plaintext

# Unity config file - v1.0
# - defines 'unity' compilation units for a project/solution.
#
# Top Tips
# Regex
# - Regexs can be of a form that include folders and exclude specific files / file patterns.
# - eg. ^(((\.*|\w:)\/)*)(ai|animation)\/(((?!exclusions_can\.|go_here\.).)*)(\.)(cpp|c)$
# - Interactive regexp help? :- http://www.rubular.com/
# Commands
# - In addition to regexs global exclusions are supported making it easy to see what is being excluded.
# - Ideally nothing should need to be excluded, too many exclusions will lead to a slow build.
# - Leave a comment why something is excluded.
# - Comment out 'set enabled' to disable the unity build.
# Design
# - Coupling related systems within each compilation unit can lead to better build speed.
# - Evenly balancing the number of matched files across each compilation is also good practice.
# https://devstar.rockstargames.com/wiki/index.php/Unity_Build
set enabled
set exclude atlas_agent360_v1.cpp atlas_agentps3_v1.cpp NetworkEventTypes.cpp
# compilation units ( unity files ) : unity_id, regexp, regexps_option
network1 ^.*\/Network\/[0-9a-n].*(?<!\.winrt)\.(c|cpp)$ i
network2 ^.*\/Network\/[o-r].*(?<!\.winrt)\.(c|cpp)$ i
network3 ^.*\/Network\/[s-z].*(?<!\.winrt)\.(c|cpp)$ i
network_durango.winrt ^.*\/Network\/.*\.winrt\.(c|cpp)$ i