git: ded0d3d486eb - main - Add back Windows only VCXProj files
Date: Mon, 04 Oct 2021 20:15:06 UTC
The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=ded0d3d486eba766f613070de0ed12029a9a3816 commit ded0d3d486eba766f613070de0ed12029a9a3816 Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2021-07-28 13:35:16 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2021-10-04 20:10:52 +0000 Add back Windows only VCXProj files --- bc.vcxproj | 278 ++++++++++++++++++++++++++++++++++++++++++++++++++++ bc.vcxproj.filters | 182 ++++++++++++++++++++++++++++++++++ bcl.vcxproj | 161 ++++++++++++++++++++++++++++++ bcl.vcxproj.filters | 96 ++++++++++++++++++ 4 files changed, 717 insertions(+) diff --git a/bc.vcxproj b/bc.vcxproj new file mode 100644 index 000000000000..2dbbd558618f --- /dev/null +++ b/bc.vcxproj @@ -0,0 +1,278 @@ +<?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> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <VCProjectVersion>16.0</VCProjectVersion> + <ProjectGuid>{D5086CFE-052C-4742-B005-E05DB983BBA2}</ProjectGuid> + <Keyword>Win32Proj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <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> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <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|x64'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ItemGroup> + <CustomBuild Include="gen\strgen.c"> + <Message>Building strgen</Message> + <Command>CL /Fo:$(Configuration)\$(ProjectName)\ /Fe:$(Configuration)\$(ProjectName)\strgen.exe gen\strgen.c</Command> + <Inputs>gen\strgen.c</Inputs> + <Outputs>$(Configuration)\$(ProjectName)\strgen.exe</Outputs> + </CustomBuild> + <CustomBuild Include="gen\lib.bc"> + <Message>Generating $(Configuration)\$(ProjectName)/lib.c</Message> + <Command>START $(Configuration)\$(ProjectName)/strgen gen\lib.bc $(Configuration)\$(ProjectName)/lib.c bc_lib bc_lib_name BC_ENABLED 1</Command> + <Inputs>$(Configuration)\$(ProjectName)\strgen.exe;gen\lib.bc</Inputs> + <Outputs>$(Configuration)\$(ProjectName)\lib.c</Outputs> + </CustomBuild> + <CustomBuild Include="gen\lib2.bc"> + <Message>Generating $(Configuration)\$(ProjectName)/lib2.c</Message> + <Command>START $(Configuration)\$(ProjectName)/strgen gen\lib2.bc $(Configuration)\$(ProjectName)/lib2.c bc_lib2 bc_lib2_name BC_ENABLED 1</Command> + <Inputs>$(Configuration)\$(ProjectName)\strgen.exe;gen\lib2.bc</Inputs> + <Outputs>$(Configuration)\$(ProjectName)\lib2.c</Outputs> + </CustomBuild> + <CustomBuild Include="gen\bc_help.txt"> + <Message>Generating $(Configuration)\$(ProjectName)/bc_help.c</Message> + <Command>START $(Configuration)\$(ProjectName)/strgen gen\bc_help.txt $(Configuration)\$(ProjectName)\bc_help.c bc_help "" BC_ENABLED</Command> + <Inputs>$(Configuration)\$(ProjectName)\strgen.exe;gen\bc_help.txt</Inputs> + <Outputs>$(Configuration)\$(ProjectName)\bc_help.c</Outputs> + </CustomBuild> + <CustomBuild Include="gen\dc_help.txt"> + <Message>Generating $(Configuration)\$(ProjectName)/dc_help.c</Message> + <Command>START $(Configuration)\$(ProjectName)/strgen gen\dc_help.txt $(Configuration)\$(ProjectName)\dc_help.c dc_help "" DC_ENABLED</Command> + <Inputs>$(Configuration)\$(ProjectName)\strgen.exe;gen\dc_help.txt</Inputs> + <Outputs>$(Configuration)\$(ProjectName)\dc_help.c</Outputs> + </CustomBuild> + </ItemGroup> + <PropertyGroup> + <CustomBuildBeforeTargets>ClCompile</CustomBuildBeforeTargets> + </PropertyGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <LinkIncremental>true</LinkIncremental> + <OutDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</OutDir> + <IntDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <LinkIncremental>false</LinkIncremental> + <OutDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</OutDir> + <IntDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <LinkIncremental>true</LinkIncremental> + <OutDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</OutDir> + <IntDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <LinkIncremental>false</LinkIncremental> + <OutDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</OutDir> + <IntDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions);BC_ENABLED=1;DC_ENABLED=1;BC_ENABLE_EXTRA_MATH=1;BC_ENABLE_HISTORY=0;BC_ENABLE_NLS=0;BC_ENABLE_PROMPT=1;BC_DEBUG_CODE=0;BC_ENABLE_LIBRARY=0;EXECSUFFIX=.exe;BUILD_TYPE=HN</PreprocessorDefinitions> + <AdditionalIncludeDirectories>$(SolutionDir)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <Optimization>Disabled</Optimization> + <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/W3 %(AdditionalOptions)</AdditionalOptions> + </ClCompile> + <Link> + <TargetMachine>MachineX86</TargetMachine> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Console</SubSystem> + <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;bcrypt.lib;ucrt.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + <PostBuildEvent> + <Command>copy /b "$(SolutionDir)\$(Configuration)\$(ProjectName)\bc.exe" "$(SolutionDir)\$(Configuration)\$(ProjectName)\dc.exe"</Command> + </PostBuildEvent> + <PostBuildEvent> + <Message>Copying bc to dc...</Message> + </PostBuildEvent> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions);BC_ENABLED=1;DC_ENABLED=1;BC_ENABLE_EXTRA_MATH=1;BC_ENABLE_HISTORY=0;BC_ENABLE_NLS=0;BC_ENABLE_PROMPT=1;BC_DEBUG_CODE=0;BC_ENABLE_LIBRARY=0;EXECSUFFIX=.exe;BUILD_TYPE=HN</PreprocessorDefinitions> + <AdditionalIncludeDirectories>$(SolutionDir)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <Optimization>MaxSpeed</Optimization> + <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/W3 %(AdditionalOptions)</AdditionalOptions> + </ClCompile> + <Link> + <TargetMachine>MachineX86</TargetMachine> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Console</SubSystem> + <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;bcrypt.lib;ucrt.lib;%(AdditionalDependencies)</AdditionalDependencies> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + </Link> + <PostBuildEvent> + <Command>copy /b "$(SolutionDir)\$(Configuration)\$(ProjectName)\bc.exe" "$(SolutionDir)\$(Configuration)\$(ProjectName)\dc.exe"</Command> + </PostBuildEvent> + <PostBuildEvent> + <Message>Copying bc to dc...</Message> + </PostBuildEvent> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions);BC_ENABLED=1;DC_ENABLED=1;BC_ENABLE_EXTRA_MATH=1;BC_ENABLE_HISTORY=0;BC_ENABLE_NLS=0;BC_ENABLE_PROMPT=1;BC_DEBUG_CODE=0;BC_ENABLE_LIBRARY=0;EXECSUFFIX=.exe;BUILD_TYPE=HN</PreprocessorDefinitions> + <AdditionalIncludeDirectories>$(SolutionDir)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <Optimization>Disabled</Optimization> + <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/W3 %(AdditionalOptions)</AdditionalOptions> + </ClCompile> + <Link> + <TargetMachine>MachineX64</TargetMachine> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Console</SubSystem> + <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;bcrypt.lib;ucrt.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + <PostBuildEvent> + <Command>copy /b "$(SolutionDir)\$(Configuration)\$(ProjectName)\bc.exe" "$(SolutionDir)\$(Configuration)\$(ProjectName)\dc.exe"</Command> + </PostBuildEvent> + <PostBuildEvent> + <Message>Copying bc to dc...</Message> + </PostBuildEvent> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions);BC_ENABLED=1;DC_ENABLED=1;BC_ENABLE_EXTRA_MATH=1;BC_ENABLE_HISTORY=0;BC_ENABLE_NLS=0;BC_ENABLE_PROMPT=1;BC_DEBUG_CODE=0;BC_ENABLE_LIBRARY=0;EXECSUFFIX=.exe;BUILD_TYPE=HN</PreprocessorDefinitions> + <AdditionalIncludeDirectories>$(SolutionDir)\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <Optimization>MaxSpeed</Optimization> + <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/W3 %(AdditionalOptions)</AdditionalOptions> + <BasicRuntimeChecks>Default</BasicRuntimeChecks> + </ClCompile> + <Link> + <TargetMachine>MachineX64</TargetMachine> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Console</SubSystem> + <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;bcrypt.lib;ucrt.lib;%(AdditionalDependencies)</AdditionalDependencies> + </Link> + <PostBuildEvent> + <Command>copy /b "$(SolutionDir)\$(Configuration)\$(ProjectName)\bc.exe" "$(SolutionDir)\$(Configuration)\$(ProjectName)\dc.exe"</Command> + </PostBuildEvent> + <PostBuildEvent> + <Message>Copying bc to dc...</Message> + </PostBuildEvent> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="$(Configuration)\$(ProjectName)\lib.c" /> + <ClCompile Include="$(Configuration)\$(ProjectName)\lib2.c" /> + <ClCompile Include="$(Configuration)\$(ProjectName)\bc_help.c" /> + <ClCompile Include="$(Configuration)\$(ProjectName)\dc_help.c" /> + <ClCompile Include="src\args.c" /> + <ClCompile Include="src\bc.c" /> + <ClCompile Include="src\bc_lex.c" /> + <ClCompile Include="src\bc_parse.c" /> + <ClCompile Include="src\data.c" /> + <ClCompile Include="src\dc.c" /> + <ClCompile Include="src\dc_lex.c" /> + <ClCompile Include="src\dc_parse.c" /> + <ClCompile Include="src\file.c" /> + <ClCompile Include="src\history.c" /> + <ClCompile Include="src\lang.c" /> + <ClCompile Include="src\lex.c" /> + <ClCompile Include="src\main.c" /> + <ClCompile Include="src\num.c" /> + <ClCompile Include="src\opt.c" /> + <ClCompile Include="src\parse.c" /> + <ClCompile Include="src\program.c" /> + <ClCompile Include="src\rand.c" /> + <ClCompile Include="src\read.c" /> + <ClCompile Include="src\vector.c" /> + <ClCompile Include="src\vm.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="include\args.h" /> + <ClInclude Include="include\bc.h" /> + <ClInclude Include="include\bcl.h" /> + <ClInclude Include="include\dc.h" /> + <ClInclude Include="include\file.h" /> + <ClInclude Include="include\history.h" /> + <ClInclude Include="include\lang.h" /> + <ClInclude Include="include\lex.h" /> + <ClInclude Include="include\library.h" /> + <ClInclude Include="include\num.h" /> + <ClInclude Include="include\opt.h" /> + <ClInclude Include="include\parse.h" /> + <ClInclude Include="include\program.h" /> + <ClInclude Include="include\rand.h" /> + <ClInclude Include="include\read.h" /> + <ClInclude Include="include\status.h" /> + <ClInclude Include="include\vector.h" /> + <ClInclude Include="include\version.h" /> + <ClInclude Include="include\vm.h" /> + </ItemGroup> + <ItemGroup> + <Text Include="gen\bc_help.txt" /> + <Text Include="gen\dc_help.txt" /> + </ItemGroup> + <ItemGroup> + <None Include="gen\lib.bc" /> + <None Include="gen\lib2.bc" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project> \ No newline at end of file diff --git a/bc.vcxproj.filters b/bc.vcxproj.filters new file mode 100644 index 000000000000..141ecb808d08 --- /dev/null +++ b/bc.vcxproj.filters @@ -0,0 +1,182 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="src\args.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\bc.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\bc_lex.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\bc_parse.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\data.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\dc.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\dc_lex.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\dc_parse.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\file.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\history.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\lang.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\lex.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\main.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\num.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\opt.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\parse.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\program.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\rand.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\read.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\vector.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\vm.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="gen\lib.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="gen\lib2.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="gen\bc_help.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="gen\dc_help.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="include\args.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\bc.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\bcl.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\dc.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\file.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\history.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\lang.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\lex.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\library.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\num.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\opt.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\parse.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\program.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\rand.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\read.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\status.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\vector.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\version.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\vm.h"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <CustomBuild Include="gen\strgen.c"> + <Filter>Source Files</Filter> + </CustomBuild> + <CustomBuild Include="gen\lib.bc" /> + <CustomBuild Include="gen\lib2.bc" /> + <CustomBuild Include="gen\bc_help.txt" /> + <CustomBuild Include="gen\dc_help.txt" /> + <CustomBuild Include="gen\lib.bc" /> + <CustomBuild Include="gen\lib2.bc" /> + <CustomBuild Include="gen\bc_help.txt" /> + <CustomBuild Include="gen\dc_help.txt" /> + </ItemGroup> + <ItemGroup> + <Text Include="gen\bc_help.txt"> + <Filter>Resource Files</Filter> + </Text> + <Text Include="gen\dc_help.txt"> + <Filter>Resource Files</Filter> + </Text> + </ItemGroup> + <ItemGroup> + <None Include="gen\lib.bc"> + <Filter>Resource Files</Filter> + </None> + <None Include="gen\lib2.bc"> + <Filter>Resource Files</Filter> + </None> + </ItemGroup> +</Project> \ No newline at end of file diff --git a/bcl.vcxproj b/bcl.vcxproj new file mode 100644 index 000000000000..3b79c8b9ef64 --- /dev/null +++ b/bcl.vcxproj @@ -0,0 +1,161 @@ +<?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> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <VCProjectVersion>16.0</VCProjectVersion> + <ProjectGuid>{D2CC3DCF-7919-4DEF-839D-E9B897EC3E8E}</ProjectGuid> + <Keyword>Win32Proj</Keyword> + <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>StaticLibrary</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <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> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <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|x64'"> + <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'"> + <LinkIncremental>true</LinkIncremental> + <OutDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</OutDir> + <IntDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <LinkIncremental>true</LinkIncremental> + <OutDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</OutDir> + <IntDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <LinkIncremental>true</LinkIncremental> + <OutDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</OutDir> + <IntDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <LinkIncremental>true</LinkIncremental> + <OutDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</OutDir> + <IntDir>$(SolutionDir)\$(Configuration)\$(ProjectName)\</IntDir> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);BC_ENABLED=1;DC_ENABLED=1;BC_ENABLE_EXTRA_MATH=1;BC_ENABLE_HISTORY=0;BC_ENABLE_NLS=0;BC_ENABLE_PROMPT=0;BC_DEBUG_CODE=0;BC_ENABLE_LIBRARY=1</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>$(SolutionDir)\include</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <TargetMachine>MachineX86</TargetMachine> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);BC_ENABLED=1;DC_ENABLED=1;BC_ENABLE_EXTRA_MATH=1;BC_ENABLE_HISTORY=0;BC_ENABLE_NLS=0;BC_ENABLE_PROMPT=0;BC_DEBUG_CODE=0;BC_ENABLE_LIBRARY=1</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <AdditionalIncludeDirectories>$(SolutionDir)\include</AdditionalIncludeDirectories> + </ClCompile> + <Link> + <TargetMachine>MachineX86</TargetMachine> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);BC_ENABLED=1;DC_ENABLED=1;BC_ENABLE_EXTRA_MATH=1;BC_ENABLE_HISTORY=0;BC_ENABLE_NLS=0;BC_ENABLE_PROMPT=0;BC_DEBUG_CODE=0;BC_ENABLE_LIBRARY=1</PreprocessorDefinitions> + <AdditionalIncludeDirectories>$(SolutionDir)\include</AdditionalIncludeDirectories> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);BC_ENABLED=1;DC_ENABLED=1;BC_ENABLE_EXTRA_MATH=1;BC_ENABLE_HISTORY=0;BC_ENABLE_NLS=0;BC_ENABLE_PROMPT=0;BC_DEBUG_CODE=0;BC_ENABLE_LIBRARY=1</PreprocessorDefinitions> + <AdditionalIncludeDirectories>$(SolutionDir)\include</AdditionalIncludeDirectories> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="src\data.c" /> + <ClCompile Include="src\library.c" /> + <ClCompile Include="src\num.c" /> + <ClCompile Include="src\rand.c" /> + <ClCompile Include="src\vector.c" /> + <ClCompile Include="src\vm.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="include\args.h" /> + <ClInclude Include="include\bc.h" /> + <ClInclude Include="include\bcl.h" /> + <ClInclude Include="include\dc.h" /> + <ClInclude Include="include\file.h" /> + <ClInclude Include="include\history.h" /> + <ClInclude Include="include\lang.h" /> + <ClInclude Include="include\lex.h" /> + <ClInclude Include="include\library.h" /> + <ClInclude Include="include\num.h" /> + <ClInclude Include="include\opt.h" /> + <ClInclude Include="include\parse.h" /> + <ClInclude Include="include\program.h" /> + <ClInclude Include="include\rand.h" /> + <ClInclude Include="include\read.h" /> + <ClInclude Include="include\status.h" /> + <ClInclude Include="include\vector.h" /> + <ClInclude Include="include\version.h" /> + <ClInclude Include="include\vm.h" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project> \ No newline at end of file diff --git a/bcl.vcxproj.filters b/bcl.vcxproj.filters new file mode 100644 index 000000000000..f75e0331cc88 --- /dev/null +++ b/bcl.vcxproj.filters @@ -0,0 +1,96 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="src\data.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\library.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\num.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\rand.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\vector.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\vm.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="include\args.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\bc.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\bcl.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\dc.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\file.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\history.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\lang.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\lex.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\library.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\num.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\opt.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\parse.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\program.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\rand.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\read.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\status.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\vector.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\version.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="include\vm.h"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> +</Project> \ No newline at end of file