Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

MasterWithLTCG

Discussion in '2019.1 Beta' started by Foriero, Dec 19, 2018.

  1. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    453
    Can anyone explain why we have in VS targeting WSA new build configuration? What configuration should go into Microsoft Store? Thank you, M.
     
  2. GameDevCouple_I

    GameDevCouple_I

    Joined:
    Oct 5, 2013
    Posts:
    1,524
    I also would like to know what MasterWithLTCG is?
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    6,181
    It enables link time code generation for generated IL2CPP code.

    https://docs.microsoft.com/en-us/cpp/build/reference/ltcg-link-time-code-generation?view=vs-2017

    From 2018.3 release notes:

    Since Visual Studio projects already contained "Master" configuration, I decided to not enable LTCG for those and instead make a new build configuration for it, as we wanted this to be an opt-in settings because it literally destroys your build time (makes it ~5-6 times slower).
     
  4. David062

    David062

    Joined:
    Oct 24, 2018
    Posts:
    1
    Generated Visual Studio projects for IL2CPP scripting backend on Windows Standalone and Universal Windows Platform now also contain an optional "MasterWithLTCG" configuration, which you can use to enable these settings.