Re: [QBS] Specifying static runtime libraries with MSVC

2014-10-29 Thread Joerg Bornemann
On 29-Oct-14 09:12, Thomas Epting wrote: > > > Now I think of adding an appropriate option to Qbs. >> > > There was already a bit of discussion going on in QBS-570. > > I'll add a comment there. > > Thank you. I've added another comment regarding MSVC. > > Here's my current test implementation (

Re: [QBS] Specifying static runtime libraries with MSVC

2014-10-29 Thread Thomas Epting
> > Now I think of adding an appropriate option to Qbs. > > There was already a bit of discussion going on in QBS-570. > I'll add a comment there. Thank you. I've added another comment regarding MSVC. Here's my current test implementation (applied to Qbs 1.3): *--- CppModule.qbs* --- 166a167,17

Re: [QBS] Specifying static runtime libraries with MSVC

2014-10-28 Thread Joerg Bornemann
On 28-Oct-14 08:57, Thomas Epting wrote: > I'm trying to compile a project on Windows using static runtime > libraries. [...] > Now I think of adding an appropriate option to Qbs. How would you name > such an option? Does it make sense with other compilers, too, or is it > needed for Microsoft com

[QBS] Specifying static runtime libraries with MSVC

2014-10-28 Thread Thomas Epting
Hi, I'm trying to compile a project on Windows using static runtime libraries. To specify this, Microsoft's CL provides the options /MT (to use static libs) and /MD (to use dynamic libs). In Qbs, the /MD options is added unconditionally to the compiler's command line, which prevents projects with