On 10/22/2015 10:58 AM, [email protected] wrote: > The msbuild <Exec> task can use IgnoreStandardErrorWarningFormat="true" to > suppress this behaviour. It would probably be appropriate to enable this > for all uses other than maybe compiling and linking.
Yes, if it is possible. > We seem to use <CustomBuild>'s <Command> rather than <Exec> We use that because it is what the IDE uses when creating a project file so using it makes the command visible in the IDE properties. It also handles all the dependencies and such instead of always executing, and is the only way to get proper semantics we've found. If no setting is available then I think the solution is "don't do that" :( > internals of msbuild and I couldn't find any obvious documentation for > <CustomBuild>. I'm not very familiar with it either. I see something that looks like a definition of the CustomBuild target type in files like these: c:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/Microsoft.CppCommon.targets c:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/V110/Microsoft.CppCommon.targets c:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/V120/Microsoft.CppCommon.targets c:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/V140/Microsoft.CppCommon.targets -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
