mirror of
https://github.com/microsoft/DTrace-on-Windows
synced 2026-06-08 15:56:04 +00:00
238 lines
13 KiB
XML
238 lines
13 KiB
XML
<?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|ARM">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>ARM</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|ARM64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>ARM64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|ARM">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>ARM</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|ARM64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>ARM64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<VCProjectVersion>15.0</VCProjectVersion>
|
|
<ProjectGuid>{74999117-0440-4E16-84FD-42B5703E59EC}</ProjectGuid>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
|
<WindowsTargetPlatformMinVersion>10.0.19041.0</WindowsTargetPlatformMinVersion>
|
|
<ProjectName>dtrace.dll</ProjectName>
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
<UseDebugLibraries Condition="'$(Configuration)'=='Debug'">true</UseDebugLibraries>
|
|
<PlatformToolset>v143</PlatformToolset>
|
|
<OutDir>$(SolutionDir)build\$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutDir>
|
|
<IntDir>$(OutDir)tmp\</IntDir>
|
|
<ExtensionsToDeleteOnClean>*.exp;*.cdf;*.cache;*.obj;*.obj.enc;*.ilk;*.ipdb;*.iobj;*.resources;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;*.tlog;*.manifest;*.res;*.pch;*.exp;*.idb;*.rep;*.xdc;*.pdb;*_manifest.rc;*.bsc;*.sbr;*.xml;*.metagen;*.bi</ExtensionsToDeleteOnClean>
|
|
<TargetName>dtrace</TargetName>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>YY_USE_PROTOS;YY_NEVER_INTERACTIVE;__STDC_VERSION__=199901L;__STDC_WANT_SECURE_LIB__=1;_LITTLE_ENDIAN=1;BYTE_ORDER=_LITTLE_ENDIAN;_WINSOCK_DEPRECATED_NO_WARNINGS;_CRT_SECURE_NO_WARNINGS;_USRDLL;_CRT_NON_CONFORMING_SWPRINTFS;WIN32_LEAN_AND_MEAN=1;_WIN32_WINNT=0x0A00;WINVER=0x0A00;WINNT=1;NTDDI_VERSION=0x0A000000;_WINDOWS;MY_ZCALLOC</PreprocessorDefinitions>
|
|
<AdditionalIncludeDirectories>$(ProjectDir)libctf\common;$(ProjectDir)libz;$(ProjectDir)libdtrace\common;$(ProjectDir)libdtrace\compat\win32;$(ProjectDir)libdtrace\compat\win32\inc;$(IntDir)\libdtrace\compat\win32\prebuilt;$(ProjectDir)ucpp;$(ProjectDir)..\sys\dev\dtrace\x86;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
<LanguageStandard>stdcpp17</LanguageStandard>
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
<DisableSpecificWarnings>4274</DisableSpecificWarnings>
|
|
<RuntimeLibrary />
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>onecore_apiset.lib;dbghelp.lib;delayimp.lib</AdditionalDependencies>
|
|
<ModuleDefinitionFile>$(ProjectDir)libdtrace\compat\win32\dtrace.def</ModuleDefinitionFile>
|
|
<DelayLoadDLLs>ws2_32.dll;crypt32.dll</DelayLoadDLLs>
|
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>_DEBUG;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>libvcruntimed.lib;libcmtd.lib;libcpmtd.lib;ucrtd.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
|
<ClCompile>
|
|
<PreprocessorDefinitions>_NDEBUG;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>libvcruntime.lib;libcmt.lib;libcpmt.lib;ucrt.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<CustomBuild Include="libdtrace\common\dt_grammar.y">
|
|
<Command>"$(SolutionDir)\releng\external\tools\bin\win_bison.exe" -y "-o$(IntDir)\libdtrace\compat\win32\prebuilt\%(FileName).c" -d -y "%(FullPath)"</Command>
|
|
<Message>Bison: %(Identity)</Message>
|
|
<Outputs>$(IntDir)\libdtrace\compat\win32\prebuilt\%(Filename).c;$(IntDir)\libdtrace\compat\win32\prebuilt\%(Filename).h</Outputs>
|
|
</CustomBuild>
|
|
<CustomBuild Include="libdtrace\common\dt_lex.l">
|
|
<Command>"$(SolutionDir)releng\external\tools\bin\win_flex.exe" -l --wincompat "-o$(IntDir)\libdtrace\compat\win32\prebuilt\%(FileName).c" "%(FullPath)"</Command>
|
|
<Message>Flex: %(Identity)</Message>
|
|
<Outputs>$(IntDir)\libdtrace\compat\win32\prebuilt\%(Filename).c</Outputs>
|
|
</CustomBuild>
|
|
<CustomBuild Include="libdtrace\common\dt_errtags.h">
|
|
<Command>PowerShell -File "$(SolutionDir)releng\ConvertTo-ErrorTags.ps1" "%(FullPath)" "$(IntDir)\libdtrace\compat\win32\prebuilt\%(FileName).c"</Command>
|
|
<Message>Creating error tags (PowerShell): %(Identity)</Message>
|
|
<Outputs>$(IntDir)\libdtrace\compat\win32\prebuilt\%(Filename).c</Outputs>
|
|
</CustomBuild>
|
|
<CustomBuild Include="libdtrace\compat\win32\inc\sys\dtrace.h">
|
|
<Command>PowerShell -File "$(SolutionDir)releng\ConvertTo-Names.ps1" "%(FullPath)" "$(IntDir)\libdtrace\compat\win32\prebuilt\dt_names.c"</Command>
|
|
<Message>Creating names (PowerShell): %(Identity)</Message>
|
|
<Outputs>$(IntDir)\libdtrace\compat\win32\prebuilt\dt_names.c</Outputs>
|
|
</CustomBuild>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="libctf\common\ctf_impl.h" />
|
|
<ClCompile Include="libctf\common\ctf_create.c" />
|
|
<ClCompile Include="libctf\common\ctf_decl.c" />
|
|
<ClCompile Include="libctf\common\ctf_error.c" />
|
|
<ClCompile Include="libctf\common\ctf_hash.c" />
|
|
<ClCompile Include="libctf\common\ctf_labels.c" />
|
|
<ClCompile Include="libctf\common\ctf_lib.c" />
|
|
<ClCompile Include="libctf\common\ctf_lookup.c" />
|
|
<ClCompile Include="libctf\common\ctf_open.c" />
|
|
<ClCompile Include="libctf\common\ctf_subr.c" />
|
|
<ClCompile Include="libctf\common\ctf_types.c" />
|
|
<ClCompile Include="libctf\common\ctf_util.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="libz\infblock.h" />
|
|
<ClInclude Include="libz\infcodes.h" />
|
|
<ClInclude Include="libz\inffast.h" />
|
|
<ClInclude Include="libz\inffixed.h" />
|
|
<ClInclude Include="libz\inftrees.h" />
|
|
<ClInclude Include="libz\infutil.h" />
|
|
<ClInclude Include="libz\trees.h" />
|
|
<ClInclude Include="libz\zconf.h" />
|
|
<ClInclude Include="libz\zlib.h" />
|
|
<ClInclude Include="libz\zutil.h" />
|
|
<ClCompile Include="libz\adler32.c" />
|
|
<ClCompile Include="libz\compress.c" />
|
|
<ClCompile Include="libz\crc32.c" />
|
|
<ClCompile Include="libz\default_allocator.c" />
|
|
<ClCompile Include="libz\deflate.c" />
|
|
<ClCompile Include="libz\gzio.c" />
|
|
<ClCompile Include="libz\infblock.c" />
|
|
<ClCompile Include="libz\infcodes.c" />
|
|
<ClCompile Include="libz\inffast.c" />
|
|
<ClCompile Include="libz\inflate.c" />
|
|
<ClCompile Include="libz\inftrees.c" />
|
|
<ClCompile Include="libz\infutil.c" />
|
|
<ClCompile Include="libz\trees.c" />
|
|
<ClCompile Include="libz\uncompr.c" />
|
|
<ClCompile Include="libz\zutil.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="libdtrace\common\dt_aggregate.c" />
|
|
<ClCompile Include="libdtrace\common\dt_as.c" />
|
|
<ClCompile Include="libdtrace\common\dt_buf.c" />
|
|
<ClCompile Include="libdtrace\common\dt_cc.c" />
|
|
<ClCompile Include="libdtrace\common\dt_cg.c" />
|
|
<ClCompile Include="libdtrace\common\dt_consume.c" />
|
|
<ClCompile Include="libdtrace\common\dt_decl.c" />
|
|
<ClCompile Include="libdtrace\common\dt_dis.c" />
|
|
<ClCompile Include="libdtrace\common\dt_dof.c" />
|
|
<ClCompile Include="libdtrace\common\dt_error.c" />
|
|
<ClCompile Include="libdtrace\common\dt_handle.c" />
|
|
<ClCompile Include="libdtrace\common\dt_ident.c" />
|
|
<ClCompile Include="libdtrace\common\dt_inttab.c" />
|
|
<ClCompile Include="libdtrace\common\dt_link.c" />
|
|
<ClCompile Include="libdtrace\common\dt_list.c" />
|
|
<ClCompile Include="libdtrace\common\dt_map.c" />
|
|
<ClCompile Include="libdtrace\common\dt_module.c" />
|
|
<ClCompile Include="libdtrace\common\dt_open.c" />
|
|
<ClCompile Include="libdtrace\common\dt_options.c" />
|
|
<ClCompile Include="libdtrace\common\dt_parser.c" />
|
|
<ClCompile Include="libdtrace\common\dt_pcb.c" />
|
|
<ClCompile Include="libdtrace\common\dt_pid.c" />
|
|
<ClCompile Include="libdtrace\common\dt_pq.c" />
|
|
<ClCompile Include="libdtrace\common\dt_pragma.c" />
|
|
<ClCompile Include="libdtrace\common\dt_print.c" />
|
|
<ClCompile Include="libdtrace\common\dt_printf.c" />
|
|
<ClCompile Include="libdtrace\common\dt_proc.c" />
|
|
<ClCompile Include="libdtrace\common\dt_program.c" />
|
|
<ClCompile Include="libdtrace\common\dt_provider.c" />
|
|
<ClCompile Include="libdtrace\common\dt_regset.c" />
|
|
<ClCompile Include="libdtrace\common\dt_string.c" />
|
|
<ClCompile Include="libdtrace\common\dt_strtab.c" />
|
|
<ClCompile Include="libdtrace\common\dt_subr.c" />
|
|
<ClCompile Include="libdtrace\common\dt_sugar.c" />
|
|
<ClCompile Include="libdtrace\common\dt_work.c" />
|
|
<ClCompile Include="libdtrace\common\dt_xlator.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\dirent.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\dllmain.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\dt_disasm.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\dt_etw_trace.cpp" />
|
|
<ClCompile Include="libdtrace\compat\win32\dt_fasttrap.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\dt_fgraph.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\dt_security.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\dt_sip.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\dt_symsrv.cpp" />
|
|
<ClCompile Include="libdtrace\compat\win32\getopt.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\ioctl.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\misc.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\pr_win32.c" />
|
|
<ClCompile Include="libdtrace\compat\win32\string.c" />
|
|
<ClCompile Include="$(IntDir)\libdtrace\compat\win32\prebuilt\dt_names.c" />
|
|
<ClCompile Include="$(IntDir)\libdtrace\compat\win32\prebuilt\dt_errtags.c" />
|
|
<ClCompile Include="$(IntDir)\libdtrace\compat\win32\prebuilt\dt_grammar.c" />
|
|
<ClCompile Include="$(IntDir)\libdtrace\compat\win32\prebuilt\dt_lex.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="libgen\common\gmatch.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="libdtrace\compat\win32\dtrace.def" />
|
|
<ResourceCompile Include="libdtrace\compat\win32\dtrace.rc">
|
|
<PreprocessorDefinitions Condition="'$(Platform)'=='ARM64'">DTRACE_CTF=typeinfo\dtrace.arm64.ctf</PreprocessorDefinitions>
|
|
<PreprocessorDefinitions Condition="'$(Platform)'=='x64'">DTRACE_CTF=typeinfo\dtrace.amd64.ctf</PreprocessorDefinitions>
|
|
</ResourceCompile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="ucpp\assert.c" />
|
|
<ClCompile Include="ucpp\cpp.c" />
|
|
<ClCompile Include="ucpp\eval.c" />
|
|
<ClCompile Include="ucpp\lexer.c" />
|
|
<ClCompile Include="ucpp\macro.c" />
|
|
<ClCompile Include="ucpp\mem.c" />
|
|
<ClCompile Include="ucpp\nhash.c" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="ucpp\arith.h" />
|
|
<ClInclude Include="ucpp\arith.c" />
|
|
<ClInclude Include="ucpp\config.h" />
|
|
<ClInclude Include="ucpp\cpp.h" />
|
|
<ClInclude Include="ucpp\hash.h" />
|
|
<ClInclude Include="ucpp\mem.h" />
|
|
<ClInclude Include="ucpp\nhash.h" />
|
|
<ClInclude Include="ucpp\tune.h" />
|
|
<ClInclude Include="ucpp\ucpp.1" />
|
|
<ClInclude Include="ucpp\ucppi.h" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
</Project> |