This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 101
/
build.bat
46 lines (36 loc) · 1.7 KB
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@echo off
set rootpath=%~dp0
rem Build libdev
cd %rootpath%\Dump\Src\libdev
msbuild LibDev.sln /p:Configuration=Debug /p:Platform=x86
msbuild LibDev.sln /p:Configuration=Debug /p:Platform=x64
msbuild LibDev.sln /p:Configuration=Release /p:Platform=x86
msbuild LibDev.sln /p:Configuration=Release /p:Platform=x64
mkdir dist
xcopy /E /Y /I /Q Include dist\Include
xcopy /E /Y /I /Q Debug dist\Debug
xcopy /E /Y /I /Q Release dist\Release
xcopy /E /Y /I /Q x64 dist\x64
rem Build Directory Crawler
cd %rootpath%\Dump\Src\DirectoryCrawler
xcopy /E /Y /I /Q %rootpath%\Dump\Src\libdev\dist libdev\
msbuild DirectoryCrawler.sln /p:Configuration=Debug /p:Platform=Win32
msbuild DirectoryCrawler.sln /p:Configuration=Debug /p:Platform=x64
msbuild DirectoryCrawler.sln /p:Configuration=Release /p:Platform=Win32
msbuild DirectoryCrawler.sln /p:Configuration=Release /p:Platform=x64
rem Build AceFilter
cd %rootpath%\Dump\Src\AceFilter
xcopy /E /Y /I /Q %rootpath%\Dump\Src\libdev\dist libdev\
msbuild AceFilter.sln /p:Configuration=Debug /p:Platform=Win32
msbuild AceFilter.sln /p:Configuration=Debug /p:Platform=x64
msbuild AceFilter.sln /p:Configuration=Release /p:Platform=Win32
msbuild AceFilter.sln /p:Configuration=Release /p:Platform=x64
rem Build ControlRelationsProvider
cd %rootpath%\Dump\Src\ControlRelationsProviders
xcopy /E /Y /I /Q %rootpath%\Dump\Src\libdev\dist libdev\
msbuild ControlRelationsProviders.sln /p:Configuration=Debug /p:Platform=Win32 /m
msbuild ControlRelationsProviders.sln /p:Configuration=Debug /p:Platform=x64 /m
msbuild ControlRelationsProviders.sln /p:Configuration=Release /p:Platform=Win32 /m
msbuild ControlRelationsProviders.sln /p:Configuration=Release /p:Platform=x64 /m
rem End build
cd %rootpath%