forked from DomCR/ACadSharp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
24 lines (18 loc) · 914 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ACadSharp: src/ACadSharp/bin/Release/net8.0/ACadSharp.dll
ACadSharp.Tests: src/ACadSharp.Tests/bin/Release/net8.0/ACadSharp.Tests.dll
ACadSharp.Examples: src/ACadSharp.Examples/bin/Release/net8.0/ACadSharp.Examples.dll
ACADSHARP_CS = \
$(wildcard src/ACadSharp/**/*.cs) \
$(wildcard src/ACadSharp/*.cs)
EXAMPLES_CS = \
$(wildcard src/ACadSharp.Examples/**/*.cs) \
$(wildcard src/ACadSharp.Examples/*.cs)
TESTS_CS = \
$(wildcard src/ACadSharp.Tests/**/*.cs) \
$(wildcard src/ACadSharp.Tests/*.cs)
src/ACadSharp/bin/Release/net8.0/ACadSharp.dll: $(ACADSHARP_CS)
cd src && dotnet build --configuration Release --no-restore
src/ACadSharp.Tests/bin/Release/net8.0/ACadSharp.Tests.dll: $(TESTS_CS)
cd src && dotnet build --configuration Release --no-restore
src/ACadSharp.Examples/bin/Release/net8.0/ACadSharp.Examples.dll: $(EXAMPLES_CS)
cd src && dotnet build --configuration Release --no-restore