调整编译
This commit is contained in:
parent
f2cab8791e
commit
2ad57f9c88
|
@ -84,6 +84,7 @@ if "%COMPILE_RANGE%"=="none" (
|
||||||
|
|
||||||
"%~dp0\sln\release\hgsetver.exe" "%~dp0\..\sdk\include\huagao\brand.h" -oem %OEM% -cpu %CPU% -pid %PID% %COMPILE_RANGE% %NOT_INCREASE_VER%
|
"%~dp0\sln\release\hgsetver.exe" "%~dp0\..\sdk\include\huagao\brand.h" -oem %OEM% -cpu %CPU% -pid %PID% %COMPILE_RANGE% %NOT_INCREASE_VER%
|
||||||
if %COMPILE_RANGE%=="none" (
|
if %COMPILE_RANGE%=="none" (
|
||||||
|
MSBuild.exe "%~dp0\device\lang.vcxproj" /p:Configuration=Release /p:Platform=%CPU%
|
||||||
MSBuild.exe "%~dp0\device\scanner.vcxproj" /p:Configuration=Release /p:Platform=%CPU%
|
MSBuild.exe "%~dp0\device\scanner.vcxproj" /p:Configuration=Release /p:Platform=%CPU%
|
||||||
MSBuild.exe "%~dp0\sane\sane.vcxproj" /p:Configuration=Release /p:Platform=%CPU%
|
MSBuild.exe "%~dp0\sane\sane.vcxproj" /p:Configuration=Release /p:Platform=%CPU%
|
||||||
)
|
)
|
||||||
|
|
|
@ -76,7 +76,7 @@
|
||||||
<IncludePath>$(SolutionDir)..\..\sdk\include;$(IncludePath)</IncludePath>
|
<IncludePath>$(SolutionDir)..\..\sdk\include;$(IncludePath)</IncludePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
<OutDir>$(SolutionDir)..\..\release\win\$(PlatformTarget)\OEM\lang</OutDir>
|
<OutDir>$(SolutionDir)..\..\release\win\$(PlatformTarget)\OEM\lang\</OutDir>
|
||||||
<IntDir>$(SolutionDir)..\..\tmp\$(PlatformTarget)\$(Configuration)\$(ProjectName)\</IntDir>
|
<IntDir>$(SolutionDir)..\..\tmp\$(PlatformTarget)\$(Configuration)\$(ProjectName)\</IntDir>
|
||||||
<IncludePath>$(SolutionDir)..\..\sdk\include;$(IncludePath)</IncludePath>
|
<IncludePath>$(SolutionDir)..\..\sdk\include;$(IncludePath)</IncludePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
<IncludePath>$(SolutionDir)..\..\sdk\include;$(IncludePath)</IncludePath>
|
<IncludePath>$(SolutionDir)..\..\sdk\include;$(IncludePath)</IncludePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
<OutDir>$(SolutionDir)..\..\release\win\$(PlatformTarget)\OEM\lang</OutDir>
|
<OutDir>$(SolutionDir)..\..\release\win\$(PlatformTarget)\OEM\lang\</OutDir>
|
||||||
<IntDir>$(SolutionDir)..\..\tmp\$(PlatformTarget)\$(Configuration)\$(ProjectName)\</IntDir>
|
<IntDir>$(SolutionDir)..\..\tmp\$(PlatformTarget)\$(Configuration)\$(ProjectName)\</IntDir>
|
||||||
<IncludePath>$(SolutionDir)..\..\sdk\include;$(IncludePath)</IncludePath>
|
<IncludePath>$(SolutionDir)..\..\sdk\include;$(IncludePath)</IncludePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@ -111,7 +111,8 @@ mkdir %FINAL_DIR%
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).exp" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).exp" "%FINAL_DIR%"
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).lib" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).lib" "%FINAL_DIR%"
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).pdb" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).pdb" "%FINAL_DIR%"
|
||||||
copy "$(TargetPath)" "$(SystemRoot)\twain_32\HuagoTwain" /y
|
|
||||||
|
|
||||||
</Command>
|
</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
@ -137,13 +138,18 @@ copy "$(TargetPath)" "$(SystemRoot)\twain_32\HuagoTwain" /y
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>set FINAL_DIR=$(SolutionDir)..\..\sdk\lib\win\$(PlatformTarget)\$(Configuration)
|
<Command>set FINAL_DIR=$(SolutionDir)..\..\sdk\lib\win\$(PlatformTarget)\$(Configuration)
|
||||||
|
set FINAL_LANGDIR=$(SolutionDir)..\..\release\win\$(PlatformTarget)\Release
|
||||||
mkdir %FINAL_DIR%
|
mkdir %FINAL_DIR%
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).exp" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).exp" "%FINAL_DIR%"
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).lib" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).lib" "%FINAL_DIR%"
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).pdb" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).pdb" "%FINAL_DIR%"
|
||||||
copy $(OutDir)$(TargetName)$(TargetExt) "..\..\release\win\$(PlatformTarget)\Release"
|
copy $(OutDir)$(TargetName)$(TargetExt) "%FINAL_LANGDIR%" /y
|
||||||
</Command>
|
</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
|
@ -166,6 +172,7 @@ mkdir %FINAL_DIR%
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).exp" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).exp" "%FINAL_DIR%"
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).lib" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).lib" "%FINAL_DIR%"
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).pdb" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).pdb" "%FINAL_DIR%"
|
||||||
|
|
||||||
</Command>
|
</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
@ -191,13 +198,19 @@ move /Y "$(OutDirFullPath)$(ProjectName).pdb" "%FINAL_DIR%"
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>set FINAL_DIR=$(SolutionDir)..\..\sdk\lib\win\$(PlatformTarget)\$(Configuration)
|
<Command>set FINAL_DIR=$(SolutionDir)..\..\sdk\lib\win\$(PlatformTarget)\$(Configuration)
|
||||||
|
set FINAL_LANGDIR=$(SolutionDir)..\..\release\win\$(PlatformTarget)\Release
|
||||||
mkdir %FINAL_DIR%
|
mkdir %FINAL_DIR%
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).exp" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).exp" "%FINAL_DIR%"
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).lib" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).lib" "%FINAL_DIR%"
|
||||||
move /Y "$(OutDirFullPath)$(ProjectName).pdb" "%FINAL_DIR%"
|
move /Y "$(OutDirFullPath)$(ProjectName).pdb" "%FINAL_DIR%"
|
||||||
copy $(OutDir)$(TargetName)$(TargetExt) "..\..\release\win\$(PlatformTarget)\Release"
|
|
||||||
|
|
||||||
</Command>
|
</Command>
|
||||||
</PostBuildEvent>
|
</PostBuildEvent>
|
||||||
|
<PreBuildEvent>
|
||||||
|
<Command>
|
||||||
|
</Command>
|
||||||
|
</PreBuildEvent>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\code_lang\base_pak.h" />
|
<ClInclude Include="..\..\code_lang\base_pak.h" />
|
||||||
|
|
Loading…
Reference in New Issue