[Kst] Compiling latest sources on Windows MSVC

Peter Kümmel syntheticpp at gmx.net
Wed May 9 20:25:24 UTC 2012


>
> Thank you for the advice. Yes, this worked up to a point. The
> KstPchSupport.cmake file uses the following line (line 73) to generate
> the precompiled header settings (when using the IDE):
>      set(use_pch "/Fp${_header}.\$(Configuration).pch")
>
> However, it would need to be as follows in MSVC2008:
>      set(use_pch "/Fp${_header}.\$(ConfigurationName).pch")
>
> If $(Configuration) works in MSVC2010 does that mean that 2010 is the
> only MSVC compiler that Kst officially supports or is it meant to work
> in 2008 as well? I am downloading 2010 now in any case :)

There is no reason to not support MSVC2008, I only know one reason not
to use MSVC2010: it produces invalid x64 code, but maybe this was fixed in
the meantime.

Also MSVC2010 works with 'ConfigurationName' so I've commited it.

Thanks,
Peter


>
> Apart from that everything built successfully.
>
>> To start over the best way is to completely clean the build folder.
>
> Yes, and also to maintain a build folder separate from the sources. I
> fell into that trap once before and ended up checking out the sources
> again because it was too messy to clean :)
>
> Cheers.
> David.
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>


More information about the Kst mailing list