EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Detect VC++ version in Makefile?
From: Mark Rivers <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Sun, 29 Jul 2018 14:00:04 +0000

Folks,


I have a vendor Windows SDK where the required name of the library depends on the version of VC++.

 

I am currently requiring manual edits of the EPICS Makefile to change the name of the LIB file depending on VS version.

 

# Add locally compiled object code

PROD_LIBS += pointGrey

# Use this line for Visual Studio 2010

#PROD_LIBS_WIN32 += FlyCapture2_v100

# Use this line for Visual Studio 2013

#PROD_LIBS_WIN32 += FlyCapture2_v120

# Use this line for Visual Studio 2015

PROD_LIBS_WIN32 += FlyCapture2_v140

 

Does anyone have a mechanism to detect this automatically in the Makefile so this manual editing is not needed?

 

Thanks,

Mark

 


Replies:
Re: Detect VC++ version in Makefile? Torsten Bögershausen
Re: Detect VC++ version in Makefile? Johnson, Andrew N.

Navigate by Date:
Prev: Re: IOC Crash with No Exception Generated Heinz Junkes
Next: Re: Detect VC++ version in Makefile? Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Signing off Kline, David
Next: Re: Detect VC++ version in Makefile? Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 29 Jul 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·