mirror of https://github.com/axmolengine/axmol.git
64 lines
2.6 KiB
XML
64 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ImportGroup Label="PropertySheets" />
|
|
|
|
<ItemDefinitionGroup>
|
|
<ClCompile>
|
|
<AdditionalIncludeDirectories>$(EngineRoot)cocos\scripting\js-bindings\manual;$(EngineRoot)cocos\scripting\js-bindings\auto;$(EngineRoot)external\spidermonkey\include\$(COCOS2D_PLATFORM);$(EngineRoot)cocos\base;%(AdditionalIncludeDirectories);</AdditionalIncludeDirectories>
|
|
</ClCompile>
|
|
<Link>
|
|
<AdditionalDependencies>mozjs-33.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
<AdditionalLibraryDirectories>$(EngineRoot)external\spidermonkey\prebuilt\$(COCOS2D_PLATFORM)\$(Platform);%(AdditionalLibraryDirectories);</AdditionalLibraryDirectories>
|
|
</Link>
|
|
</ItemDefinitionGroup>
|
|
|
|
<PropertyGroup Label="APP_DLLS">
|
|
<SpiderMonkeyBinPath Condition=" '$(SpiderMonkeyBinPath)' == '' ">$(EngineRoot)external\spidermonkey\prebuilt\$(COCOS2D_PLATFORM)\$(Platform)\</SpiderMonkeyBinPath>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup Label="APP_DLLs">
|
|
<None Include="$(SpiderMonkeyBinPath)mozjs-33.dll">
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<_CustomResource Include="..\..\..\..\res\**\*">
|
|
<Link>Assets\Resources\res\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</_CustomResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<_CustomResource Include="..\..\..\..\src\**\*">
|
|
<Link>Assets\Resources\src\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</_CustomResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<_CustomResource Include="$(EngineRoot)cocos\scripting\js-bindings\script\**\*">
|
|
<Link>Assets\Resources\script\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</_CustomResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<_CustomResource Include="..\..\..\..\main.js">
|
|
<Link>Assets\Resources\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</_CustomResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<_CustomResource Include="..\..\..\..\project.json">
|
|
<Link>Assets\Resources\%(RecursiveDir)%(FileName)%(Extension)</Link>
|
|
<DeploymentContent>true</DeploymentContent>
|
|
</_CustomResource>
|
|
</ItemGroup>
|
|
|
|
<Target Name="_CollectCustomResources" BeforeTargets="AssignTargetPaths">
|
|
<Message Text="Adding resource: %(_CustomResource.Identity) -> %(_CustomResource.Link)" />
|
|
<ItemGroup>
|
|
<None Include="@(_CustomResource)" />
|
|
</ItemGroup>
|
|
</Target>
|
|
</Project>
|
|
|