2014-10-14 21:34:55 +08:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2014-09-09 15:57:21 +08:00
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2014-05-04 14:37:55 +08:00
|
|
|
|
<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">
|
|
|
|
|
<ProjectGuid>{4E6A7A0E-DDD8-4BAA-8B22-C964069364ED}</ProjectGuid>
|
|
|
|
|
<ProjectName>lua-tests</ProjectName>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '10.0'">v100</PlatformToolset>
|
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0'">v110</PlatformToolset>
|
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v110_xp</PlatformToolset>
|
2014-07-21 14:59:47 +08:00
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
|
2014-09-03 14:10:38 +08:00
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
|
2014-05-04 14:37:55 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '10.0'">v100</PlatformToolset>
|
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0'">v110</PlatformToolset>
|
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '11.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v110_xp</PlatformToolset>
|
2014-07-21 14:59:47 +08:00
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0'">v120</PlatformToolset>
|
2014-09-03 14:10:38 +08:00
|
|
|
|
<PlatformToolset Condition="'$(VisualStudioVersion)' == '12.0' and exists('$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A')">v120_xp</PlatformToolset>
|
2014-05-04 14:37:55 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
|
</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" />
|
|
|
|
|
<Import Project="..\..\..\..\cocos\2d\cocos2dx.props" />
|
|
|
|
|
<Import Project="..\..\..\..\cocos\2d\cocos2d_headers.props" />
|
|
|
|
|
</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" />
|
|
|
|
|
<Import Project="..\..\..\..\cocos\2d\cocos2dx.props" />
|
|
|
|
|
<Import Project="..\..\..\..\cocos\2d\cocos2d_headers.props" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
|
<OutDir>$(SolutionDir)$(Configuration).win32\</OutDir>
|
|
|
|
|
<IntDir>$(Configuration).win32\</IntDir>
|
|
|
|
|
<LinkIncremental>true</LinkIncremental>
|
|
|
|
|
<IncludePath>$(IncludePath)</IncludePath>
|
|
|
|
|
<SourcePath>$(SourcePath);</SourcePath>
|
|
|
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<OutDir>$(SolutionDir)$(Configuration).win32\</OutDir>
|
|
|
|
|
<IntDir>$(Configuration).win32\</IntDir>
|
|
|
|
|
<LinkIncremental>false</LinkIncremental>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
|
<LibraryPath>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath)</LibraryPath>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<LibraryPath>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\lib;$(LibraryPath)</LibraryPath>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
|
|
|
<ClCompile>
|
2014-10-16 10:28:52 +08:00
|
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)external;$(EngineRoot)extensions;$(EngineRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2014-05-04 14:37:55 +08:00
|
|
|
|
<PrecompiledHeader>
|
|
|
|
|
</PrecompiledHeader>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
|
|
|
|
<MinimalRebuild>false</MinimalRebuild>
|
|
|
|
|
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
|
|
|
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
|
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGS_DEBUG;COCOS2D_DEBUG=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
|
<AdditionalDependencies>libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
|
</Link>
|
|
|
|
|
<ResourceCompile>
|
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
|
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
</ResourceCompile>
|
|
|
|
|
<Midl>
|
|
|
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
|
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
|
|
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<HeaderFileName>lua-tests.h</HeaderFileName>
|
|
|
|
|
<InterfaceIdentifierFileName>lua-tests_i.c</InterfaceIdentifierFileName>
|
|
|
|
|
<ProxyFileName>lua-tests_p.c</ProxyFileName>
|
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
|
<TypeLibraryName>$(IntDir)/lua-tests.tlb</TypeLibraryName>
|
|
|
|
|
<DllDataFileName>
|
|
|
|
|
</DllDataFileName>
|
|
|
|
|
</Midl>
|
|
|
|
|
<PreBuildEvent>
|
2014-10-14 21:34:55 +08:00
|
|
|
|
<Command>if not exist "$(ProjectDir)..\..\src\cocos" mkdir "$(ProjectDir)..\..\src\cocos"
|
|
|
|
|
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\src\cocos" /e /Y
|
2014-05-04 14:37:55 +08:00
|
|
|
|
xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\" /e /Y
|
|
|
|
|
xcopy "$(ProjectDir)..\..\..\cpp-tests\Resources" "$(ProjectDir)..\..\res" /e /Y</Command>
|
|
|
|
|
<Message>copy files</Message>
|
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
<PreLinkEvent>
|
2014-08-14 00:06:28 +08:00
|
|
|
|
<Command>
|
|
|
|
|
</Command>
|
2014-05-04 14:37:55 +08:00
|
|
|
|
</PreLinkEvent>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
|
|
|
<ClCompile>
|
2014-10-16 10:28:52 +08:00
|
|
|
|
<AdditionalIncludeDirectories>$(ProjectDir)..\Classes;$(EngineRoot)cocos\scripting\lua-bindings\auto;$(EngineRoot)cocos\scripting\lua-bindings\manual;$(EngineRoot)cocos\audio\include;$(EngineRoot)external;$(EngineRoot)external\lua\luajit\include;$(EngineRoot)external\lua\tolua;$(EngineRoot)external\lua;$(EngineRoot)external\chipmunk\include\chipmunk;$(EngineRoot)extensions;$(EngineRoot);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
2014-05-04 14:37:55 +08:00
|
|
|
|
<PrecompiledHeader>
|
|
|
|
|
</PrecompiledHeader>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
|
<ExceptionHandling>
|
|
|
|
|
</ExceptionHandling>
|
|
|
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
|
|
|
<PreprocessorDefinitions>WIN32;_WINDOWS;STRICT;_CRT_SECURE_NO_WARNINGS;_SCL_SECURE_NO_WARNINGSNDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<DisableSpecificWarnings>4267;4251;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
|
|
|
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<SubSystem>Windows</SubSystem>
|
|
|
|
|
<TargetMachine>MachineX86</TargetMachine>
|
|
|
|
|
<AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
|
|
|
<AdditionalDependencies>libcurl_imp.lib;lua51.lib;websockets.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
|
</Link>
|
|
|
|
|
<ResourceCompile>
|
|
|
|
|
<Culture>0x0409</Culture>
|
|
|
|
|
<AdditionalIncludeDirectories>$(MSBuildProgramFiles32)\Microsoft SDKs\Windows\v7.1A\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
</ResourceCompile>
|
|
|
|
|
<Midl>
|
|
|
|
|
<MkTypLibCompatible>false</MkTypLibCompatible>
|
|
|
|
|
<TargetEnvironment>Win32</TargetEnvironment>
|
|
|
|
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<HeaderFileName>lua-tests.h</HeaderFileName>
|
|
|
|
|
<InterfaceIdentifierFileName>lua-tests_i.c</InterfaceIdentifierFileName>
|
|
|
|
|
<ProxyFileName>lua-tests_p.c</ProxyFileName>
|
|
|
|
|
<GenerateStublessProxies>true</GenerateStublessProxies>
|
|
|
|
|
<TypeLibraryName>$(IntDir)/lua-tests.tlb</TypeLibraryName>
|
|
|
|
|
<DllDataFileName>
|
|
|
|
|
</DllDataFileName>
|
|
|
|
|
</Midl>
|
|
|
|
|
<PreBuildEvent>
|
2014-10-14 21:34:55 +08:00
|
|
|
|
<Command>if not exist "$(ProjectDir)..\..\src\cocos" mkdir "$(ProjectDir)..\..\src\cocos"
|
|
|
|
|
xcopy "$(ProjectDir)..\..\..\..\cocos\scripting\lua-bindings\script" "$(ProjectDir)..\..\src\cocos" /e /Y
|
2014-05-04 14:37:55 +08:00
|
|
|
|
xcopy "$(ProjectDir)..\..\..\..\external\lua\luasocket\*.lua" "$(ProjectDir)..\..\" /e /Y
|
|
|
|
|
xcopy "$(ProjectDir)..\..\..\cpp-tests\Resources" "$(ProjectDir)..\..\res" /e /Y</Command>
|
|
|
|
|
<Message>copy files</Message>
|
|
|
|
|
</PreBuildEvent>
|
|
|
|
|
<PreLinkEvent>
|
2014-08-14 00:06:28 +08:00
|
|
|
|
<Command>
|
|
|
|
|
</Command>
|
2014-05-04 14:37:55 +08:00
|
|
|
|
</PreLinkEvent>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClInclude Include="..\Classes\AppDelegate.h" />
|
|
|
|
|
<ClInclude Include="..\Classes\lua_assetsmanager_test_sample.h" />
|
2014-10-10 09:49:25 +08:00
|
|
|
|
<ClInclude Include="..\Classes\lua_test_bindings.h" />
|
2014-08-05 19:46:13 +08:00
|
|
|
|
<ClInclude Include="..\Classes\lua_module_register.h" />
|
2014-05-04 14:37:55 +08:00
|
|
|
|
<ClInclude Include="main.h" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClCompile Include="..\Classes\AppDelegate.cpp" />
|
|
|
|
|
<ClCompile Include="..\Classes\lua_assetsmanager_test_sample.cpp" />
|
2014-10-10 09:49:25 +08:00
|
|
|
|
<ClCompile Include="..\Classes\lua_test_bindings.cpp" />
|
2014-05-04 14:37:55 +08:00
|
|
|
|
<ClCompile Include="main.cpp" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2014-08-05 19:46:13 +08:00
|
|
|
|
<ProjectReference Include="..\..\..\..\cocos\scripting\lua-bindings\proj.win32\libluacocos2d.vcxproj">
|
|
|
|
|
<Project>{9f2d6ce6-c893-4400-b50c-6db70cc2562f}</Project>
|
2014-07-28 20:55:58 +08:00
|
|
|
|
</ProjectReference>
|
2014-05-04 14:37:55 +08:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
2014-10-14 21:34:55 +08:00
|
|
|
|
</Project>
|