From: Michael R Sweet Date: Tue, 16 Oct 2018 18:56:39 +0000 (-0400) Subject: Add DNS-SD stub library project. Update VS projects. X-Git-Tag: v2.3b6~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d00c3f2678e99a019fa8973500747b42a6976586;p=thirdparty%2Fcups.git Add DNS-SD stub library project. Update VS projects. --- diff --git a/.gitignore b/.gitignore index 2bfcaab016..be6eff51c1 100644 --- a/.gitignore +++ b/.gitignore @@ -156,6 +156,10 @@ test/ippserver-shared test/ipptool test/ipptool-static test/pwg-raster-samples-* +vcnet/.vs +vcnet/packages +vcnet/Win32 +vcnet/x64 xcode/CUPS.xcodeproj/project.xcworkspace/ xcode/CUPS.xcodeproj/xcuserdata/ diff --git a/cups/thread-private.h b/cups/thread-private.h index 1952294215..1b8b1067fe 100644 --- a/cups/thread-private.h +++ b/cups/thread-private.h @@ -14,6 +14,7 @@ */ # include "config.h" +# include /* diff --git a/vcnet/cups.sln b/vcnet/cups.sln index a53b963c71..664e1b1dc2 100644 --- a/vcnet/cups.sln +++ b/vcnet/cups.sln @@ -1,10 +1,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.40629.0 +# Visual Studio 15 +VisualStudioVersion = 15.0.28010.2036 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcups2", "libcups2.vcxproj", "{CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcupsimage2", "libcupsimage2.vcxproj", "{CB4AA6F2-3E84-45BE-B505-95CD375E1234}" + ProjectSection(ProjectDependencies) = postProject + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} = {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} + EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testfile", "testfile.vcxproj", "{CE75FC5F-E0CF-45DC-AD27-84666D3FBA30}" EndProject @@ -20,6 +21,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ippfind", "ippfind.vcxproj" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ippserver", "ippserver.vcxproj", "{82A03BC7-0746-4B85-8908-3C7A3FAA58A9}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dnssdstub", "dnssdstub.vcxproj", "{C0899B3A-43E7-4BC3-A785-659E1FD2EA83}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -36,14 +39,6 @@ Global {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}.Release|Win32.Build.0 = Release|Win32 {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}.Release|x64.ActiveCfg = Release|x64 {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}.Release|x64.Build.0 = Release|x64 - {CB4AA6F2-3E84-45BE-B505-95CD375E1234}.Debug|Win32.ActiveCfg = Debug|Win32 - {CB4AA6F2-3E84-45BE-B505-95CD375E1234}.Debug|Win32.Build.0 = Debug|Win32 - {CB4AA6F2-3E84-45BE-B505-95CD375E1234}.Debug|x64.ActiveCfg = Debug|x64 - {CB4AA6F2-3E84-45BE-B505-95CD375E1234}.Debug|x64.Build.0 = Debug|x64 - {CB4AA6F2-3E84-45BE-B505-95CD375E1234}.Release|Win32.ActiveCfg = Release|Win32 - {CB4AA6F2-3E84-45BE-B505-95CD375E1234}.Release|Win32.Build.0 = Release|Win32 - {CB4AA6F2-3E84-45BE-B505-95CD375E1234}.Release|x64.ActiveCfg = Release|x64 - {CB4AA6F2-3E84-45BE-B505-95CD375E1234}.Release|x64.Build.0 = Release|x64 {CE75FC5F-E0CF-45DC-AD27-84666D3FBA30}.Debug|Win32.ActiveCfg = Debug|Win32 {CE75FC5F-E0CF-45DC-AD27-84666D3FBA30}.Debug|Win32.Build.0 = Debug|Win32 {CE75FC5F-E0CF-45DC-AD27-84666D3FBA30}.Debug|x64.ActiveCfg = Debug|Win32 @@ -95,8 +90,19 @@ Global {82A03BC7-0746-4B85-8908-3C7A3FAA58A9}.Release|Win32.Build.0 = Release|Win32 {82A03BC7-0746-4B85-8908-3C7A3FAA58A9}.Release|x64.ActiveCfg = Release|x64 {82A03BC7-0746-4B85-8908-3C7A3FAA58A9}.Release|x64.Build.0 = Release|x64 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Debug|Win32.ActiveCfg = Debug|Win32 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Debug|Win32.Build.0 = Debug|Win32 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Debug|x64.ActiveCfg = Debug|x64 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Debug|x64.Build.0 = Debug|x64 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Release|Win32.ActiveCfg = Release|Win32 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Release|Win32.Build.0 = Release|Win32 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Release|x64.ActiveCfg = Release|x64 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {32935B57-C6C7-4226-8BEE-63542B7B793F} + EndGlobalSection EndGlobal diff --git a/vcnet/cupstestppd.vcxproj b/vcnet/cupstestppd.vcxproj index d10ded7614..3198504f61 100644 --- a/vcnet/cupstestppd.vcxproj +++ b/vcnet/cupstestppd.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -22,28 +22,29 @@ {6BE0CDD3-4ED7-409C-A80F-19DF73664B1F} cupstestppd Win32Proj + 10.0.17134.0 Application - v140 + v141 Unicode true Application - v140 + v141 Unicode Application - v140 + v141 Unicode true Application - v140 + v141 Unicode @@ -67,22 +68,22 @@ $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false @@ -177,10 +178,6 @@ {cb4aa6f2-3e84-45be-b505-95cd375e8be3} false - - {cb4aa6f2-3e84-45be-b505-95cd375e1234} - false - diff --git a/vcnet/dns_sd.c b/vcnet/dns_sd.c index e6ff6f4b12..d135e9aa87 100644 --- a/vcnet/dns_sd.c +++ b/vcnet/dns_sd.c @@ -7,9 +7,9 @@ * information. */ -#include "dns_sd.h" -#include +//#include #include +#include "dns_sd.h" /* @@ -18,45 +18,24 @@ static int dnssd_initialized = 0; static _cups_mutex_t dnssd_mutex = _CUPS_MUTEX_INITIALIZER; -static DNSServiceErrorType DNSSD_API (*dnssd_add_record)(DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl); -static DNSServiceErrorType DNSSD_API (*dnssd_browse)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *regtype, const char *domain, DNSServiceBrowseReply callBack, void *context); -static DNSServiceErrorType DNSSD_API (*dnssd_construct_full_name)(char * const fullName, const char * const service, const char * const regtype, const char * const domain); -static DNSServiceErrorType DNSSD_API (*dnssd_create_connection)(DNSServiceRef *sdRef); -static DNSServiceErrorType DNSSD_API (*dnssd_process_result)(DNSServiceRef sdRef); -static DNSServiceErrorType DNSSD_API (*dnssd_query_record)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callBack, void *context); -static void DNSSD_API (*dnssd_deallocate)(DNSServiceRef sdRef); -static int DNSSD_API (*dnssd_sock_fd)(DNSServiceRef sdRef); -static DNSServiceErrorType DNSSD_API (*dnssd_register)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, const char *host, uint16_t port, uint16_t txtLen, const void *txtRecord, DNSServiceRegisterReply callBack, void *context); -static DNSServiceErrorType DNSSD_API (*dnssd_remove_record)(DNSServiceRef sdRef, DNSRecordRef RecordRef, DNSServiceFlags flags); -static DNSServiceErrorType DNSSD_API (*dnssd_resolve)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, DNSServiceResolveReply callBack, void *context); -static DNSServiceErrorType DNSSD_API (*dnssd_update_record)(DNSServiceRef sdRef, DNSRecordRef RecordRef, DNSServiceFlags flags, uint16_t rdlen, const void *rdata, uint32_t ttl); - - -void DNSSD_API TXTRecordCreate - ( - TXTRecordRef *txtRecord, - uint16_t bufferLen, - void *buffer - ); -void DNSSD_API TXTRecordDeallocate - ( - TXTRecordRef *txtRecord - ); -const void * DNSSD_API TXTRecordGetBytesPtr - ( - const TXTRecordRef *txtRecord - ); -uint16_t DNSSD_API TXTRecordGetLength - ( - const TXTRecordRef *txtRecord - ); -DNSServiceErrorType DNSSD_API TXTRecordSetValue - ( - TXTRecordRef *txtRecord, - const char *key, - uint8_t valueSize, /* may be zero */ - const void *value /* may be NULL */ - ); +static DNSServiceErrorType (*dnssd_add_record)(DNSServiceRef sdRef, DNSRecordRef *RecordRef, DNSServiceFlags flags, uint16_t rrtype, uint16_t rdlen, const void *rdata, uint32_t ttl); +static DNSServiceErrorType (*dnssd_browse)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *regtype, const char *domain, DNSServiceBrowseReply callBack, void *context); +static DNSServiceErrorType (*dnssd_construct_full_name)(char * const fullName, const char * const service, const char * const regtype, const char * const domain); +static DNSServiceErrorType (*dnssd_create_connection)(DNSServiceRef *sdRef); +static DNSServiceErrorType (*dnssd_process_result)(DNSServiceRef sdRef); +static DNSServiceErrorType (*dnssd_query_record)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *fullname, uint16_t rrtype, uint16_t rrclass, DNSServiceQueryRecordReply callBack, void *context); +static void (*dnssd_deallocate)(DNSServiceRef sdRef); +static int (*dnssd_sock_fd)(DNSServiceRef sdRef); +static DNSServiceErrorType (*dnssd_register)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, const char *host, uint16_t port, uint16_t txtLen, const void *txtRecord, DNSServiceRegisterReply callBack, void *context); +static DNSServiceErrorType (*dnssd_remove_record)(DNSServiceRef sdRef, DNSRecordRef RecordRef, DNSServiceFlags flags); +static DNSServiceErrorType (*dnssd_resolve)(DNSServiceRef *sdRef, DNSServiceFlags flags, uint32_t interfaceIndex, const char *name, const char *regtype, const char *domain, DNSServiceResolveReply callBack, void *context); +static DNSServiceErrorType (*dnssd_update_record)(DNSServiceRef sdRef, DNSRecordRef RecordRef, DNSServiceFlags flags, uint16_t rdlen, const void *rdata, uint32_t ttl); + +static void (*dnssd_txt_create)(TXTRecordRef *txtRecord, uint16_t bufferLen, void *buffer); +static void (*dnssd_txt_deallocate)(TXTRecordRef *txtRecord); +static const void *(*dnssd_txt_get_bytes_ptr)(const TXTRecordRef *txtRecord); +static uint16_t (*dnssd_txt_get_length)(const TXTRecordRef *txtRecord); +static DNSServiceErrorType (*dnssd_txt_set_value)(TXTRecordRef *txtRecord, const char *key, uint8_t valueSize, const void *value); /* @@ -69,28 +48,28 @@ dnssd_init(void) _cupsMutexLock(&dnssd_mutex); if (!dnssd_initialized) { - HINSTANCE dll_handle = LoadLibrary("dnssd.dll"); + HINSTANCE dll_handle = LoadLibraryA("dnssd.dll"); if (dll_handle) { - dnssd_add_record = GetProcAddress("DNSServiceAddRecord"); - dnssd_browse = GetProcAddress("DNSServiceBrowse"); - dnssd_construct_full_name = GetProcAddress("DNSServiceConstructFullName"); - dnssd_create_connection = GetProcAddress("DNSServiceCreateConnection"); - dnssd_deallocate = GetProcAddress("DNSServiceRefDeallocate"); - dnssd_process_result = GetProcAddress("DNSServiceProcessResult"); - dnssd_query_record = GetProcAddress("DNSServiceQueryRecord"); - dnssd_register = GetProcAddress("DNSServiceRegister"); - dnssd_remove_record = GetProcAddress("DNSServiceRemoveRecord"); - dnssd_resolve = GetProcAddress("DNSServiceResolve"); - dnssd_sock_fd = GetProcAddress("DNSServiceRefSockFD"); - dnssd_update_record = GetProcAddress("DNSServiceUpdateRecord"); - - dnssd_txt_create = GetProcAddress("TXTRecordCreate"); - dnssd_txt_deallocate = GetProcAddress("TXTRecordDeallocate"); - dnssd_txt_get_bytes_ptr = GetProcAddress("TXTRecordGetBytesPtr"); - dnssd_txt_get_length = GetProcAddress("TXTRecordGetLength"); - dnssd_txt_set_value = GetProcAddress("TXTRecordSetValue"); + dnssd_add_record = (DNSServiceErrorType (*)(DNSServiceRef, DNSRecordRef *, DNSServiceFlags, uint16_t, uint16_t, const void *, uint32_t))GetProcAddress(dll_handle, "DNSServiceAddRecord"); + dnssd_browse = (DNSServiceErrorType(*)(DNSServiceRef *, DNSServiceFlags, uint32_t, const char *, const char *, DNSServiceBrowseReply, void *))GetProcAddress(dll_handle, "DNSServiceBrowse"); + dnssd_construct_full_name = (DNSServiceErrorType(*)(char * const, const char * const, const char * const, const char * const))GetProcAddress(dll_handle, "DNSServiceConstructFullName"); + dnssd_create_connection = (DNSServiceErrorType(*)(DNSServiceRef *))GetProcAddress(dll_handle, "DNSServiceCreateConnection"); + dnssd_deallocate = (DNSServiceErrorType(*)(DNSServiceRef))GetProcAddress(dll_handle, "DNSServiceRefDeallocate"); + dnssd_process_result = (DNSServiceErrorType(*)(DNSServiceRef))GetProcAddress(dll_handle, "DNSServiceProcessResult"); + dnssd_query_record = (DNSServiceErrorType(*)(DNSServiceRef *, DNSServiceFlags, uint32_t, const char *, uint16_t, uint16_t, DNSServiceQueryRecordReply, void *))GetProcAddress(dll_handle, "DNSServiceQueryRecord"); + dnssd_register = (DNSServiceErrorType(*)(DNSServiceRef *, DNSServiceFlags, uint32_t, const char *, const char *, const char *, const char *, uint16_t, uint16_t, const void *, DNSServiceRegisterReply, void *))GetProcAddress(dll_handle, "DNSServiceRegister"); + dnssd_remove_record = (DNSServiceErrorType(*)(DNSServiceRef, DNSRecordRef, DNSServiceFlags))GetProcAddress(dll_handle, "DNSServiceRemoveRecord"); + dnssd_resolve = (DNSServiceErrorType(*)(DNSServiceRef *, DNSServiceFlags, uint32_t, const char *, const char *, const char *, DNSServiceResolveReply, void *))GetProcAddress(dll_handle, "DNSServiceResolve"); + dnssd_sock_fd = (int(*)(DNSServiceRef))GetProcAddress(dll_handle, "DNSServiceRefSockFD"); + dnssd_update_record = (DNSServiceErrorType(*)(DNSServiceRef, DNSRecordRef, DNSServiceFlags, uint16_t, const void *, uint32_t))GetProcAddress(dll_handle, "DNSServiceUpdateRecord"); + + dnssd_txt_create = (void (*)(TXTRecordRef *, uint16_t, void *))GetProcAddress(dll_handle, "TXTRecordCreate"); + dnssd_txt_deallocate = (void (*)(TXTRecordRef *))GetProcAddress(dll_handle, "TXTRecordDeallocate"); + dnssd_txt_get_bytes_ptr = (const void *(*)(const TXTRecordRef *))GetProcAddress(dll_handle, "TXTRecordGetBytesPtr"); + dnssd_txt_get_length = (uint16_t (*)(const TXTRecordRef *))GetProcAddress(dll_handle, "TXTRecordGetLength"); + dnssd_txt_set_value = (DNSServiceErrorType (*)(TXTRecordRef *, const char *, uint8_t, const void *))GetProcAddress(dll_handle, "TXTRecordSetValue"); } dnssd_initialized = 1; @@ -218,9 +197,7 @@ void DNSSD_API DNSServiceRefDeallocate(DNSServiceRef sdRef) dnssd_init(); if (dnssd_deallocate) - return (*dnssd_deallocate)(sdRef); - else - return (-1); + (*dnssd_deallocate)(sdRef); } @@ -327,12 +304,11 @@ DNSServiceErrorType DNSSD_API DNSServiceUpdateRecord // TXTRecordCreate -void DNSSD_API TXTRecordCreate - ( +void DNSSD_API +TXTRecordCreate( TXTRecordRef *txtRecord, uint16_t bufferLen, - void *buffer - ) + void *buffer) { if (!dnssd_initialized) dnssd_init(); diff --git a/vcnet/dnssdstub.vcxproj b/vcnet/dnssdstub.vcxproj new file mode 100644 index 0000000000..d81daabf7c --- /dev/null +++ b/vcnet/dnssdstub.vcxproj @@ -0,0 +1,174 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + + + + + + + 15.0 + {C0899B3A-43E7-4BC3-A785-659E1FD2EA83} + Win32Proj + dnssdstub + 10.0.17134.0 + + + + StaticLibrary + true + v141 + Unicode + + + StaticLibrary + false + v141 + true + Unicode + + + StaticLibrary + true + v141 + Unicode + + + StaticLibrary + false + v141 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + $(Platform)/$(Configuration)/ + $(Platform)/$(Configuration)/$(ProjectName)/ + + + true + $(Platform)/$(Configuration)/ + $(Platform)/$(Configuration)/$(ProjectName)/ + + + false + $(Platform)/$(Configuration)/ + $(Platform)/$(Configuration)/$(ProjectName)/ + + + false + $(Platform)/$(Configuration)/ + $(Platform)/$(Configuration)/$(ProjectName)/ + + + + NotUsing + Level3 + Disabled + true + WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) + true + + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + Windows + true + + + + + NotUsing + Level3 + Disabled + true + _DEBUG;_LIB;%(PreprocessorDefinitions) + true + + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + Windows + true + + + + + NotUsing + Level3 + MaxSpeed + true + true + true + WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) + true + + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + Windows + true + true + true + + + + + NotUsing + Level3 + MaxSpeed + true + true + true + NDEBUG;_LIB;%(PreprocessorDefinitions) + true + + ..\vcnet;..;%(AdditionalIncludeDirectories) + + + Windows + true + true + true + + + + + + \ No newline at end of file diff --git a/vcnet/dnssdstub.vcxproj.filters b/vcnet/dnssdstub.vcxproj.filters new file mode 100644 index 0000000000..1bbb2f00f6 --- /dev/null +++ b/vcnet/dnssdstub.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + + + Header Files + + + \ No newline at end of file diff --git a/vcnet/dnssdstub.vcxproj.user b/vcnet/dnssdstub.vcxproj.user new file mode 100644 index 0000000000..be25078707 --- /dev/null +++ b/vcnet/dnssdstub.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/vcnet/ippfind.vcxproj b/vcnet/ippfind.vcxproj index 0aaa8044aa..8a3010e10a 100644 --- a/vcnet/ippfind.vcxproj +++ b/vcnet/ippfind.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -22,28 +22,29 @@ {B484DA0C-62C8-4C32-83B6-CCEB58968B85} ippfind Win32Proj + 10.0.17134.0 Application - v140 + v141 Unicode true Application - v140 + v141 Unicode Application - v140 + v141 Unicode true Application - v140 + v141 Unicode @@ -67,22 +68,22 @@ $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false diff --git a/vcnet/ippserver.vcxproj b/vcnet/ippserver.vcxproj index da0afa1706..4904703366 100644 --- a/vcnet/ippserver.vcxproj +++ b/vcnet/ippserver.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -22,28 +22,29 @@ {82A03BC7-0746-4B85-8908-3C7A3FAA58A9} ippserver Win32Proj + 10.0.17134.0 Application - v140 + v141 Unicode true Application - v140 + v141 Unicode Application - v140 + v141 Unicode true Application - v140 + v141 Unicode @@ -67,22 +68,22 @@ $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false diff --git a/vcnet/ipptool.vcxproj b/vcnet/ipptool.vcxproj index cc34fbc7d2..28bdd51c1c 100644 --- a/vcnet/ipptool.vcxproj +++ b/vcnet/ipptool.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -22,28 +22,29 @@ {B246D91E-61F2-4433-BFD2-6C2A96FBD4D4} ipptool Win32Proj + 10.0.17134.0 Application - v140 + v141 Unicode true Application - v140 + v141 Unicode Application - v140 + v141 Unicode true Application - v140 + v141 Unicode @@ -67,22 +68,22 @@ $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false diff --git a/vcnet/libcups2.vcxproj b/vcnet/libcups2.vcxproj index 5ac35be5dc..e7ff067ce2 100644 --- a/vcnet/libcups2.vcxproj +++ b/vcnet/libcups2.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -22,26 +22,27 @@ {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3} libcups2 Win32Proj + 10.0.17134.0 DynamicLibrary - v140 + v141 MultiByte DynamicLibrary - v140 + v141 MultiByte DynamicLibrary - v140 + v141 MultiByte DynamicLibrary - v140 + v141 MultiByte @@ -69,22 +70,22 @@ $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false @@ -343,6 +344,11 @@ xcopy /I/Y "$(TargetPath)" WIN32;%(PreprocessorDefinitions) + + + + + @@ -410,6 +416,8 @@ xcopy /I/Y "$(TargetPath)" + + diff --git a/vcnet/libcups2.vcxproj.filters b/vcnet/libcups2.vcxproj.filters index 91f3269c2a..1fc2c56a4c 100644 --- a/vcnet/libcups2.vcxproj.filters +++ b/vcnet/libcups2.vcxproj.filters @@ -162,6 +162,21 @@ Source Files + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + @@ -247,5 +262,11 @@ Header Files + + Header Files + + + Header Files + \ No newline at end of file diff --git a/vcnet/libcupsimage2.vcxproj b/vcnet/libcupsimage2.vcxproj deleted file mode 100644 index e9534ff956..0000000000 --- a/vcnet/libcupsimage2.vcxproj +++ /dev/null @@ -1,220 +0,0 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {CB4AA6F2-3E84-45BE-B505-95CD375E1234} - Win32Proj - - - - DynamicLibrary - v140 - MultiByte - - - DynamicLibrary - v140 - MultiByte - - - DynamicLibrary - v140 - MultiByte - - - DynamicLibrary - v140 - MultiByte - - - - - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>12.0.30501.0 - - - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - - - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - true - - - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - - - $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ - false - - - - Disabled - ..\vcnet;..;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBCUPS2_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - - Level3 - EditAndContinue - - - ws2_32.lib;%(AdditionalDependencies) - $(OutDir)libcupsimage2.dll - ..\filter\libcupsimage2.def - true - $(Platform)\$(Configuration)\libcupsimage2.pdb - Windows - false - - $(OutDir)libcupsimage2.lib - MachineX86 - - - - - X64 - - - Disabled - ..\vcnet;..;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBCUPS2_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - true - - Level3 - ProgramDatabase - - - ws2_32.lib;%(AdditionalDependencies) - $(OutDir)libcupsimage2.dll - ..\filter\libcupsimage2.def - true - $(Platform)\$(Configuration)\libcupsimage2.pdb - Windows - $(OutDir)libcupsimage2.lib - MachineX64 - - - - - MinSpace - ..\vcnet;..;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBCUPS2_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - MultiThreadedDLL - - Level3 - ProgramDatabase - - - ws2_32.lib;%(AdditionalDependencies) - $(OutDir)libcupsimage2.dll - ..\filter\libcupsimage2.def - true - libcupsimage2.pdb - Windows - true - true - false - - $(OutDir)libcupsimage2.lib - MachineX86 - - - - - - - - X64 - - - MinSpace - ..\vcnet;..;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBCUPS2_EXPORTS;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - MultiThreadedDLL - - Level3 - ProgramDatabase - - - ws2_32.lib;%(AdditionalDependencies) - $(OutDir)libcupsimage2.dll - ..\filter\libcupsimage2.def - true - libcupsimage2.pdb - Windows - true - true - $(OutDir)libcupsimage2.lib - MachineX64 - - - if not "%25RC_XBS%25" == "YES" goto END -if not exist "$(DSTROOT)\Program Files\Bonjour\$(Platform)" mkdir "$(DSTROOT)\Program Files\Bonjour\$(Platform)" -xcopy /I/Y "$(TargetPath)" "$(DSTROOT)\Program Files\Bonjour\$(Platform)" -:END - - - - - - - - - - - - - - {cb4aa6f2-3e84-45be-b505-95cd375e8be3} - false - - - - - - \ No newline at end of file diff --git a/vcnet/libcupsimage2.vcxproj.filters b/vcnet/libcupsimage2.vcxproj.filters deleted file mode 100644 index 54242c1a3f..0000000000 --- a/vcnet/libcupsimage2.vcxproj.filters +++ /dev/null @@ -1,33 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D7521234} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE521234} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121A1234} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - \ No newline at end of file diff --git a/vcnet/regex.vcxproj b/vcnet/regex.vcxproj index 44ad98ecfd..64853820b7 100644 --- a/vcnet/regex.vcxproj +++ b/vcnet/regex.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -22,28 +22,29 @@ {18950A1B-D37A-40C7-B2DF-C12986C0526E} regex Win32Proj + 10.0.17134.0 DynamicLibrary - v140 + v141 Unicode true DynamicLibrary - v140 + v141 Unicode DynamicLibrary - v140 + v141 Unicode true DynamicLibrary - v140 + v141 Unicode @@ -67,22 +68,22 @@ $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false diff --git a/vcnet/testfile.vcxproj b/vcnet/testfile.vcxproj index 9682d939c4..8a6734389d 100644 --- a/vcnet/testfile.vcxproj +++ b/vcnet/testfile.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -13,16 +13,17 @@ {CE75FC5F-E0CF-45DC-AD27-84666D3FBA30} Win32Proj + 10.0.17134.0 Application - v140 + v141 MultiByte Application - v140 + v141 MultiByte @@ -42,12 +43,12 @@ $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false diff --git a/vcnet/testhttp.vcxproj b/vcnet/testhttp.vcxproj index 3f1e513460..1e7f6b35cc 100644 --- a/vcnet/testhttp.vcxproj +++ b/vcnet/testhttp.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -13,16 +13,17 @@ {90B0058C-8393-411F-BD3B-E2C831D4E883} Win32Proj + 10.0.17134.0 Application - v140 + v141 MultiByte Application - v140 + v141 MultiByte @@ -42,12 +43,12 @@ $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ true $(Platform)\$(Configuration)\ - $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\$(ProjectName)\ false