37 lines
1.9 KiB
Plaintext
37 lines
1.9 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 spupmmgr_pm.cpp
|
|
set exclude ped.cpp
|
|
|
|
# compilation units ( unity files ) : unity_id, regexp, regexps_option
|
|
game_glasspanesyncing_ik_modelinfo ^(((\.*|\w:)\/)*)(game|glasspanesyncing|ik|modelinfo)\/(.*)(\.)(cpp|c)$ i
|
|
objects_pathserver ^(((\.*|\w:)\/)*)(Objects|pathserver)\/(.*)(\.)(cpp|c)$ i
|
|
pedgroup ^(((\.*|\w:)\/)*)(PedGroup)\/(.*)(\.)(cpp|c)$ i
|
|
peds_a_b ^(((\.*|\w:)\/)*)(peds)\/[a-bA-B](.*)(\.)(cpp|c)$ i
|
|
peds_c ^(((\.*|\w:)\/)*)(peds)\/[cC](.*)(\.)(cpp|c)$ i
|
|
peds_d_g ^(((\.*|\w:)\/)*)(peds)\/[d-gD-G](.*)(\.)(cpp|c)$ i
|
|
peds_h_o ^(((\.*|\w:)\/)*)(peds)\/[h-oH-O](.*)(\.)(cpp|c)$ i
|
|
peds_p ^(((\.*|\w:)\/)*)(peds)\/[pP](.*)(\.)(cpp|c)$ i
|
|
peds_q_z ^(((\.*|\w:)\/)*)(peds)\/[p-zP-Z](.*)(\.)(cpp|c)$ i
|
|
pickups_physics ^(((\.*|\w:)\/)*)(pickups|physics)\/(.*)(\.)(cpp|c)$ i
|
|
renderer ^(((\.*|\w:)\/)*)(renderer|replaycoordinator)\/(.*)(\.)(cpp|c)$ i
|
|
SaveLoad
|
|
SaveMigration |