fixed vcproj files
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4095 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
The WinMain function -- calls your program's main() function
|
||||
*/
|
||||
|
||||
#include <pch.h>
|
||||
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
function new-patch
|
||||
{
|
||||
param($from, $to);
|
||||
# get diff summary as XML
|
||||
[xml] $summary = (svn diff $to $from -x --ignore-eol-style --xml --summarize);
|
||||
# loop through all diff/paths/path nodes
|
||||
# each node represents a modified/new file
|
||||
foreach($item in $summary.diff.paths.path)
|
||||
{
|
||||
# the SVN url
|
||||
$url=$_."#text";
|
||||
# the relative filename
|
||||
$file=($_."#text".Substring($to.Length));
|
||||
# the parent directory
|
||||
$dir=($file | split-path -parent);
|
||||
# create parent directory if it doesn't exist already
|
||||
if((test-path $dir) -eq $false) { mkdir $dir -force};
|
||||
# export current files from the SVN repository
|
||||
svn export $url $file
|
||||
}
|
||||
# package the current dir (.) into patch.zip
|
||||
sevenzip.exe a patch.zip .
|
||||
}
|
||||
Binary file not shown.
@@ -84,7 +84,7 @@
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="ogg.lib libvorbisfile.lib openal32.lib efx-util.lib odbc32.lib odbccp32.lib zdll.lib opengl32.lib SDL.lib SDL_image.lib ws2_32.lib winmm.lib Dbghelp.lib jpeg.lib"
|
||||
AdditionalDependencies="ogg.lib libvorbisfile.lib openal32.lib efx-util.lib odbc32.lib odbccp32.lib zdll.lib opengl32.lib SDL.lib SDL_image.lib ws2_32.lib winmm.lib Dbghelp.lib libjpeg-static-mt.lib"
|
||||
OutputFile="../../bin_win32/ac_client.exe"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="true"
|
||||
|
||||
Reference in New Issue
Block a user