Reviewed by Adam Roben.
Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
https://bugs.webkit.org/show_bug.cgi?id=49858
We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
- To simplify editing (editing vsprops build steps is confusing).
- For more readable diffs.
* JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
* JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd: Added.
* JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd: Added.
2010-11-19 Steve Falkenburg <sfalken@apple.com>
Reviewed by Adam Roben.
Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
https://bugs.webkit.org/show_bug.cgi?id=49858
We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
- To simplify editing (editing vsprops build steps is confusing).
- For more readable diffs.
To add a prebuild/prelink/postbuild step for a vcproj,
Add a new file named {ProjectName}PreBuild|PreLink|PostBuild.cmd to the project directory.
For example, a WTF prebuild script would be named WTFPreBuild.cmd and would be located
in the directory JavaScriptCore/JavaScriptCore.vcproj/WTF (alongside WTF.vcproj).
* win/tools/vsprops/common.vsprops:
* win/tools/vsprops/release.vsprops:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72846
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2010-11-29 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
+ https://bugs.webkit.org/show_bug.cgi?id=49858
+
+ We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
+ - To simplify editing (editing vsprops build steps is confusing).
+ - For more readable diffs.
+
+ * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
+ * JavaScriptCore.vcproj/WTF/WTFPostBuild.cmd: Added.
+ * JavaScriptCore.vcproj/WTF/WTFPreBuild.cmd: Added.
+
2010-11-29 Geoffrey Garen <ggaren@apple.com>
Reviewed by Gavin Barraclough.
AdditionalDependencies="user32.lib"\r
OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).lib"\r
/>\r
- <Tool\r
- Name="VCPostBuildEventTool"\r
- CommandLine="if exist "$(WebKitOutputDir)\buildfailed" del "$(WebKitOutputDir)\buildfailed""\r
- />\r
- <Tool\r
- Name="VCPreBuildEventTool"\r
- CommandLine="%SystemDrive%\cygwin\bin\which.exe bash
if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
cmd /c
"\r
- />\r
</VisualStudioPropertySheet>\r
--- /dev/null
+if exist "$(WebKitOutputDir)\buildfailed" del "$(WebKitOutputDir)\buildfailed"\r
--- /dev/null
+%SystemDrive%\cygwin\bin\which.exe bash\r
+if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%\r
+cmd /c\r
+2010-11-19 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Add a mechanism for Windows pre-build/pre-link/post-build events to be separated into individual cmd files
+ https://bugs.webkit.org/show_bug.cgi?id=49858
+
+ We're migrating our prebuild/prelink/postbuild steps out of vcproj and vsprops files:
+ - To simplify editing (editing vsprops build steps is confusing).
+ - For more readable diffs.
+
+ To add a prebuild/prelink/postbuild step for a vcproj,
+ Add a new file named {ProjectName}PreBuild|PreLink|PostBuild.cmd to the project directory.
+ For example, a WTF prebuild script would be named WTFPreBuild.cmd and would be located
+ in the directory JavaScriptCore/JavaScriptCore.vcproj/WTF (alongside WTF.vcproj).
+
+ * win/tools/vsprops/common.vsprops:
+ * win/tools/vsprops/release.vsprops:
+
2010-11-29 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig and Simon Fraser.
<Tool
Name="VCLinkerTool"
LinkLibraryDependencies="false"
- AdditionalOptions="/SAFESEH /FIXED:NO /dynamicbase /ignore:4221"
+ AdditionalOptions="/SAFESEH /FIXED:NO /dynamicbase /ignore:4221"
OutputFile="$(OutDir)\$(ProjectName)$(WebKitConfigSuffix).exe"
AdditionalLibraryDirectories=""$(WebKitOutputDir)\lib";"$(WebKitLibrariesDir)\lib""
GenerateDebugInformation="true"
Culture="1033"
AdditionalIncludeDirectories=""$(IntDir)\include""
/>
+ <Tool
+ Name="VCPreBuildEventTool"
+ CommandLine="REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PreBuild.cmd file.
if exist "$(ProjectDir)$(ProjectName)PreBuild.cmd" "$(ProjectDir)$(ProjectName)PreBuild.cmd""
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ CommandLine="REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PreLink.cmd file.
if exist "$(ProjectDir)$(ProjectName)PreLink.cmd" "$(ProjectDir)$(ProjectName)PreLink.cmd""
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ CommandLine="REM Do not edit from the Visual Studio IDE! Customize via a $(ProjectName)PostBuild.cmd file.
if exist "$(ProjectDir)$(ProjectName)PostBuild.cmd" "$(ProjectDir)$(ProjectName)PostBuild.cmd""
+ />
<UserMacro
Name="ProductionBuild"
Value="$(PRODUCTION)"
OptimizeForWindows98="1"
/>
<Tool
- Name="VCPreLinkEventTool"
- CommandLine="if not exist "$(WebKitOutputDir)\public\sym" mkdir "$(WebKitOutputDir)\public\sym""
- />
- <Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
/>