diff options
author | Berke Viktor <berkeviktor@aol.com> | 2012-06-15 21:37:48 +0200 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2012-06-15 21:37:48 +0200 |
commit | 593efa703b6914f963533da513576a26e744ead9 (patch) | |
tree | 3b164a0716b4b58f627ea56a7722c41fa6745c8f /win32/nls | |
parent | bf37bd37556fbf20dfa1a6b40c56453eb1fe8d01 (diff) |
LOTS of fixes to the VS solution
Diffstat (limited to 'win32/nls')
-rw-r--r-- | win32/nls/nls.vcxproj | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/win32/nls/nls.vcxproj b/win32/nls/nls.vcxproj index a9fa71bf..10e53bd8 100644 --- a/win32/nls/nls.vcxproj +++ b/win32/nls/nls.vcxproj @@ -26,7 +26,10 @@ <Import Project="..\xchat.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> - <PropertyGroup /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <OutDir>$(SolutionDir)build\$(PlatformName)\bin</OutDir> + <IntDir>$(SolutionDir)build\$(PlatformName)\obj\$(ProjectName)</IntDir> + </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <WarningLevel>Level3</WarningLevel> @@ -45,11 +48,11 @@ </PostBuildEvent> <PreBuildEvent> <Command>cd ..\..\po -rmdir /q /s locale -mkdir locale +rmdir /q /s "$(OutDir)\locale" +mkdir "$(OutDir)\locale" for %%A in (*.po) do ( -mkdir locale\%%~nA\LC_MESSAGES -"$(DepsRoot)\bin\msgfmt" -co locale\%%~nA\LC_MESSAGES\xchat.mo %%A +mkdir "$(OutDir)\locale\%%~nA\LC_MESSAGES" +"$(DepsRoot)\bin\msgfmt" -co "$(OutDir)\locale\%%~nA\LC_MESSAGES\xchat.mo" %%A )</Command> </PreBuildEvent> </ItemDefinitionGroup> |