New projects: one to compile CLI as a DLL and another containing usage example

This commit is contained in:
Jacek Czerwonka 2018-09-14 15:47:48 -07:00
Родитель 36e5774c8c
Коммит 1d00c9bab2
17 изменённых файлов: 526 добавлений и 118 удалений

9
.gitignore поставляемый
Просмотреть файл

@ -1,12 +1,8 @@
*.sdf
*.opensdf
*.user
/api-usage/Debug
/api/Debug
/api/Release
/api-usage/Release
/cli/Debug
/cli/Release
/*/Debug
/*/Release
/Debug
/Release
/bin
@ -17,5 +13,6 @@
/test/dbg.log
/pict.VC.db
/pict.VC.VC.opendb
*.aps
*.ipch
*.VC.*db*

Просмотреть файл

@ -42,9 +42,11 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\api-usage\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\api-usage\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>

Двоичные данные
cli/Resource.aps

Двоичный файл не отображается.

Просмотреть файл

@ -258,7 +258,7 @@ void CModelData::PrintStatistics()
if( GenerationMode == Approximate )
{
long covered = m_totalCombinations - m_remainingCombinations;
size_t covered = m_totalCombinations - m_remainingCombinations;
PrintStatisticsCaption( wstring( L"Covered" ) );
wcout << covered << L" (" << covered * 100 / m_totalCombinations << L"%)" << endl;
}

Просмотреть файл

@ -155,8 +155,8 @@ public:
private:
bool m_hasNegativeValues;
EncodingType m_encoding; // io encoding determined based on input file
long m_totalCombinations; // number of combinations PICT dealt with in this run
long m_remainingCombinations; // number of uncovered combinations (Preview and Approximate)
size_t m_totalCombinations; // number of combinations PICT dealt with in this run
size_t m_remainingCombinations; // number of uncovered combinations (Preview and Approximate)
void readFile ( const std::wstring& filePath );
bool readModel ( const std::wstring& filePath );

Просмотреть файл

@ -1,106 +0,0 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "..\common\ver.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
// Local file description
#define VER_FILEDESC_STR "PICT Executable"
#define VER_INTERNAL_NAME_STR "pict.exe"
#define VER_ORIGINAL_FILENAME_STR "pict.exe"
VS_VERSION_INFO VERSIONINFO
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_PRODUCTVERSION
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", VER_COMPANYNAME_STR
VALUE "FileDescription", VER_FILEDESC_STR
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", VER_INTERNAL_NAME_STR
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
VALUE "OriginalFilename", VER_ORIGINAL_FILENAME_STR
VALUE "ProductName", VER_PRODUCTNAME_STR
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

Просмотреть файл

@ -4,7 +4,7 @@
#define VER_MAKESTR(x) VER_MAKESTR_1( ##x)
#define VER_PRODBUILD_MAJOR 3
#define VER_PRODBUILD_MINOR 6
#define VER_PRODBUILD_MINOR 7
#define VER_PRODBUILD_BUILD 0
#define VER_PRODBUILD_REVISION 0

Просмотреть файл

@ -0,0 +1,25 @@
#include <string>
#include <iostream>
using namespace std;
// pict.dll exports this method, make sure you have pict.dll next to this executable when running
extern int execute( int argc, wchar_t* args[], wstring& output );
int main()
{
// The _execute_ method is the entry point to the command-line PICT and it behaves accordingly.
// To use it, we need to mimic the runtime's handling of the console apps. The first argument
// is the name of the program but in this case, the actual value doesn't matter. The second
// argument is a path to the model file.
const wchar_t* input[] = { L"", L"test.txt" };
wstring output;
int ret = execute( sizeof( input ) / sizeof(wchar_t*),
const_cast<wchar_t**>( input ),
output );
wcout << output;
return 0;
}

Просмотреть файл

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" 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>15.0</VCProjectVersion>
<ProjectGuid>{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>pictclidllusage</RootNamespace>
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</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>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\clidll-usage\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\clidll-usage\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="pictclidll-sample.cpp" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\clidll\pictclidll.vcxproj">
<Project>{33fa938d-1e7c-4001-a3b6-69773b6b9c9b}</Project>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

Просмотреть файл

@ -0,0 +1,27 @@
<?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;ipp;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;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="pictclidll-usage.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<Text Include="test.txt">
<Filter>Source Files</Filter>
</Text>
</ItemGroup>
</Project>

100
clidll/Resource.rc Normal file
Просмотреть файл

@ -0,0 +1,100 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#include "..\cli\ver.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1, 0, 0, 1
PRODUCTVERSION 1, 0, 0, 1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Microsoft Corporation\0"
VALUE "FileDescription", "PICT Executable as a Library"
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", "pict.dll"
VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
VALUE "OriginalFilename", "pict.dll"
VALUE "ProductName", VER_PRODUCTNAME_STR
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

17
clidll/dllmain.cpp Normal file
Просмотреть файл

@ -0,0 +1,17 @@
#include "windows.h"
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

3
clidll/pictclidll.def Normal file
Просмотреть файл

@ -0,0 +1,3 @@
LIBRARY PICT
EXPORTS
execute

119
clidll/pictclidll.vcxproj Normal file
Просмотреть файл

@ -0,0 +1,119 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" 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>15.0</VCProjectVersion>
<ProjectGuid>{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>pictclidll</RootNamespace>
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
</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>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\clidll\</OutDir>
<TargetName>pict</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)$(Configuration)\clidll\</OutDir>
<TargetName>pict</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;PICTCLIDLL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>false</ConformanceMode>
<AdditionalIncludeDirectories>$(SolutionDir)\api; $(SolutionDir)\cli</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\$(Configuration)\api</AdditionalLibraryDirectories>
<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;pict.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ModuleDefinitionFile>pictclidll.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;PICTCLIDLL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>false</ConformanceMode>
<AdditionalIncludeDirectories>$(SolutionDir)\api; $(SolutionDir)\cli</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>..\$(Configuration)\api</AdditionalLibraryDirectories>
<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;pict.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ModuleDefinitionFile>pictclidll.def</ModuleDefinitionFile>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\cli\ccommon.cpp" />
<ClCompile Include="..\cli\cmdline.cpp" />
<ClCompile Include="..\cli\common.cpp" />
<ClCompile Include="..\cli\cparser.cpp" />
<ClCompile Include="..\cli\ctokenizer.cpp" />
<ClCompile Include="..\cli\gcd.cpp" />
<ClCompile Include="..\cli\gcdexcl.cpp" />
<ClCompile Include="..\cli\gcdmodel.cpp" />
<ClCompile Include="..\cli\model.cpp" />
<ClCompile Include="..\cli\mparser.cpp" />
<ClCompile Include="..\cli\pict.cpp" />
<ClCompile Include="..\cli\strings.cpp" />
<ClCompile Include="dllmain.cpp" />
</ItemGroup>
<ItemGroup>
<None Include="pictclidll.def" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Resource.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

Просмотреть файл

@ -0,0 +1,76 @@
<?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;ipp;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;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\CliSources">
<UniqueIdentifier>{b3b817a2-e838-4f03-91ff-76306199fa82}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="dllmain.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\cli\ccommon.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\cmdline.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\common.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\cparser.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\ctokenizer.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\gcd.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\gcdexcl.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\gcdmodel.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\model.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\mparser.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\pict.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
<ClCompile Include="..\cli\strings.cpp">
<Filter>Source Files\CliSources</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="pictclidll.def">
<Filter>Source Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Resource.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

14
clidll/resource.h Normal file
Просмотреть файл

@ -0,0 +1,14 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Resource.rc
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

Просмотреть файл

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2037
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pictcli", "cli\pictcli.vcxproj", "{17AF516D-4727-4022-8367-D2F7D239F6E3}"
ProjectSection(ProjectDependencies) = postProject
@ -15,26 +15,69 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pictapi-usage", "api-usage\
{348F928A-B4A7-41FC-A312-76559047BDAF} = {348F928A-B4A7-41FC-A312-76559047BDAF}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pictclidll", "clidll\pictclidll.vcxproj", "{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}"
ProjectSection(ProjectDependencies) = postProject
{348F928A-B4A7-41FC-A312-76559047BDAF} = {348F928A-B4A7-41FC-A312-76559047BDAF}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pictclidll-usage", "clidll-usage\pictclidll-usage.vcxproj", "{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}"
ProjectSection(ProjectDependencies) = postProject
{33FA938D-1E7C-4001-A3B6-69773B6B9C9B} = {33FA938D-1E7C-4001-A3B6-69773B6B9C9B}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{17AF516D-4727-4022-8367-D2F7D239F6E3}.Debug|x64.ActiveCfg = Debug|Win32
{17AF516D-4727-4022-8367-D2F7D239F6E3}.Debug|x64.Build.0 = Debug|Win32
{17AF516D-4727-4022-8367-D2F7D239F6E3}.Debug|x86.ActiveCfg = Debug|Win32
{17AF516D-4727-4022-8367-D2F7D239F6E3}.Debug|x86.Build.0 = Debug|Win32
{17AF516D-4727-4022-8367-D2F7D239F6E3}.Release|x64.ActiveCfg = Release|Win32
{17AF516D-4727-4022-8367-D2F7D239F6E3}.Release|x64.Build.0 = Release|Win32
{17AF516D-4727-4022-8367-D2F7D239F6E3}.Release|x86.ActiveCfg = Release|Win32
{17AF516D-4727-4022-8367-D2F7D239F6E3}.Release|x86.Build.0 = Release|Win32
{348F928A-B4A7-41FC-A312-76559047BDAF}.Debug|x64.ActiveCfg = Debug|Win32
{348F928A-B4A7-41FC-A312-76559047BDAF}.Debug|x64.Build.0 = Debug|Win32
{348F928A-B4A7-41FC-A312-76559047BDAF}.Debug|x86.ActiveCfg = Debug|Win32
{348F928A-B4A7-41FC-A312-76559047BDAF}.Debug|x86.Build.0 = Debug|Win32
{348F928A-B4A7-41FC-A312-76559047BDAF}.Release|x64.ActiveCfg = Release|Win32
{348F928A-B4A7-41FC-A312-76559047BDAF}.Release|x64.Build.0 = Release|Win32
{348F928A-B4A7-41FC-A312-76559047BDAF}.Release|x86.ActiveCfg = Release|Win32
{348F928A-B4A7-41FC-A312-76559047BDAF}.Release|x86.Build.0 = Release|Win32
{F9EE63F9-EEA9-4C4C-A9FB-F01A4427D538}.Debug|x64.ActiveCfg = Debug|Win32
{F9EE63F9-EEA9-4C4C-A9FB-F01A4427D538}.Debug|x64.Build.0 = Debug|Win32
{F9EE63F9-EEA9-4C4C-A9FB-F01A4427D538}.Debug|x86.ActiveCfg = Debug|Win32
{F9EE63F9-EEA9-4C4C-A9FB-F01A4427D538}.Debug|x86.Build.0 = Debug|Win32
{F9EE63F9-EEA9-4C4C-A9FB-F01A4427D538}.Release|x64.ActiveCfg = Release|Win32
{F9EE63F9-EEA9-4C4C-A9FB-F01A4427D538}.Release|x64.Build.0 = Release|Win32
{F9EE63F9-EEA9-4C4C-A9FB-F01A4427D538}.Release|x86.ActiveCfg = Release|Win32
{F9EE63F9-EEA9-4C4C-A9FB-F01A4427D538}.Release|x86.Build.0 = Release|Win32
{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}.Debug|x64.ActiveCfg = Debug|Win32
{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}.Debug|x64.Build.0 = Debug|Win32
{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}.Debug|x86.ActiveCfg = Debug|Win32
{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}.Debug|x86.Build.0 = Debug|Win32
{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}.Release|x64.ActiveCfg = Release|Win32
{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}.Release|x64.Build.0 = Release|Win32
{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}.Release|x86.ActiveCfg = Release|Win32
{33FA938D-1E7C-4001-A3B6-69773B6B9C9B}.Release|x86.Build.0 = Release|Win32
{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}.Debug|x64.ActiveCfg = Debug|Win32
{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}.Debug|x64.Build.0 = Debug|Win32
{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}.Debug|x86.ActiveCfg = Debug|Win32
{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}.Debug|x86.Build.0 = Debug|Win32
{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}.Release|x64.ActiveCfg = Release|Win32
{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}.Release|x64.Build.0 = Release|Win32
{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}.Release|x86.ActiveCfg = Release|Win32
{ACD9DAC9-D3F3-42B6-B553-4F7BF7BB81A5}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {FF50E646-27C6-4432-AC63-F6BE2A426721}
EndGlobalSection
EndGlobal