none
Changing Post-Sysgen Build Order RRS feed

  • Question

  • Hi,

    <PLATFORM> references some lib files which are generated by Sub Projects under WINCE700/3rdParty/

    As you know, after Sysgen is completed then Post-sysgen phase starts. During Post-sysgen, first <PLATFORM> is built after its done  then Sub Projects are built. I want to change this sequence to start with Sub Projects first so that referenced libraries are prepared prior to <PLATFORM> build is commences.

    Do you think changing the build order is the best way to accomplish this goal ? Or is it possible to handle this by source macros like <BuildPassName>_PRODUCES (see http://msdn.microsoft.com/en-us/library/gg155826.aspx)

    Feedbacks are very welcomed

    Regards,

    Buğra AYDOĞAR

    Monday, October 1, 2012 2:02 PM

All replies

  • On 10/1/2012 4:02 PM, Bugra Aydogar wrote:
    > Hi,
    >
    > <PLATFORM> references some lib files which are generated by Sub Projects
    > under WINCE700/3rdParty/
    >
    > As you know, after Sysgen is completed then Post-sysgen phase starts.
    > During Post-sysgen, first <PLATFORM> is built after its done then Sub
    > Projects are built. I want to change this sequence to start with Sub
    > Projects first so that referenced libraries are prepared prior to
    > <PLATFORM> build is commences.
    >
    > Do you think changing the build order is the best way to accomplish this
    > goal ? Or is it possible to handle this by source macros like
    > <BuildPassName>_PRODUCES (see
    >
    > Feedbacks are very welcomed
    >
    > Regards,
    >
    > Buğra AYDOĞAR
    >
     
    You may solve you issue by building both your subproject and platform
    components as static libraries and then link them in another subproject,
    built after the first one. In this way the platform component will not
    need to link the component built in the first step.
     
     

    Valter Minute
    Windows Embedded MVP
    http://geekswithblogs.net/WindowsEmbeddedCookbook
    Thursday, October 4, 2012 12:00 PM