<?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="All|Win32"> <Configuration>All</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{CF4BDD1A-C381-5F38-E7CE-7AD0B5322BE0}</ProjectGuid> <SccProjectName> </SccProjectName> <SccAuxPath /> <SccLocalPath> </SccLocalPath> <SccProvider> </SccProvider> <Keyword>MFCProj</Keyword> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='All|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>Dynamic</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> <PlatformToolset>v110</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Condition="'$(Configuration)|$(Platform)'=='All|Win32'" Label="PropertySheets"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup> <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> <IntDir Condition="'$(Configuration)|$(Platform)'=='All|Win32'">.\All\</IntDir> <IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='All|Win32'">true</IgnoreImportLibrary> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='All|Win32'">false</LinkIncremental> <OutDir Condition="'$(Configuration)|$(Platform)'=='All|Win32'">.\Bin\</OutDir> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='All|Win32'"> <ClCompile> <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion> <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions> <StringPooling>true</StringPooling> <BasicRuntimeChecks>Default</BasicRuntimeChecks> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <FunctionLevelLinking>true</FunctionLevelLinking> <PrecompiledHeaderOutputFile>.\All/P4Win409.pch</PrecompiledHeaderOutputFile> <AssemblerListingLocation>.\All/</AssemblerListingLocation> <ObjectFileName>.\All/</ObjectFileName> <ProgramDataBaseFileName>.\All/</ProgramDataBaseFileName> <WarningLevel>Level3</WarningLevel> <SuppressStartupBanner>true</SuppressStartupBanner> </ClCompile> <Link> <AdditionalOptions>/MACHINE:I386 %(AdditionalOptions)</AdditionalOptions> <OutputFile>.\Bin\$(TargetFileName)</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> <ModuleDefinitionFile>.\P4Win409.def</ModuleDefinitionFile> <SubSystem>Windows</SubSystem> <NoEntryPoint>true</NoEntryPoint> <ImportLibrary>.\All/P4Win409.lib</ImportLibrary> </Link> <Midl> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <MkTypLibCompatible>true</MkTypLibCompatible> <SuppressStartupBanner>true</SuppressStartupBanner> <TargetEnvironment>Win32</TargetEnvironment> <TypeLibraryName>.\All/P4Win409.tlb</TypeLibraryName> </Midl> <ResourceCompile> <PreprocessorDefinitions>_AFXDLL;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <Culture>0x0409</Culture> </ResourceCompile> <PostBuildEvent> <!-- Can be done better, but at least all configs will be able to run --> <Command>copy /Y .\Bin\$(TargetFileName) $(SolutionDir)\Debug\$(TargetFileName)</Command> <Command>copy /Y .\Bin\$(TargetFileName) $(SolutionDir)\Release\$(TargetFileName)</Command> <Command>copy /Y .\Bin\$(TargetFileName) $(SolutionDir)\Unicode_Debug\$(TargetFileName)</Command> <Command>copy /Y .\Bin\$(TargetFileName) $(SolutionDir)\Unicode_Release\$(TargetFileName)</Command> </PostBuildEvent> </ItemDefinitionGroup> <ItemGroup> <None Include="P4Win409.def" /> <None Include="..\res\bitmap1.bmp" /> <None Include="..\res\Document.ico" /> <None Include="..\res\GetAdobeReader.bmp" /> <None Include="..\res\P4diff.ico" /> <None Include="..\res\p4win.bmp" /> <None Include="..\res\P4win.ico" /> <None Include="..\res\p4win256.bmp" /> <None Include="res\P4Win409.rc2" /> <None Include="..\res\P4winSM.ico" /> <None Include="..\res\Toolbar32.bmp" /> <None Include="..\res\Toolbar4.bmp" /> <None Include="..\res\ToolBarDis.bmp" /> <None Include="..\res\UpDownArrows.bmp" /> <None Include="..\res\ViewIcons32.bmp" /> <None Include="..\res\ViewIcons4.bmp" /> </ItemGroup> <ItemGroup> <ResourceCompile Include="P4Win409.rc" /> </ItemGroup> <ItemGroup> <ClInclude Include="..\resource.h" /> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> </Project>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 11435 | brkarpala |
Fix p4win project so the project can both build and run in release and Unicode Release - Compiled in VS2012 - Was compiled against api r14.2 - Added PostBuildEvent to P4Win409 and P4Win411 to copy TargetFile to all four configurations. Can be done better, but good enough for now. - Both debug configurations receive a failed assertion starting up. Though fixed, that change will be moved to another changelist for it is adding to the code base (more information is returned from p4 info than expected) - Needed to disable GenerateManifest (seem to conflict even if all but one config was disabled) - Created a second P4EnvVariables (for debug). Not required, and probably can be handled better, but wanted the debug build to point to the debug api. |
||
#1 | 11099 | brkarpala | Integrate p4win from //guest/perforce_software/p4win/...@8562 | ||
//guest/perforce_software/p4win/gui/P4Win409/P4Win409.vcxproj | |||||
#1 | 8562 | Matt Attaway |
These feet never stop running. Initial commit of the P4Win source code. To the best of our knowledge this compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes as we refine the build process. Please post any build issues to the forums. |