[argyllcms] Re: VS-2010 Express project file for compiling ArgyllCMS in Windows?

  • From: János, Tóth F. <janos666@xxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Mon, 12 Aug 2013 14:59:45 +0200

Yah, me too. :)
So,

if [ MATCH (.*)VC\\+\\+11(.*) : $(MSVCNT) ] {
ECHO "Compiler is VC++11 32 bit" ;
MSVCVER     = 11 ;

This doesn't work, I get the "Compiler is VC++6 32 bit" echo after I start
makeall.bat from the "VS2012 x86 Native Tools Command Prompt".
I don't know the correct way to detect MSVC 2012 (as a first attempt, I
tried to add the exact same lines as you did, it looked were easy), so I
just forced the detection like this (every MSVC is 11) as my second attempt
(to see if MSVC works at all ... and it did):

if [ MATCH (.*)VC(.*) : $(MSVCNT) ] {
ECHO "Compiler is VC++11 32 bit" ;
MSVCVER     = 11 ;

Does the current code properly detect MSVC2012 for you?


2013/8/12 Graeme Gill <graeme@xxxxxxxxxxxxx>

> János, Tóth F. wrote:
> > I overwrote my jamtop file with the one from latest developer sources and
> > the detection doesn't work for me.
>
> Sorry, I meant to write "Jambase".
>
> Graeme Gill.
>
>
>

Other related posts: