defines for versions

This commit is contained in:
2016-10-07 04:53:32 +07:00
parent 00845ef1f9
commit 4cffad1f7e
13 changed files with 101 additions and 77 deletions

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 1f6151ce0721545699b35f606d12f2e1
timeCreated: 1475786375
guid: d2f42c17338b34a2c965d9753c6a93e5
timeCreated: 1475790759
licenseType: Free
PluginImporter:
serializedVersion: 1
@@ -9,10 +9,10 @@ PluginImporter:
isPreloaded: 0
platformData:
Any:
enabled: 1
enabled: 0
settings: {}
Editor:
enabled: 0
enabled: 1
settings:
DefaultValueInitialized: true
WindowsStoreApps:

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 42e766e2079144e438f8cd2f95ad9867
timeCreated: 1475786377
guid: 5a7d06be12153475b8ea68e1ad8a10b2
timeCreated: 1475790757
licenseType: Free
PluginImporter:
serializedVersion: 1

View File

@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 4125fbb888f3f49b78d831e4d7a5bea2
timeCreated: 1475786376
guid: 66289c51c875048789ea3500289f81af
timeCreated: 1475790758
licenseType: Free
PluginImporter:
serializedVersion: 1
@@ -9,10 +9,10 @@ PluginImporter:
isPreloaded: 0
platformData:
Any:
enabled: 0
enabled: 1
settings: {}
Editor:
enabled: 1
enabled: 0
settings:
DefaultValueInitialized: true
WindowsStoreApps:

View File

@@ -8,7 +8,7 @@ MonoBehaviour:
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1806722981, guid: 1f6151ce0721545699b35f606d12f2e1, type: 3}
m_Script: {fileID: 1806722981, guid: 66289c51c875048789ea3500289f81af, type: 3}
m_Name: SwfSettings
m_EditorClassIdentifier:
Settings:

5
FTSources/BuildAllVersions.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
xbuild /p:Configuration=Release_FREE;
xbuild /p:Configuration=Release_LITE;
xbuild /p:Configuration=Release_FULL;

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Configuration Condition=" '$(Configuration)' == '' ">Release_FREE</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{30886846-765A-400B-AD3E-436089DE68ED}</ProjectGuid>
<OutputType>Library</OutputType>
@@ -10,28 +10,32 @@
<ReleaseVersion>0.5</ReleaseVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<AssemblyName>FTEditor_Debug</AssemblyName>
<NoStdLib>true</NoStdLib>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_FREE|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<ConsolePause>false</ConsolePause>
<AssemblyName>FTEditor</AssemblyName>
<NoStdLib>true</NoStdLib>
<PlatformTarget>AnyCPU</PlatformTarget>
<DefineConstants>FT_VERSION_FREE</DefineConstants>
<AssemblyName>FTEditor_FREE</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_LITE|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<DefineConstants>FT_VERSION_LITE</DefineConstants>
<AssemblyName>FTEditor_LITE</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_FULL|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<DefineConstants>FT_VERSION_FULL</DefineConstants>
<AssemblyName>FTEditor_FULL</AssemblyName>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Configuration Condition=" '$(Configuration)' == '' ">Release_LITE</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}</ProjectGuid>
<OutputType>Library</OutputType>
@@ -10,28 +10,32 @@
<ReleaseVersion>0.5</ReleaseVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<AssemblyName>FTRuntime_Debug</AssemblyName>
<NoStdLib>true</NoStdLib>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_FREE|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<ConsolePause>false</ConsolePause>
<AssemblyName>FTRuntime</AssemblyName>
<NoStdLib>true</NoStdLib>
<PlatformTarget>AnyCPU</PlatformTarget>
<DefineConstants>FT_VERSION_FREE</DefineConstants>
<AssemblyName>FTRuntime_FREE</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_LITE|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins</OutputPath>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<DefineConstants>FT_VERSION_LITE</DefineConstants>
<AssemblyName>FTRuntime_LITE</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_FULL|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins</OutputPath>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<DefineConstants>FT_VERSION_FULL</DefineConstants>
<AssemblyName>FTRuntime_FULL</AssemblyName>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>

View File

@@ -9,22 +9,29 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FTEditor", "FTEditor\FTEdit
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
Release_LITE|Any CPU = Release_LITE|Any CPU
Release_FREE|Any CPU = Release_FREE|Any CPU
Release_FULL|Any CPU = Release_FULL|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{30886846-765A-400B-AD3E-436089DE68ED}.Debug|x86.ActiveCfg = Debug|Any CPU
{30886846-765A-400B-AD3E-436089DE68ED}.Debug|x86.Build.0 = Debug|Any CPU
{30886846-765A-400B-AD3E-436089DE68ED}.Release|x86.ActiveCfg = Release|Any CPU
{30886846-765A-400B-AD3E-436089DE68ED}.Release|x86.Build.0 = Release|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Debug|x86.ActiveCfg = Debug|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Debug|x86.Build.0 = Debug|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release|x86.ActiveCfg = Release|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release|x86.Build.0 = Release|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Debug|x86.ActiveCfg = Debug|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Debug|x86.Build.0 = Debug|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release|x86.ActiveCfg = Release|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release|x86.Build.0 = Release|Any CPU
{30886846-765A-400B-AD3E-436089DE68ED}.Release_FREE|Any CPU.ActiveCfg = Release_FREE|Any CPU
{30886846-765A-400B-AD3E-436089DE68ED}.Release_FREE|Any CPU.Build.0 = Release_FREE|Any CPU
{30886846-765A-400B-AD3E-436089DE68ED}.Release_FULL|Any CPU.ActiveCfg = Release_FULL|Any CPU
{30886846-765A-400B-AD3E-436089DE68ED}.Release_FULL|Any CPU.Build.0 = Release_FULL|Any CPU
{30886846-765A-400B-AD3E-436089DE68ED}.Release_LITE|Any CPU.ActiveCfg = Release_LITE|Any CPU
{30886846-765A-400B-AD3E-436089DE68ED}.Release_LITE|Any CPU.Build.0 = Release_LITE|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release_FREE|Any CPU.ActiveCfg = Release_FREE|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release_FREE|Any CPU.Build.0 = Release_FREE|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release_FULL|Any CPU.ActiveCfg = Release_FULL|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release_FULL|Any CPU.Build.0 = Release_FULL|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release_LITE|Any CPU.ActiveCfg = Release_LITE|Any CPU
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release_LITE|Any CPU.Build.0 = Release_LITE|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release_FREE|Any CPU.ActiveCfg = Release_FREE|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release_FREE|Any CPU.Build.0 = Release_FREE|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release_FULL|Any CPU.ActiveCfg = Release_FULL|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release_FULL|Any CPU.Build.0 = Release_FULL|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release_LITE|Any CPU.ActiveCfg = Release_LITE|Any CPU
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release_LITE|Any CPU.Build.0 = Release_LITE|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
Policies = $0

View File

@@ -1,6 +1,6 @@
<Properties StartupItem="FTEditor/FTEditor.csproj">
<MonoDevelop.Ide.Workbench />
<MonoDevelop.Ide.Workspace ActiveConfiguration="Release|x86" PreferredExecutionTarget="Unity.Instance.Unity Editor" />
<MonoDevelop.Ide.Workspace ActiveConfiguration="Release_FREE" PreferredExecutionTarget="Unity.Instance.Unity Editor" />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Configuration Condition=" '$(Configuration)' == '' ">Release_FREE</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{4EB8756F-398B-4356-90FB-0ED056B3E6E9}</ProjectGuid>
<OutputType>Library</OutputType>
@@ -10,28 +10,32 @@
<ReleaseVersion>0.5</ReleaseVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<AssemblyName>FTSwfTools_Debug</AssemblyName>
<NoStdLib>true</NoStdLib>
<PlatformTarget>AnyCPU</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_FREE|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<ConsolePause>false</ConsolePause>
<AssemblyName>FTSwfTools</AssemblyName>
<NoStdLib>true</NoStdLib>
<PlatformTarget>AnyCPU</PlatformTarget>
<DefineConstants>FT_VERSION_FREE</DefineConstants>
<AssemblyName>FTSwfTools_FREE</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_LITE|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<DefineConstants>FT_VERSION_LITE</DefineConstants>
<AssemblyName>FTSwfTools_LITE</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_FULL|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
<WarningLevel>4</WarningLevel>
<NoStdLib>true</NoStdLib>
<DefineConstants>FT_VERSION_FULL</DefineConstants>
<AssemblyName>FTSwfTools_FULL</AssemblyName>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>