-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (29 loc) · 748 Bytes
/
Makefile
File metadata and controls
37 lines (29 loc) · 748 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
34
35
36
37
SRC=Sources
CLI=$(SRC)/NonlinearFilters.CLI
APP=$(SRC)/NonlinearFilters.APP
FLAGS=-c Release
all:
ifeq ($(OS),Windows_NT)
dotnet build $(SRC) $(FLAGS)
endif
cli:
dotnet build $(CLI) $(FLAGS)
run:
dotnet run --project $(APP) $(FLAGS)
clean:
dotnet restore $(SRC)
dotnet clean $(SRC)
dotnet restore $(CLI)
dotnet clean $(CLI)
test:
pwsh -NoProfile test.ps1 -TestName "$(name)"
demoapp:
./Demo/GUI/NonlinearFilters.APP.exe
copydemos:
ifeq ($(OS),Windows_NT)
xcopy /E /H /C /Y /I .\Sources\NonlinearFilters.CLI\bin\Release\net6.0 .\Demo\CLI
xcopy /E /H /C /Y /I .\Sources\NonlinearFilters.APP\bin\Release\net6.0-windows .\Demo\GUI
else
cp -R Sources/NonlinearFilters.CLI/bin/Release/net6.0/ Demo/CLI/
endif
demos: all cli copydemos