Chakra.ICU.Data.vcxproj 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Condition="'$(ChakraBuildPathImported)'!='true'" Project="$(SolutionDir)Chakra.Build.Paths.props" />
  4. <Import Project="$(BuildConfigPropsPath)Chakra.Build.ProjectConfiguration.props" />
  5. <PropertyGroup Label="Globals">
  6. <TargetName>Chakra.ICU.Data</TargetName>
  7. <ProjectGuid>{347824B1-7100-4EE6-8A6B-4FF64E66B0C0}</ProjectGuid>
  8. <Keyword>Win32Proj</Keyword>
  9. <ProjectName>Chakra.ICU.Data</ProjectName>
  10. </PropertyGroup>
  11. <PropertyGroup Label="Configuration">
  12. <ConfigurationType Condition="'$(ChakraICU)'!='shared'">StaticLibrary</ConfigurationType>
  13. <ConfigurationType Condition="'$(ChakraICU)'=='shared'">DynamicLibrary</ConfigurationType>
  14. </PropertyGroup>
  15. <Import Project="$(BuildConfigPropsPath)Chakra.Build.Default.props" />
  16. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  17. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  18. <Import Project="$(BuildConfigPropsPath)Chakra.Build.props" />
  19. <Import Project="$(MSBuildThisFileDirectory)Chakra.ICU.Build.props" />
  20. <PropertyGroup>
  21. <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
  22. </PropertyGroup>
  23. <ItemDefinitionGroup>
  24. <Link Condition="'$(ChakraICU)'=='shared'">
  25. <SubSystem>Console</SubSystem>
  26. <NoEntryPoint>true</NoEntryPoint>
  27. </Link>
  28. </ItemDefinitionGroup>
  29. <ItemGroup Condition="'$(BuildChakraICUData)'=='true'">
  30. <!-- TODO(jahorto): allow the data file to be trimmed or allow an alternate data file to be supplied -->
  31. <CustomBuild Include="$(MSBuildThisFileDirectory)source\data\in\icudt$(IcuVersionMajor)l.dat">
  32. <Command>cmd /c "powershell $(ChakraCoreRootDirectory)\tools\icu\create_data_obj.ps1 -d $(MSBuildThisFileDirectory)icu\source\data\in\icudt$(IcuVersionMajor)l.dat -p $(Platform) -c $(Configuration) -m '$(MSBuildBinPath)\msbuild.exe' -i $(IntDir) -v $(IcuVersionMajor)"</Command>
  33. <Outputs>$(IntDir)icudt$(IcuVersionMajor)l_dat.obj</Outputs>
  34. </CustomBuild>
  35. </ItemGroup>
  36. <Import Project="$(BuildConfigPropsPath)Chakra.Build.targets" Condition="exists('$(BuildConfigPropsPath)Chakra.Build.targets')" />
  37. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  38. </Project>