Experimental Physics and Industrial Control System
On 09/08/2016 09:20 AM, Mark Rivers wrote:
> Searching for the presence of "Visual Studio 10.0" in the PATH
> environment variable might work.
If the build system really needs to know which compiler version it's
using I would much rather we have the user tell it that in their
CONFIG_SITE.Common.win* file(s). The build system has to run any kind of
per-compiler test every time it reads a Makefile, and calling out to a
Perl script to do this kind of test every time is probably going to slow
the build measurably.
On the other hand doing this kind of thing using the pre-processor and a
#pragma optimize() setting is fast and localized, so I would much prefer
that we stick with that solution if it can do what we need. You can tell
whether you're building a dynamic binary there by the presence of the
EPICS_BUILD_DLL macro.
- Andrew
--
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon
- Replies:
- Re: Fix for building 3.15.4 on windows-x64-static Andrew Johnson
- RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- References:
- Fix for building 3.15.4 on windows-x64-static Mark Rivers
- RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- Re: Fix for building 3.15.4 on windows-x64-static Ralph Lange
- RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- Re: Fix for building 3.15.4 on windows-x64-static Ralph Lange
- RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- Navigate by Date:
- Prev:
Errors when running "make -sj clean" on windows-x64 in top-level of pvPackageCPP Mark Rivers
- Next:
Re: Fix for building 3.15.4 on windows-x64-static Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Fix for building 3.15.4 on windows-x64-static Mark Rivers
- Next:
Re: Fix for building 3.15.4 on windows-x64-static Andrew Johnson
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
<2016>
2017
2018
2019
2020
2021
2022
2023
2024