Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

MasterWithLTCG

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

  1. Foriero

    Foriero

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

    MadeFromPolygons

    Joined:
    Oct 5, 2013
    Posts:
    3,982
    I also would like to know what MasterWithLTCG is?
     
    arsengharagyozyan likes this.
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    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.