forked from ANSSI-FR/AD-control-paths
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-dist.bat
More file actions
33 lines (23 loc) · 908 Bytes
/
build-dist.bat
File metadata and controls
33 lines (23 loc) · 908 Bytes
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
@echo off
set rootpath=%~dp0
rem Build libdev
cd %rootpath%\Dump\Src\libdev
msbuild LibDev.sln /p:Configuration=Release /p:Platform=x64
mkdir dist
xcopy /E /Y /I /Q Include dist\Include
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=Release /p:Platform=x64
copy x64\Release\DirectoryCrawler.exe %rootpath%\Dump\bin\
rem Build AceFilter
cd %rootpath%\Dump\Src\AceFilter
xcopy /E /Y /I /Q %rootpath%\Dump\Src\libdev\dist libdev\
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=Release /p:Platform=x64 /m
rem End build
cd %rootpath%