[bind10-dev] bug in Encode/Decode stuff
Dave Hart
davehart at gmail.com
Fri Apr 22 10:40:01 UTC 2011
On Fri, Apr 22, 2011 at 09:51 UTC, Francis Dupont <fdupont at isc.org> wrote:
> - it is not clear the config.h could be shared between VS versions
> (and it is not really finished, it just currently works)
For what it's worth, NTP uses a single windows config.h to build with
VC6, VS 2003, 2005, 2008, or 2010 (using 2008 .sln/.vcproj files).
With a bit more work I suspect all the Visual Studio versions could
share a single set of .sln/.vcproj files.
> - there are some hard paths (as little as possible but I haven't yet
> write the needed perl scripts to update them, so you'll have to
> fix them manually (or to write the perl scripts :-))
Rather than rely on perl scripts to mangle your .sln/.vcproj files,
you may be able to share universal .sln/.vcproj files which resolve
library paths using environment variables. For example, notice the
references to $(OPENSSL_INC) and $(OPENSSL_LIB) in these lines from
ports\winnt\vs2008\ntpd\ntpd.vcproj:
AdditionalIncludeDirectories="..\..\ntpd,..\..\..\..\ntpd,..\..\include,..\..\..\..\include,..\..\
..\..\lib\isc\win32\include,..\..\..\..\lib\isc\include,$(OPENSSL_INC),..\..\..\..\sntp\libopts"
AdditionalDependencies="ws2_32.lib
winmm.lib $(OPENSSL_LIB)\libeay32.lib"
Cheers,
Dave Hart
More information about the bind10-dev
mailing list