pull/307/head
parent
c325718dfc
commit
60c58c7c57
|
@ -41,7 +41,7 @@ coming soon:
|
|||
Although the examples were created using VisualGDB extension for Visual Studio, the
|
||||
examples can be compiled using the ESP-IDF.
|
||||
|
||||
Once the EDP-IDF is installed, use the [setp_win.bat]() to copy wolfSSL files to
|
||||
Once the EDP-IDF is installed, use the [setp_win.bat](https://github.com/wolfSSL/wolfssl/blob/master/IDE/Espressif/ESP-IDF/setup_win.bat) to copy wolfSSL files to
|
||||
the `esp-idf\components` directory, typically in
|
||||
`C:\Users\%username%\esp\esp-idf\components` or `C:\Users\%username%\Desktop\esp-idf\components`.
|
||||
Be sure to run the `ESP-IDY X.Y CMD` command prompt that has `%IDF_PATH%` defined.
|
||||
|
|
|
@ -20,6 +20,9 @@ are intended to be easy to follow and clear in demonstrating the basic
|
|||
procedure. It cannot be guaranteed that these programs will be free of memory
|
||||
leaks, especially in error conditions.
|
||||
|
||||
For Visual Studio users with the VisualGDB extension, there are additional
|
||||
example files in [VisualGDB-tls](./VisualGDB-tls/).
|
||||
|
||||
Tutorial
|
||||
========
|
||||
|
||||
|
@ -1291,3 +1294,12 @@ PK ECC Sign: ret 0 outSz 71
|
|||
Message for server: test
|
||||
Server: I hear ya fa shizzle!
|
||||
```
|
||||
|
||||
To generate your own cert text, see the [DER to C script](https://github.com/wolfSSL/wolfssl/blob/master/scripts/dertoc.pl).
|
||||
|
||||
<br />
|
||||
|
||||
## Support
|
||||
|
||||
Please contact wolfSSL at support@wolfssl.com with any questions, bug fixes,
|
||||
or suggested feature additions.
|
|
@ -1,10 +0,0 @@
|
|||
+ debug.mak
|
||||
- gcc_Debug.h
|
||||
- gcc_Release.h
|
||||
Makefile
|
||||
+ release.mak
|
||||
+ server-tls13-Debug.vgdbsettings
|
||||
+ server-tls13-Release.vgdbsettings
|
||||
+ server-tls13.vcxproj
|
||||
- server-tls13.vcxproj.filters
|
||||
- server-tls13.vcxproj.user
|
|
@ -1,268 +0,0 @@
|
|||
#Generated by VisualGDB project wizard.
|
||||
#Note: VisualGDB will automatically update this file when you add new sources to the project.
|
||||
#All other changes you make in this file will be preserved.
|
||||
#Visit http://visualgdb.com/makefiles for more details
|
||||
|
||||
#VisualGDB: AutoSourceFiles #<--- remove this line to disable auto-updating of SOURCEFILES and EXTERNAL_LIBS
|
||||
|
||||
TARGETNAME := client-tls13
|
||||
#TARGETTYPE can be APP, STATIC or SHARED
|
||||
TARGETTYPE := APP
|
||||
|
||||
to_lowercase = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$1))))))))))))))))))))))))))
|
||||
|
||||
macros-to-preprocessor-directives = $(foreach __macro, $(strip $1), \
|
||||
$(if $(findstring =,$(__macro)), \
|
||||
--pd "$(firstword $(subst =, ,$(__macro))) SETA $(subst ",\",$(lastword $(subst =, ,$(__macro))))", \
|
||||
--pd "$(__macro) SETA 1")) \
|
||||
|
||||
CONFIG ?= DEBUG
|
||||
|
||||
CONFIGURATION_FLAGS_FILE := $(call to_lowercase,$(CONFIG)).mak
|
||||
TOOLCHAIN_ROOT ?= $(toolchain_root)
|
||||
|
||||
include $(CONFIGURATION_FLAGS_FILE)
|
||||
|
||||
#LINKER_SCRIPT defined inside the configuration file (e.g. debug.mak) should override any linker scripts defined in shared .mak files
|
||||
CONFIGURATION_LINKER_SCRIPT := $(LINKER_SCRIPT)
|
||||
|
||||
include $(ADDITIONAL_MAKE_FILES)
|
||||
|
||||
ifneq ($(CONFIGURATION_LINKER_SCRIPT),)
|
||||
LINKER_SCRIPT := $(CONFIGURATION_LINKER_SCRIPT)
|
||||
endif
|
||||
|
||||
ifneq ($(LINKER_SCRIPT),)
|
||||
|
||||
ifeq ($(TOOLCHAIN_SUBTYPE),iar)
|
||||
LDFLAGS += --config $(LINKER_SCRIPT)
|
||||
else
|
||||
LDFLAGS += -T$(LINKER_SCRIPT)
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(AS),)
|
||||
AS := as
|
||||
endif
|
||||
|
||||
ifeq ($(AS),as)
|
||||
AS := $(CC)
|
||||
ASFLAGS := $(CFLAGS) $(ASFLAGS)
|
||||
endif
|
||||
|
||||
ifeq ($(TOOLCHAIN_SUBTYPE),iar)
|
||||
CC_DEPENDENCY_FILE_SPECIFIER := --dependencies=m
|
||||
ASM_DEPENDENCY_FILE_SPECIFIER := && echo >
|
||||
CXXFLAGS += --c++
|
||||
COMMONFLAGS += --silent
|
||||
|
||||
else ifeq ($(TOOLCHAIN_SUBTYPE),armcc)
|
||||
CC_DEPENDENCY_FILE_SPECIFIER := --depend
|
||||
ASM_DEPENDENCY_FILE_SPECIFIER := --depend
|
||||
USING_KEIL_TOOLCHAIN := 1
|
||||
else ifeq ($(TOOLCHAIN_SUBTYPE),armclang)
|
||||
CC_DEPENDENCY_FILE_SPECIFIER := -MD -MF
|
||||
ASM_DEPENDENCY_FILE_SPECIFIER := --depend
|
||||
USING_KEIL_TOOLCHAIN := 1
|
||||
else
|
||||
CC_DEPENDENCY_FILE_SPECIFIER := -MD -MF
|
||||
ASM_DEPENDENCY_FILE_SPECIFIER := -MD -MF
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(BINARYDIR),)
|
||||
error:
|
||||
$(error Invalid configuration, please check your inputs)
|
||||
endif
|
||||
|
||||
SOURCEFILES := ../../client-tls13.c
|
||||
EXTERNAL_LIBS :=
|
||||
EXTERNAL_LIBS_COPIED := $(foreach lib, $(EXTERNAL_LIBS),$(BINARYDIR)/$(notdir $(lib)))
|
||||
|
||||
CFLAGS += $(COMMONFLAGS)
|
||||
CXXFLAGS += $(COMMONFLAGS)
|
||||
ASFLAGS += $(COMMONFLAGS)
|
||||
LDFLAGS += $(COMMONFLAGS)
|
||||
|
||||
CFLAGS += $(addprefix -I,$(INCLUDE_DIRS))
|
||||
CXXFLAGS += $(addprefix -I,$(INCLUDE_DIRS))
|
||||
|
||||
CFLAGS += $(addprefix -D,$(PREPROCESSOR_MACROS))
|
||||
CXXFLAGS += $(addprefix -D,$(PREPROCESSOR_MACROS))
|
||||
|
||||
ifeq ($(USING_KEIL_TOOLCHAIN),1)
|
||||
ASFLAGS +=$(call macros-to-preprocesor-directives, $(PREPROCESSOR_MACROS))
|
||||
else ifeq ($(TOOLCHAIN_SUBTYPE),iar)
|
||||
ASFLAGS := $(subst --cpu=,--cpu ,$(ASFLAGS))
|
||||
ASFLAGS := $(subst --fpu=,--fpu ,$(ASFLAGS))
|
||||
ASFLAGS := $(subst --silent,-S ,$(ASFLAGS))
|
||||
ASFLAGS += $(addprefix -D,$(PREPROCESSOR_MACROS))
|
||||
else
|
||||
ASFLAGS += $(addprefix -D,$(PREPROCESSOR_MACROS))
|
||||
endif
|
||||
|
||||
CXXFLAGS += $(addprefix -framework ,$(MACOS_FRAMEWORKS))
|
||||
CFLAGS += $(addprefix -framework ,$(MACOS_FRAMEWORKS))
|
||||
LDFLAGS += $(addprefix -framework ,$(MACOS_FRAMEWORKS))
|
||||
|
||||
LDFLAGS += $(addprefix -L,$(LIBRARY_DIRS))
|
||||
|
||||
ifeq ($(GENERATE_MAP_FILE),1)
|
||||
|
||||
ifeq ($(USING_KEIL_TOOLCHAIN),1)
|
||||
LDFLAGS += --map --list=$(BINARYDIR)/$(basename $(TARGETNAME)).map
|
||||
else
|
||||
LDFLAGS += -Wl,-Map=$(BINARYDIR)/$(basename $(TARGETNAME)).map
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
LIBRARY_LDFLAGS = $(addprefix -l,$(LIBRARY_NAMES))
|
||||
|
||||
ifeq ($(IS_LINUX_PROJECT),1)
|
||||
RPATH_PREFIX := -Wl,--rpath='$$ORIGIN/../
|
||||
LIBRARY_LDFLAGS += $(EXTERNAL_LIBS)
|
||||
LIBRARY_LDFLAGS += -Wl,--rpath='$$ORIGIN'
|
||||
LIBRARY_LDFLAGS += $(addsuffix ',$(addprefix $(RPATH_PREFIX),$(dir $(EXTERNAL_LIBS))))
|
||||
|
||||
ifeq ($(TARGETTYPE),SHARED)
|
||||
CFLAGS += -fPIC
|
||||
CXXFLAGS += -fPIC
|
||||
ASFLAGS += -fPIC
|
||||
LIBRARY_LDFLAGS += -Wl,-soname,$(TARGETNAME)
|
||||
endif
|
||||
|
||||
ifneq ($(LINUX_PACKAGES),)
|
||||
PACKAGE_CFLAGS := $(foreach pkg,$(LINUX_PACKAGES),$(shell pkg-config --cflags $(pkg)))
|
||||
PACKAGE_LDFLAGS := $(foreach pkg,$(LINUX_PACKAGES),$(shell pkg-config --libs $(pkg)))
|
||||
CFLAGS += $(PACKAGE_CFLAGS)
|
||||
CXXFLAGS += $(PACKAGE_CFLAGS)
|
||||
LIBRARY_LDFLAGS += $(PACKAGE_LDFLAGS)
|
||||
endif
|
||||
else
|
||||
LIBRARY_LDFLAGS += $(EXTERNAL_LIBS)
|
||||
endif
|
||||
|
||||
LIBRARY_LDFLAGS += $(ADDITIONAL_LINKER_INPUTS)
|
||||
|
||||
all_make_files := $(firstword $(MAKEFILE_LIST)) $(CONFIGURATION_FLAGS_FILE) $(ADDITIONAL_MAKE_FILES)
|
||||
|
||||
ifeq ($(STARTUPFILES),)
|
||||
all_source_files := $(SOURCEFILES)
|
||||
else
|
||||
all_source_files := $(STARTUPFILES) $(filter-out $(STARTUPFILES),$(SOURCEFILES))
|
||||
endif
|
||||
|
||||
source_obj1 := $(all_source_files:.cpp=.o)
|
||||
source_obj2 := $(source_obj1:.c=.o)
|
||||
source_obj3 := $(source_obj2:.s=.o)
|
||||
source_obj4 := $(source_obj3:.S=.o)
|
||||
source_obj5 := $(source_obj4:.cc=.o)
|
||||
source_objs := $(source_obj5:.cxx=.o)
|
||||
|
||||
all_objs := $(addprefix $(BINARYDIR)/, $(notdir $(source_objs)))
|
||||
|
||||
PRIMARY_OUTPUTS :=
|
||||
|
||||
ifeq ($(GENERATE_BIN_FILE),1)
|
||||
PRIMARY_OUTPUTS += $(BINARYDIR)/$(basename $(TARGETNAME)).bin
|
||||
endif
|
||||
|
||||
ifeq ($(GENERATE_IHEX_FILE),1)
|
||||
PRIMARY_OUTPUTS += $(BINARYDIR)/$(basename $(TARGETNAME)).ihex
|
||||
endif
|
||||
|
||||
ifeq ($(PRIMARY_OUTPUTS),)
|
||||
PRIMARY_OUTPUTS := $(BINARYDIR)/$(TARGETNAME)
|
||||
endif
|
||||
|
||||
all: $(PRIMARY_OUTPUTS)
|
||||
|
||||
ifeq ($(USING_KEIL_TOOLCHAIN),1)
|
||||
|
||||
$(BINARYDIR)/$(basename $(TARGETNAME)).bin: $(BINARYDIR)/$(TARGETNAME)
|
||||
$(OBJCOPY) --bin $< --output $@
|
||||
|
||||
$(BINARYDIR)/$(basename $(TARGETNAME)).ihex: $(BINARYDIR)/$(TARGETNAME)
|
||||
$(OBJCOPY) --i32 $< --output $@
|
||||
|
||||
else ifeq ($(TOOLCHAIN_SUBTYPE),iar)
|
||||
|
||||
$(BINARYDIR)/$(basename $(TARGETNAME)).bin: $(BINARYDIR)/$(TARGETNAME)
|
||||
$(OBJCOPY) --silent --bin $< $@
|
||||
|
||||
$(BINARYDIR)/$(basename $(TARGETNAME)).ihex: $(BINARYDIR)/$(TARGETNAME)
|
||||
$(OBJCOPY) --silent --bin $< $@
|
||||
|
||||
else
|
||||
|
||||
$(BINARYDIR)/$(basename $(TARGETNAME)).bin: $(BINARYDIR)/$(TARGETNAME)
|
||||
$(OBJCOPY) -O binary $< $@
|
||||
|
||||
$(BINARYDIR)/$(basename $(TARGETNAME)).ihex: $(BINARYDIR)/$(TARGETNAME)
|
||||
$(OBJCOPY) -O ihex $< $@
|
||||
|
||||
endif
|
||||
|
||||
EXTRA_DEPENDENCIES :=
|
||||
|
||||
ifneq ($(LINKER_SCRIPT),)
|
||||
EXTRA_DEPENDENCIES += $(LINKER_SCRIPT)
|
||||
endif
|
||||
|
||||
ifeq ($(TARGETTYPE),APP)
|
||||
$(BINARYDIR)/$(TARGETNAME): $(all_objs) $(EXTERNAL_LIBS) $(EXTRA_DEPENDENCIES)
|
||||
ifeq ($(DETACH_CODE_COVERAGE),1)
|
||||
$(VISUALGDB_DIR)/VisualGDB.exe /decover $@ $(all_objs)
|
||||
endif
|
||||
$(LD) -o $@ $(LDFLAGS) $(START_GROUP) $(all_objs) $(LIBRARY_LDFLAGS) $(END_GROUP)
|
||||
endif
|
||||
|
||||
ifeq ($(TARGETTYPE),SHARED)
|
||||
$(BINARYDIR)/$(TARGETNAME): $(all_objs) $(EXTERNAL_LIBS) $(EXTRA_DEPENDENCIES)
|
||||
$(LD) -shared -o $@ $(LDFLAGS) $(START_GROUP) $(all_objs) $(LIBRARY_LDFLAGS) $(END_GROUP)
|
||||
endif
|
||||
|
||||
ifeq ($(TARGETTYPE),STATIC)
|
||||
$(BINARYDIR)/$(TARGETNAME): $(all_objs) $(EXTRA_DEPENDENCIES)
|
||||
$(AR) -r $@ $^
|
||||
endif
|
||||
|
||||
-include $(all_objs:.o=.dep)
|
||||
|
||||
clean:
|
||||
ifeq ($(USE_DEL_TO_CLEAN),1)
|
||||
cmd /C del /S /Q $(BINARYDIR)
|
||||
else
|
||||
rm -rf $(BINARYDIR)
|
||||
endif
|
||||
|
||||
$(BINARYDIR):
|
||||
mkdir $(BINARYDIR)
|
||||
|
||||
#VisualGDB: FileSpecificTemplates #<--- VisualGDB will use the following lines to define rules for source files in subdirectories
|
||||
$(BINARYDIR)/%.o : %.cpp $(all_make_files) |$(BINARYDIR)
|
||||
$(CXX) $(CXXFLAGS) -c $< -o $@ $(CC_DEPENDENCY_FILE_SPECIFIER) $(@:.o=.dep)
|
||||
|
||||
$(BINARYDIR)/%.o : %.c $(all_make_files) |$(BINARYDIR)
|
||||
$(CC) $(CFLAGS) -c $< -o $@ $(CC_DEPENDENCY_FILE_SPECIFIER) $(@:.o=.dep)
|
||||
|
||||
$(BINARYDIR)/%.o : %.S $(all_make_files) |$(BINARYDIR)
|
||||
$(AS) $(ASFLAGS) -c $< -o $@ $(ASM_DEPENDENCY_FILE_SPECIFIER) $(@:.o=.dep)
|
||||
|
||||
$(BINARYDIR)/%.o : %.s $(all_make_files) |$(BINARYDIR)
|
||||
$(AS) $(ASFLAGS) -c $< -o $@ $(ASM_DEPENDENCY_FILE_SPECIFIER) $(@:.o=.dep)
|
||||
|
||||
$(BINARYDIR)/%.o : %.cc $(all_make_files) |$(BINARYDIR)
|
||||
$(CC) $(CFLAGS) $(CXXFLAGS) -c $< -o $@ $(CC_DEPENDENCY_FILE_SPECIFIER) $(@:.o=.dep)
|
||||
|
||||
$(BINARYDIR)/%.o : %.cxx $(all_make_files) |$(BINARYDIR)
|
||||
$(CC) $(CFLAGS) $(CXXFLAGS) -c $< -o $@ $(CC_DEPENDENCY_FILE_SPECIFIER)F $(@:.o=.dep)
|
||||
|
||||
#VisualGDB: GeneratedRules #<--- All lines below are auto-generated. Remove this line to suppress auto-generation of file rules.
|
||||
|
||||
|
||||
$(BINARYDIR)/client-tls13.o : ../../client-tls13.c $(all_make_files) |$(BINARYDIR)
|
||||
$(CC) $(CFLAGS) -c $< -o $@ $(CC_DEPENDENCY_FILE_SPECIFIER) $(@:.o=.dep)
|
||||
|
|
@ -1,125 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Debug</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>RemoteUnix</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<AutoProgramSPIFFSPartition>true</AutoProgramSPIFFSPartition>
|
||||
<BuildHost>
|
||||
<HostName>localhost-lxss</HostName>
|
||||
<Transport>LinuxSubsystem</Transport>
|
||||
</BuildHost>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.make">
|
||||
<BuildLogMode xsi:nil="true" />
|
||||
<ToolchainID>
|
||||
<ID>com.sysprogs.toolchain.default-llvm</ID>
|
||||
<Version>
|
||||
<Revision>0</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<MakeFilePathRelativeToSourceDir>Makefile</MakeFilePathRelativeToSourceDir>
|
||||
<MakeConfigurationName>Debug</MakeConfigurationName>
|
||||
<MakeCommandTemplate>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<Command>$(ToolchainMake)</Command>
|
||||
<Arguments>$(ToolchainMakeArgs)</Arguments>
|
||||
<WorkingDirectory>$(BuildDir)</WorkingDirectory>
|
||||
<BackgroundMode xsi:nil="true" />
|
||||
</MakeCommandTemplate>
|
||||
</Build>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<ImportedPropertySheets />
|
||||
<CodeSense>
|
||||
<Enabled>Unknown</Enabled>
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>true</SupportLightweightReferenceAnalysis>
|
||||
<CheckForClangFormatFiles>true</CheckForClangFormatFiles>
|
||||
<FormattingEngine xsi:nil="true" />
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<Configurations />
|
||||
<ProgramArgumentsSuggestions />
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<AsyncModeSupportsBreakpoints>true</AsyncModeSupportsBreakpoints>
|
||||
<TemporaryBreakConsolidationTimeout>0</TemporaryBreakConsolidationTimeout>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
<EnableVerboseMode>true</EnableVerboseMode>
|
||||
<EnablePrettyPrinters>false</EnablePrettyPrinters>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments>192.168.1.123</ProgramArguments>
|
||||
<ArgumentEscapingMode>Auto</ArgumentEscapingMode>
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<SuppressArgumentVariablesCheck>false</SuppressArgumentVariablesCheck>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<StripDebugSymbolsDuringDeployment>false</StripDebugSymbolsDuringDeployment>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
<IndexDebugSymbols>false</IndexDebugSymbols>
|
||||
</Debug>
|
||||
</VisualGDBProjectSettings2>
|
|
@ -1,126 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<VisualGDBProjectSettings2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<ConfigurationName>Release</ConfigurationName>
|
||||
<Project xsi:type="com.visualgdb.project.linux">
|
||||
<CustomSourceDirectories>
|
||||
<Directories />
|
||||
<PathStyle>RemoteUnix</PathStyle>
|
||||
</CustomSourceDirectories>
|
||||
<AutoProgramSPIFFSPartition>true</AutoProgramSPIFFSPartition>
|
||||
<BuildHost>
|
||||
<HostName>localhost-lxss</HostName>
|
||||
<Transport>LinuxSubsystem</Transport>
|
||||
</BuildHost>
|
||||
<AllowChangingHostForMainCommands>false</AllowChangingHostForMainCommands>
|
||||
<SkipBuildIfNoSourceFilesChanged>false</SkipBuildIfNoSourceFilesChanged>
|
||||
<IgnoreFileTransferErrors>false</IgnoreFileTransferErrors>
|
||||
<RemoveRemoteDirectoryOnClean>false</RemoveRemoteDirectoryOnClean>
|
||||
<SkipDeploymentTests>false</SkipDeploymentTests>
|
||||
<MainSourceDirectoryForLocalBuilds>$(ProjectDir)</MainSourceDirectoryForLocalBuilds>
|
||||
</Project>
|
||||
<Build xsi:type="com.visualgdb.build.make">
|
||||
<BuildLogMode xsi:nil="true" />
|
||||
<ToolchainID>
|
||||
<ID>com.sysprogs.toolchain.default-llvm</ID>
|
||||
<Version>
|
||||
<Revision>0</Revision>
|
||||
</Version>
|
||||
</ToolchainID>
|
||||
<MakeFilePathRelativeToSourceDir>Makefile</MakeFilePathRelativeToSourceDir>
|
||||
<MakeConfigurationName>Release</MakeConfigurationName>
|
||||
<MakeCommandTemplate>
|
||||
<SkipWhenRunningCommandList>false</SkipWhenRunningCommandList>
|
||||
<RemoteHost>
|
||||
<HostName>BuildMachine</HostName>
|
||||
<Transport>BuiltinShortcut</Transport>
|
||||
</RemoteHost>
|
||||
<Command>$(ToolchainMake)</Command>
|
||||
<Arguments>$(ToolchainMakeArgs)</Arguments>
|
||||
<WorkingDirectory>$(BuildDir)</WorkingDirectory>
|
||||
<BackgroundMode xsi:nil="true" />
|
||||
</MakeCommandTemplate>
|
||||
</Build>
|
||||
<CustomBuild>
|
||||
<PreSyncActions />
|
||||
<PreBuildActions />
|
||||
<PostBuildActions />
|
||||
<PreCleanActions />
|
||||
<PostCleanActions />
|
||||
</CustomBuild>
|
||||
<CustomDebug>
|
||||
<PreDebugActions />
|
||||
<PostDebugActions />
|
||||
<DebugStopActions />
|
||||
<BreakMode>Default</BreakMode>
|
||||
</CustomDebug>
|
||||
<CustomShortcuts>
|
||||
<Shortcuts />
|
||||
<ShowMessageAfterExecuting>true</ShowMessageAfterExecuting>
|
||||
</CustomShortcuts>
|
||||
<UserDefinedVariables />
|
||||
<CodeSense>
|
||||
<Enabled>Unknown</Enabled>
|
||||
<ExtraSettings>
|
||||
<HideErrorsInSystemHeaders>true</HideErrorsInSystemHeaders>
|
||||
<SupportLightweightReferenceAnalysis>true</SupportLightweightReferenceAnalysis>
|
||||
<CheckForClangFormatFiles>true</CheckForClangFormatFiles>
|
||||
<FormattingEngine xsi:nil="true" />
|
||||
</ExtraSettings>
|
||||
<CodeAnalyzerSettings>
|
||||
<Enabled>false</Enabled>
|
||||
</CodeAnalyzerSettings>
|
||||
</CodeSense>
|
||||
<Debug xsi:type="com.visualgdb.debug.remote">
|
||||
<AdditionalStartupCommands />
|
||||
<AdditionalGDBSettings>
|
||||
<Features>
|
||||
<DisableAutoDetection>false</DisableAutoDetection>
|
||||
<UseFrameParameter>false</UseFrameParameter>
|
||||
<SimpleValuesFlagSupported>false</SimpleValuesFlagSupported>
|
||||
<ListLocalsSupported>false</ListLocalsSupported>
|
||||
<ByteLevelMemoryCommandsAvailable>false</ByteLevelMemoryCommandsAvailable>
|
||||
<ThreadInfoSupported>false</ThreadInfoSupported>
|
||||
<PendingBreakpointsSupported>false</PendingBreakpointsSupported>
|
||||
<SupportTargetCommand>false</SupportTargetCommand>
|
||||
<ReliableBreakpointNotifications>false</ReliableBreakpointNotifications>
|
||||
</Features>
|
||||
<EnableSmartStepping>false</EnableSmartStepping>
|
||||
<FilterSpuriousStoppedNotifications>false</FilterSpuriousStoppedNotifications>
|
||||
<ForceSingleThreadedMode>false</ForceSingleThreadedMode>
|
||||
<UseAppleExtensions>false</UseAppleExtensions>
|
||||
<CanAcceptCommandsWhileRunning>false</CanAcceptCommandsWhileRunning>
|
||||
<MakeLogFile>false</MakeLogFile>
|
||||
<IgnoreModuleEventsWhileStepping>true</IgnoreModuleEventsWhileStepping>
|
||||
<UseRelativePathsOnly>false</UseRelativePathsOnly>
|
||||
<ExitAction>None</ExitAction>
|
||||
<DisableDisassembly>false</DisableDisassembly>
|
||||
<ExamineMemoryWithXCommand>false</ExamineMemoryWithXCommand>
|
||||
<StepIntoNewInstanceEntry>main</StepIntoNewInstanceEntry>
|
||||
<ExamineRegistersInRawFormat>true</ExamineRegistersInRawFormat>
|
||||
<DisableSignals>false</DisableSignals>
|
||||
<EnableAsyncExecutionMode>false</EnableAsyncExecutionMode>
|
||||
<AsyncModeSupportsBreakpoints>true</AsyncModeSupportsBreakpoints>
|
||||
<TemporaryBreakConsolidationTimeout>0</TemporaryBreakConsolidationTimeout>
|
||||
<EnableNonStopMode>false</EnableNonStopMode>
|
||||
<MaxBreakpointLimit>0</MaxBreakpointLimit>
|
||||
<EnableVerboseMode>true</EnableVerboseMode>
|
||||
<EnablePrettyPrinters>false</EnablePrettyPrinters>
|
||||
</AdditionalGDBSettings>
|
||||
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
|
||||
<DebuggedProgram>$(TargetPath)</DebuggedProgram>
|
||||
<GDBServerPort>2000</GDBServerPort>
|
||||
<ProgramArguments />
|
||||
<ArgumentEscapingMode>Auto</ArgumentEscapingMode>
|
||||
</LaunchGDBSettings>
|
||||
<GenerateCtrlBreakInsteadOfCtrlC>false</GenerateCtrlBreakInsteadOfCtrlC>
|
||||
<SuppressArgumentVariablesCheck>false</SuppressArgumentVariablesCheck>
|
||||
<X11WindowMode>Local</X11WindowMode>
|
||||
<KeepConsoleAfterExit>false</KeepConsoleAfterExit>
|
||||
<RunGDBUnderSudo>false</RunGDBUnderSudo>
|
||||
<DeploymentMode>Auto</DeploymentMode>
|
||||
<DeployWhenLaunchedWithoutDebugging>true</DeployWhenLaunchedWithoutDebugging>
|
||||
<StripDebugSymbolsDuringDeployment>false</StripDebugSymbolsDuringDeployment>
|
||||
<SuppressTTYCreation>false</SuppressTTYCreation>
|
||||
<IndexDebugSymbols>false</IndexDebugSymbols>
|
||||
</Debug>
|
||||
</VisualGDBProjectSettings2>
|
|
@ -1,85 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>16.0</VCProjectVersion>
|
||||
<ProjectGuid>{7853D7F3-DA2F-4F59-AADA-D645A9AD15C5}</ProjectGuid>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Makefile</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="VisualGDBPackageDefinitions">
|
||||
<ToolchainID>com.sysprogs.toolchain.default-llvm</ToolchainID>
|
||||
</PropertyGroup>
|
||||
<ImportGroup Label="VisualGDBFindComponents">
|
||||
<Import Project="$(LOCALAPPDATA)\VisualGDB\FindComponents.props" />
|
||||
</ImportGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="Shared">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<NMakeIncludeSearchPath>\\wsl$\Ubuntu\usr\include\c++\9;\\wsl$\Ubuntu\usr\include\x86_64-linux-gnu\c++\9;\\wsl$\Ubuntu\usr\include\c++\9\backward;\\wsl$\Ubuntu\usr\local\include;\\wsl$\Ubuntu\usr\lib\llvm-10\lib\clang\10.0.0\include;\\wsl$\Ubuntu\usr\include\x86_64-linux-gnu;\\wsl$\Ubuntu\usr\include;$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||
<NMakeForcedIncludes>$(ProjectDir)\gcc_Debug.h;$(VISUALGDB_DIR)\gcc_compat.h;$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||
<NMakeBuildCommandLine>"$(VISUALGDB_DIR)\VisualGDB.exe" /build "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)"</NMakeBuildCommandLine>
|
||||
<NMakeCleanCommandLine>"$(VISUALGDB_DIR)\VisualGDB.exe" /clean "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)"</NMakeCleanCommandLine>
|
||||
<NMakeReBuildCommandLine>"$(VISUALGDB_DIR)\VisualGDB.exe" /rebuild "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)"</NMakeReBuildCommandLine>
|
||||
<NMakeOutput>$(ProjectDir)client-tls13-Debug.vgdbsettings</NMakeOutput>
|
||||
<IncludePath />
|
||||
<ReferencePath />
|
||||
<LibraryPath />
|
||||
<NMakePreprocessorDefinitions>__VisualGDB_CFG_Debug;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<NMakeIncludeSearchPath>\\wsl$\Ubuntu\usr\include\c++\9;\\wsl$\Ubuntu\usr\include\x86_64-linux-gnu\c++\9;\\wsl$\Ubuntu\usr\include\c++\9\backward;\\wsl$\Ubuntu\usr\local\include;\\wsl$\Ubuntu\usr\lib\llvm-10\lib\clang\10.0.0\include;\\wsl$\Ubuntu\usr\include\x86_64-linux-gnu;\\wsl$\Ubuntu\usr\include;$(NMakeIncludeSearchPath)</NMakeIncludeSearchPath>
|
||||
<NMakeForcedIncludes>$(ProjectDir)\gcc_Release.h;$(VISUALGDB_DIR)\gcc_compat.h;$(NMakeForcedIncludes)</NMakeForcedIncludes>
|
||||
<NMakePreprocessorDefinitions>__VisualGDB_CFG_Release;$(NMakePreprocessorDefinitions)</NMakePreprocessorDefinitions>
|
||||
<NMakeBuildCommandLine>"$(VISUALGDB_DIR)\VisualGDB.exe" /build "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)"</NMakeBuildCommandLine>
|
||||
<NMakeCleanCommandLine>"$(VISUALGDB_DIR)\VisualGDB.exe" /clean "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)"</NMakeCleanCommandLine>
|
||||
<NMakeReBuildCommandLine>"$(VISUALGDB_DIR)\VisualGDB.exe" /rebuild "$(ProjectPath)" "/solution:$(SolutionPath)" "/config:$(Configuration)" "/platform:$(Platform)"</NMakeReBuildCommandLine>
|
||||
<NMakeOutput>$(ProjectDir)client-tls13-Release.vgdbsettings</NMakeOutput>
|
||||
<IncludePath />
|
||||
<ReferencePath />
|
||||
<LibraryPath />
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\client-tls13.c" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Makefile" />
|
||||
<None Include="debug.mak" />
|
||||
<None Include="release.mak" />
|
||||
<None Include="client-tls13-Debug.vgdbsettings" />
|
||||
<None Include="client-tls13-Release.vgdbsettings" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,34 +0,0 @@
|
|||
#Generated by VisualGDB (http://visualgdb.com)
|
||||
#DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
|
||||
#USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
|
||||
|
||||
BINARYDIR := ../../
|
||||
|
||||
#Toolchain
|
||||
CC := clang
|
||||
CXX := clang++
|
||||
LD := $(CXX)
|
||||
AR := ar
|
||||
OBJCOPY := objcopy
|
||||
|
||||
#Additional flags
|
||||
PREPROCESSOR_MACROS := DEBUG=1
|
||||
INCLUDE_DIRS :=
|
||||
LIBRARY_DIRS := wolfssl
|
||||
LIBRARY_NAMES := wolfssl
|
||||
ADDITIONAL_LINKER_INPUTS :=
|
||||
MACOS_FRAMEWORKS :=
|
||||
LINUX_PACKAGES :=
|
||||
|
||||
CFLAGS := -ggdb -ffunction-sections -O0
|
||||
CXXFLAGS := -ggdb -ffunction-sections -O0
|
||||
ASFLAGS :=
|
||||
LDFLAGS := -Wl,-gc-sections
|
||||
COMMONFLAGS :=
|
||||
LINKER_SCRIPT :=
|
||||
|
||||
START_GROUP := -Wl,--start-group
|
||||
END_GROUP := -Wl,--end-group
|
||||
|
||||
#Additional options detected from testing the toolchain
|
||||
IS_LINUX_PROJECT := 1
|
|
@ -1,34 +0,0 @@
|
|||
#Generated by VisualGDB (http://visualgdb.com)
|
||||
#DO NOT EDIT THIS FILE MANUALLY UNLESS YOU ABSOLUTELY NEED TO
|
||||
#USE VISUALGDB PROJECT PROPERTIES DIALOG INSTEAD
|
||||
|
||||
BINARYDIR := Release
|
||||
|
||||
#Toolchain
|
||||
CC := clang
|
||||
CXX := clang++
|
||||
LD := $(CXX)
|
||||
AR := ar
|
||||
OBJCOPY := objcopy
|
||||
|
||||
#Additional flags
|
||||
PREPROCESSOR_MACROS := NDEBUG=1 RELEASE=1
|
||||
INCLUDE_DIRS :=
|
||||
LIBRARY_DIRS :=
|
||||
LIBRARY_NAMES :=
|
||||
ADDITIONAL_LINKER_INPUTS :=
|
||||
MACOS_FRAMEWORKS :=
|
||||
LINUX_PACKAGES :=
|
||||
|
||||
CFLAGS := -ggdb -ffunction-sections -O3
|
||||
CXXFLAGS := -ggdb -ffunction-sections -O3
|
||||
ASFLAGS :=
|
||||
LDFLAGS := -Wl,-gc-sections
|
||||
COMMONFLAGS :=
|
||||
LINKER_SCRIPT :=
|
||||
|
||||
START_GROUP := -Wl,--start-group
|
||||
END_GROUP := -Wl,--end-group
|
||||
|
||||
#Additional options detected from testing the toolchain
|
||||
IS_LINUX_PROJECT := 1
|
Loading…
Reference in New Issue