<?xml version="1.0" encoding="Windows-1252"?> | |
<VisualStudioProject | |
ProjectType="Visual C++" | |
Version="9.00" | |
Name="lgp" | |
ProjectGUID="{927C3BD9-BD0C-4A23-99F9-5ABC40236509}" | |
RootNamespace="lgp" | |
Keyword="Win32Proj" | |
TargetFrameworkVersion="131072" | |
> | |
<Platforms> | |
<Platform | |
Name="Win32" | |
/> | |
</Platforms> | |
<ToolFiles> | |
</ToolFiles> | |
<Configurations> | |
<Configuration | |
Name="Debug|Win32" | |
OutputDirectory="..\BIN\NT\$(PlatformName)-$(ConfigurationName)" | |
IntermediateDirectory="..\BIN\NT\Project\simh\lgp\$(PlatformName)-$(ConfigurationName)" | |
ConfigurationType="1" | |
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | |
CharacterSet="0" | |
> | |
<Tool | |
Name="VCPreBuildEventTool" | |
Description="Check for required build dependencies & git commit id" | |
CommandLine="if not exist ../../windows-build/winpcap/Wpdpack/Include/pcap.h goto _notice
if not exist ../../windows-build/pthreads/pthread.h goto _notice
goto _good

:_notice
echo ****************************************************
echo ****************************************************
echo ** The required build support is not available. **
echo ****************************************************
echo ****************************************************
type 0ReadMe_Projects.txt
exit 1

:_good
if not exist ..\.git goto _SetId
if exist ..\.git\hooks\post-commit goto _SetId
echo *****************************************************
echo *****************************************************
echo ** Installing git hooks in newly cloned repository **
echo *****************************************************
echo *****************************************************
copy git-hooks\post* ..\.git\hooks\
:_SetId
SET GIT_COMMIT_ID=
if not exist ..\.git-commit-id goto _NoId
for /F %%i in (..\.git-commit-id) do SET GIT_COMMIT_ID=%%i
:_NoId
SET OLD_GIT_COMMIT_ID=
if not exist .git-commit-id.h echo.>.git-commit-id.h
for /F "tokens=3" %%i in (.git-commit-id.h) do SET OLD_GIT_COMMIT_ID=%%i
if "%GIT_COMMIT_ID%" equ "%OLD_GIT_COMMIT_ID%" goto _IdGood
echo #define SIM_GIT_COMMIT_ID %GIT_COMMIT_ID% >.git-commit-id.h
:_IdGood
" | |
/> | |
<Tool | |
Name="VCCustomBuildTool" | |
/> | |
<Tool | |
Name="VCXMLDataGeneratorTool" | |
/> | |
<Tool | |
Name="VCWebServiceProxyGeneratorTool" | |
/> | |
<Tool | |
Name="VCMIDLTool" | |
/> | |
<Tool | |
Name="VCCLCompilerTool" | |
Optimization="0" | |
AdditionalIncludeDirectories="./;../" | |
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;SIM_NEED_GIT_COMMIT_ID" | |
MinimalRebuild="true" | |
BasicRuntimeChecks="3" | |
RuntimeLibrary="1" | |
UsePrecompiledHeader="0" | |
WarningLevel="3" | |
Detect64BitPortabilityProblems="false" | |
DebugInformationFormat="4" | |
/> | |
<Tool | |
Name="VCManagedResourceCompilerTool" | |
/> | |
<Tool | |
Name="VCResourceCompilerTool" | |
/> | |
<Tool | |
Name="VCPreLinkEventTool" | |
/> | |
<Tool | |
Name="VCLinkerTool" | |
AdditionalDependencies="wsock32.lib winmm.lib" | |
OutputFile="$(OutDir)\lgp.exe" | |
LinkIncremental="2" | |
GenerateDebugInformation="true" | |
ProgramDatabaseFile="$(OutDir)\lgp.pdb" | |
SubSystem="1" | |
RandomizedBaseAddress="1" | |
DataExecutionPrevention="0" | |
TargetMachine="1" | |
/> | |
<Tool | |
Name="VCALinkTool" | |
/> | |
<Tool | |
Name="VCManifestTool" | |
/> | |
<Tool | |
Name="VCXDCMakeTool" | |
/> | |
<Tool | |
Name="VCBscMakeTool" | |
/> | |
<Tool | |
Name="VCFxCopTool" | |
/> | |
<Tool | |
Name="VCAppVerifierTool" | |
/> | |
<Tool | |
Name="VCPostBuildEventTool" | |
/> | |
</Configuration> | |
<Configuration | |
Name="Release|Win32" | |
OutputDirectory="..\BIN\NT\$(PlatformName)-$(ConfigurationName)" | |
IntermediateDirectory="..\BIN\NT\Project\simh\lgp\$(PlatformName)-$(ConfigurationName)" | |
ConfigurationType="1" | |
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops" | |
CharacterSet="0" | |
> | |
<Tool | |
Name="VCPreBuildEventTool" | |
Description="Check for required build dependencies & git commit id" | |
CommandLine="if not exist ../../windows-build/winpcap/Wpdpack/Include/pcap.h goto _notice
if not exist ../../windows-build/pthreads/pthread.h goto _notice
goto _good

:_notice
echo ****************************************************
echo ****************************************************
echo ** The required build support is not available. **
echo ****************************************************
echo ****************************************************
type 0ReadMe_Projects.txt
exit 1

:_good
if not exist ..\.git goto _SetId
if exist ..\.git\hooks\post-commit goto _SetId
echo *****************************************************
echo *****************************************************
echo ** Installing git hooks in newly cloned repository **
echo *****************************************************
echo *****************************************************
copy git-hooks\post* ..\.git\hooks\
:_SetId
SET GIT_COMMIT_ID=
if not exist ..\.git-commit-id goto _NoId
for /F %%i in (..\.git-commit-id) do SET GIT_COMMIT_ID=%%i
:_NoId
SET OLD_GIT_COMMIT_ID=
if not exist .git-commit-id.h echo.>.git-commit-id.h
for /F "tokens=3" %%i in (.git-commit-id.h) do SET OLD_GIT_COMMIT_ID=%%i
if "%GIT_COMMIT_ID%" equ "%OLD_GIT_COMMIT_ID%" goto _IdGood
echo #define SIM_GIT_COMMIT_ID %GIT_COMMIT_ID% >.git-commit-id.h
:_IdGood
" | |
/> | |
<Tool | |
Name="VCCustomBuildTool" | |
/> | |
<Tool | |
Name="VCXMLDataGeneratorTool" | |
/> | |
<Tool | |
Name="VCWebServiceProxyGeneratorTool" | |
/> | |
<Tool | |
Name="VCMIDLTool" | |
/> | |
<Tool | |
Name="VCCLCompilerTool" | |
Optimization="2" | |
InlineFunctionExpansion="1" | |
OmitFramePointers="true" | |
AdditionalIncludeDirectories="./;../" | |
PreprocessorDefinitions="_CRT_NONSTDC_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;SIM_NEED_GIT_COMMIT_ID" | |
StringPooling="true" | |
RuntimeLibrary="0" | |
EnableFunctionLevelLinking="true" | |
UsePrecompiledHeader="0" | |
WarningLevel="3" | |
Detect64BitPortabilityProblems="false" | |
DebugInformationFormat="3" | |
/> | |
<Tool | |
Name="VCManagedResourceCompilerTool" | |
/> | |
<Tool | |
Name="VCResourceCompilerTool" | |
/> | |
<Tool | |
Name="VCPreLinkEventTool" | |
/> | |
<Tool | |
Name="VCLinkerTool" | |
AdditionalDependencies="wsock32.lib winmm.lib" | |
OutputFile="$(OutDir)\lgp.exe" | |
LinkIncremental="1" | |
GenerateDebugInformation="true" | |
SubSystem="1" | |
OptimizeReferences="2" | |
EnableCOMDATFolding="2" | |
RandomizedBaseAddress="1" | |
DataExecutionPrevention="0" | |
TargetMachine="1" | |
/> | |
<Tool | |
Name="VCALinkTool" | |
/> | |
<Tool | |
Name="VCManifestTool" | |
/> | |
<Tool | |
Name="VCXDCMakeTool" | |
/> | |
<Tool | |
Name="VCBscMakeTool" | |
/> | |
<Tool | |
Name="VCFxCopTool" | |
/> | |
<Tool | |
Name="VCAppVerifierTool" | |
/> | |
<Tool | |
Name="VCPostBuildEventTool" | |
/> | |
</Configuration> | |
</Configurations> | |
<References> | |
</References> | |
<Files> | |
<Filter | |
Name="Source Files" | |
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm" | |
> | |
<File | |
RelativePath="..\LGP\lgp_cpu.c" | |
> | |
</File> | |
<File | |
RelativePath="..\LGP\lgp_stddev.c" | |
> | |
</File> | |
<File | |
RelativePath="..\LGP\lgp_sys.c" | |
> | |
</File> | |
<File | |
RelativePath="..\scp.c" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_console.c" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_disk.c" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_ether.c" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_fio.c" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_serial.c" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_sock.c" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_tape.c" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_timer.c" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_tmxr.c" | |
> | |
</File> | |
</Filter> | |
<Filter | |
Name="Header Files" | |
Filter="h;hpp;hxx;hm;inl;inc" | |
> | |
<File | |
RelativePath="..\LGP\lgp_defs.h" | |
> | |
</File> | |
<File | |
RelativePath="..\scp.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_console.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_defs.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_disk.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_ether.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_fio.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_rev.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_serial.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_sock.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_tape.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_timer.h" | |
> | |
</File> | |
<File | |
RelativePath="..\sim_tmxr.h" | |
> | |
</File> | |
</Filter> | |
<Filter | |
Name="Resource Files" | |
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" | |
> | |
</Filter> | |
</Files> | |
<Globals> | |
</Globals> | |
</VisualStudioProject> |