41 lines
2.4 KiB
Plaintext
41 lines
2.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 AnimPlayer.cpp AnimViewer.cpp AudioEventTagEditor.cpp
|
|
#set exclude MissionLookup.cpp MiniMap.cpp RenderLeaderboardList.cpp Event.cpp EventLeader.cpp EventDamage.cpp EventMovement.cpp EventReactions.cpp Events.cpp EventWeapon.cpp Radar.cpp
|
|
|
|
# compilation units ( unity files ) : unity_id, regexp, regexps_option
|
|
winrt_files.winrt ^.*\.winrt\.(cpp|c)$ i
|
|
ai_animation ^(((\.*|\w:)\/)*)(ai|animation)\/(.*)(\.)(cpp|c)$ i
|
|
audio_a_l ^(((\.*|\w:)\/)*)(audio)\/[a-lA-L](.*)(\.)(cpp|c)$ i
|
|
audio_m_z ^(((\.*|\w:)\/)*)(audio)\/[m-zM-Z](.*)(\.)(cpp|c)$ i
|
|
camera
|
|
ctrl_replay_a_l ^(((\.*|\w:)\/)*)(control)\/(replay)\/([A-L])(.*)(\.)(cpp|c)$ i
|
|
ctrl_replay_m_o ^(((\.*|\w:)\/)*)(control)\/(replay)\/([M-O])(.*)(\.)(cpp|c)$ i
|
|
ctrl_replay_p_z ^(((\.*|\w:)\/)*)(control)\/(replay)\/([P-Z])(.*)(\.)(cpp|c)$ i
|
|
cloth_ctrl ^(((\.*|\w:)\/)*)(cloth|control)\/(.*)(\.)(cpp|c)$ i
|
|
core_cutscene_debug ^(((\.*|\w:)\/)*)(core|cutscene|debug)\/(.*)(\.)(cpp|c)$ i
|
|
event ^(((\.*|\w:)\/)*)(event)\/(.*)(\.)(cpp|c)$ i
|
|
frontend_a_b ^(((\.*|\w:)\/)*)(frontend)\/[a-bA-B](.*)(\.)(cpp|c)$ i
|
|
frontend_c ^(((\.*|\w:)\/)*)(frontend)\/[cC](.*)(\.)(cpp|c)$ i
|
|
frontend_d_g ^(((\.*|\w:)\/)*)(frontend)\/[d-gD-G](.*)(\.)(cpp|c)$ i
|
|
frontend_h_o ^(((\.*|\w:)\/)*)(frontend)\/[h-oH-O](.*)(\.)(cpp|c)$ i
|
|
frontend_p_z ^(((\.*|\w:)\/)*)(frontend)\/[p-zP-Z](.*)(\.)(cpp|c)$ i
|