Gilles? Any advices about this one?
Thanks!
-----Original Message-----
From: Brad King [mailto:[email protected]]
Sent: Tuesday, February 3, 2015 3:12 PM
To: Robert Goulet; Gilles Khouzam
Cc: [email protected]
Subject: Re: msbuild VisualStudioEdition value (was: Fix for Windows Store
warning APPX1901...)
On 01/30/2015 10:35 AM, Robert Goulet wrote:
> makeCommand.push_back(std::string("/p:VisualStudioVersion=")+
> this->GetIDEVersion());
> +
> + // Normally this is only needed for Windows Store/Phone apps when building
> from command-line.
> + // Fixes warning APPX2102: : File 'VisualStudioEdition' is not found or is
> not an executable file.
> + makeCommand.push_back(std::string("/p:VisualStudioEdition=\"")+
> + this->GetName()+
> + std::string("\""));
Something like this may work, but the generator name will not always be a valid
value for VisualStudioEdition. Somehow we have to look up a correct value
based on the current generator and what is installed on the system. Gilles,
might you be able to help with this?
Thanks,
-Brad
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers