none
MSBuild and AdditionalIncludeDirectories RRS feed

  • Frage

  •  

    Hi there

    Until now we used msbuild like this:

    @set INCLUDE=%INCLUDE%;%BUILD_INCLUDES_N%
    @set LIB=%LIB%;%BUILD_LIBS_N%

    msbuild.exe %sol% /p:VCBuildAdditionalOptions=/useenv /P:Platform=%vs_platform% /P:Configuration=%conf% /Target:%proj%

    Now we move to VisualStudio 2010 and msbuild seems to not use vcbuild anymore. Because of that, the switch /p:VCBuildAdditionalOptions=/useenv does not work anymore and msbuild does not generate the additional /I parameters for cl.exe anymore. I was looking for a replacement but i did not find any. There is a switch "AdditionalLibPaths" documented here: http://msdn.microsoft.com/en-us/library/bb629394.aspx but nothing about AdditionalIncludeDirectories. Does anyone know, how I could handle this?

    Thanx for every anser!

    Dominic

     

    Mittwoch, 21. Juli 2010 15:43

Antworten