-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGlobalMacros.props
36 lines (36 loc) · 1.49 KB
/
GlobalMacros.props
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
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<WORKSPACE>$(SolutionDir)edk2</WORKSPACE>
<NASM_PREFIX>C:\Program Files\NASM\</NASM_PREFIX>
<TOOLCHAIN>VS2017</TOOLCHAIN>
</PropertyGroup>
<PropertyGroup>
<_PropertySheetDisplayName>GlobalMacros</_PropertySheetDisplayName>
<NMakeBuildCommandLine>cd $(WORKSPACE)
call edksetup.bat rebuild
build -a $(TARGET_ARCH) -p $(PLATFORM_FILE) -b $(BUILD_TARGET) -t $(TOOLCHAIN)</NMakeBuildCommandLine>
<NMakeReBuildCommandLine>cd $(WORKSPACE)
call edksetup.bat rebuild
build -a $(TARGET_ARCH) -p $(PLATFORM_FILE) -b $(BUILD_TARGET) -t $(TOOLCHAIN) clean
build -a $(TARGET_ARCH) -p $(PLATFORM_FILE) -b $(BUILD_TARGET) -t $(TOOLCHAIN)</NMakeReBuildCommandLine>
<NMakeCleanCommandLine>cd $(WORKSPACE)
call edksetup.bat rebuild
build -a $(TARGET_ARCH) -p $(PLATFORM_FILE) -b $(BUILD_TARGET) -t $(TOOLCHAIN) clean</NMakeCleanCommandLine>
</PropertyGroup>
<ItemDefinitionGroup />
<ItemGroup>
<BuildMacro Include="WORKSPACE">
<Value>$(WORKSPACE)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="NASM_PREFIX">
<Value>$(NASM_PREFIX)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="TOOLCHAIN">
<Value>$(TOOLCHAIN)</Value>
</BuildMacro>
</ItemGroup>
</Project>