-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Use `curl` from `vcpkg`
- Loading branch information
Showing
121 changed files
with
3,099 additions
and
608 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<Project> | ||
<Import Project="$(MSBuildThisFileDirectory)User.props" Condition="Exists('$(MSBuildThisFileDirectory)User.props')"/> | ||
|
||
<PropertyGroup> | ||
<VcpkgTriplet Condition="'$(VcpkgTriplet)'=='' And '$(Platform)'=='Win32'">x86-windows-static</VcpkgTriplet> | ||
<VcpkgTriplet Condition="'$(VcpkgTriplet)'=='' And '$(Platform)'=='x64'">x64-windows-static</VcpkgTriplet> | ||
<VcpkgRootDir Condition="'$(VcpkgRootDir)'==''">$(SolutionDir)vcpkg\$(VcpkgTriplet)\</VcpkgRootDir> | ||
<VcpkgInstalledDir Condition="'$(VcpkgInstalledDir)'==''">$(VcpkgRootDir)installed\$(VcpkgTriplet)\</VcpkgInstalledDir> | ||
|
||
<NsisPlatform Condition="'$(Platform)'=='Win32'">x86</NsisPlatform> | ||
<NsisPlatform Condition="'$(Platform)'=='x64'">amd64</NsisPlatform> | ||
|
||
<CharacterSet Condition="'$(CharacterSet)'!=''">$(CharacterSet)</CharacterSet> | ||
<CharacterSet Condition="'$(CharacterSet)'==''">Unicode</CharacterSet> | ||
|
||
<NsisCharacterSet Condition="'$(CharacterSet)'=='MultiByte'">ansi</NsisCharacterSet> | ||
<NsisCharacterSet Condition="'$(CharacterSet)'!='MultiByte'">unicode</NsisCharacterSet> | ||
|
||
<OutDir>$(SolutionDir)$(Configuration)-msbuild-$(NsisPlatform)-$(NsisCharacterSet)\</OutDir> | ||
<IntDir>$(SolutionDir)$(Configuration)-msbuild-$(NsisPlatform)-$(NsisCharacterSet)\IntDir\$(MSBuildProjectName)\</IntDir> | ||
</PropertyGroup> | ||
|
||
<ItemDefinitionGroup Condition="$(MSBuildProjectExtension) == '.vcxproj'"> | ||
<ClCompile> | ||
<AdditionalIncludeDirectories>$(VcpkgInstalledDir)include;$(VcpkgInstalledDir)include\openssl;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
</ClCompile> | ||
</ItemDefinitionGroup> | ||
|
||
<ItemDefinitionGroup Condition="$(Configuration.Contains('Debug')) and '$(MSBuildProjectExtension)' == '.vcxproj'"> | ||
<Link> | ||
<AdditionalLibraryDirectories>$(VcpkgInstalledDir)debug\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
|
||
<ItemDefinitionGroup Condition="$(Configuration.Contains('Release')) and '$(MSBuildProjectExtension)' == '.vcxproj'"> | ||
<Link> | ||
<AdditionalLibraryDirectories>$(VcpkgInstalledDir)lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
ifeq ($(OS),Windows_NT) | ||
PLATFORM = windows | ||
else | ||
UNAME_S := $(shell uname -s) | ||
ifeq ($(UNAME_S),Linux) | ||
PLATFORM = linux | ||
endif | ||
ifeq ($(UNAME_S),Darwin) | ||
PLATFORM = macos | ||
endif | ||
endif | ||
|
||
.PHONY: all clean | ||
|
||
clean: | ||
@echo "Cleaning for platform: $(PLATFORM)" | ||
@$(MAKE) -C src/nscurl -f Makefile.$(PLATFORM) clean | ||
|
||
all: | ||
@echo "Building for platform: $(PLATFORM)" | ||
@$(MAKE) -C src/nscurl -f Makefile.$(PLATFORM) all |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.