-
Notifications
You must be signed in to change notification settings - Fork 122
/
msvc_setup.props
140 lines (131 loc) · 12.3 KB
/
msvc_setup.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<!-- ************************************************************************************************************************************** -->
<!-- D E S C R I P T I O N ........... -->
<!-- ************************************************************************************************************************************* -->
<!-- 1) Copy this file and paste in the solution directory of your own project -->
<!-- 2) Edit Properties to adapt to your project structure. In most of the cases you'd probably need to change only these parameters: -->
<!-- a) AregSdkRoot : set the root directory of AREG SDK project, for example '<my project>\thirdparty\areg-sdk' -->
<!-- b) AregOutputRoot : set the root folder of the build to output binaries and generate files. For example, '<my project>\product' -->
<!-- 3) Include $(AregFramework) in the Include Paths of your project(s), and link projects with 'areg' library. -->
<!-- ************************************************************************************************************************************** -->
<!-- User Property -->
<!-- ************************************************************************************************************************************** -->
<PropertyGroup>
<_PropertySheetDisplayName>areg_msvc_setup</_PropertySheetDisplayName>
</PropertyGroup>
<!-- ************************************************************************************************************************************** -->
<!-- User Macro names and values. Setup locations. -->
<!-- ************************************************************************************************************************************** -->
<PropertyGroup Label="UserMacros">
<!-- ********************************************************************************************************************************** -->
<!-- Setup the AREG SDK settings -->
<!-- ********************************************************************************************************************************** -->
<!-- ********************************************************************************************************************************** -->
<!-- Set the AREG SDK root directory. By default, it is $(SolutionDir). Change if you integrate in your project. -->
<!-- ********************************************************************************************************************************** -->
<AregSdkRoot>$(SolutionDir)</AregSdkRoot>
<!-- ********************************************************************************************************************************** -->
<!-- Property to set the location of MS Visual Studio configuration files for AREG SDK. Normally, it is in '$(AregSdkRoot)conf\msvc\' -->
<!-- Only 'msvc_setup.props' file should be located in the $(SolutionDir). Other files should be in 'AregConfigDir' -->
<!-- ********************************************************************************************************************************** -->
<AregConfigDir>$(AregSdkRoot)conf\msvc\</AregConfigDir>
<!-- ********************************************************************************************************************************** -->
<!-- Property to set the root directory for build and generated codes outputs. Change if integrate in your project. -->
<!-- Example to set the directory: <my project path>\product -->
<!-- By default, the output is in '$(SolutionDir)product' -->
<!-- ********************************************************************************************************************************** -->
<AregOutputRoot>$(SolutionDir)product\</AregOutputRoot>
<!-- ********************************************************************************************************************************** -->
<!-- Set the directory for generated source files. -->
<!-- ********************************************************************************************************************************** -->
<AregGenerateDir>$(AregOutputRoot)generate\</AregGenerateDir>
<!-- ********************************************************************************************************************************** -->
<!-- Set the directory to download thirdparty packages. If change, also change the location in nuget.config file. -->
<!-- ********************************************************************************************************************************** -->
<AregPackages>$(AregOutputRoot)packages\</AregPackages>
<!-- ********************************************************************************************************************************** -->
<!-- Property to set the location of AREG Framework header. -->
<!-- ********************************************************************************************************************************** -->
<AregFramework>$(AregSdkRoot)framework\</AregFramework>
<!-- ********************************************************************************************************************************** -->
<!-- ********************************************************************************************************************************** -->
<AregOutputDir></AregOutputDir>
<!-- ********************************************************************************************************************************** -->
<!-- Property to set the binary output directory. By default, it is '$(AregOutputDir)bin\' -->
<!-- ********************************************************************************************************************************** -->
<AregOutputBin></AregOutputBin>
<!-- ********************************************************************************************************************************** -->
<!-- Property to set the library output directory. By default, it is '$(AregOutputDir)lib/' -->
<!-- ********************************************************************************************************************************** -->
<AregOutputLib></AregOutputLib>
<!-- ********************************************************************************************************************************** -->
<!-- Property to set the directory for intermediate object files. By default, it is '$(AregOutputDir)obj\$(ProjectName)\' -->
<!-- ********************************************************************************************************************************** -->
<AregOutputObj></AregOutputObj>
<!-- ********************************************************************************************************************************** -->
<!-- Property to compile the extended features of AREG SDK. By default, it is not compiled with extended features. -->
<!-- Set 1 to compile with extended features. Set 0 or ignore setting to compile without extended features. -->
<!-- ********************************************************************************************************************************** -->
<AregExtended>1</AregExtended>
<!-- ********************************************************************************************************************************** -->
<!-- Property to compile the source codes with logging. By default, the sources are compiled with logs. -->
<!-- Set 0 to compile sources codes without logs. Set 1 or ignore setting to compile with logs. -->
<!-- ********************************************************************************************************************************** -->
<AregLogs>1</AregLogs>
<!-- ********************************************************************************************************************************** -->
<!-- Add Build type specific preprocessor defines here for Debug and Release to set for all projects. -->
<!-- If use in other projects, set following preprocessor definitions: -->
<!-- * IMP_AREG_DLL to import objects from areg.dll and IMP_AREG_LIB to import objects from AREG static library. -->
<!-- * IMP_LOGGER_DLL to import objects from areglogger.dll and IMP_AREG_LIB to import objects from 'areglogger' static library. -->
<!-- An example of setting preprocessor defines for Debug build: OUTPUT_DEBUG=1;OUTPUT_DEBUG_LEVEL=3 -->
<!-- ********************************************************************************************************************************** -->
<AregCommonDefines Condition="'$(Configuration)'=='Debug'">OUTPUT_DEBUG=1;OUTPUT_DEBUG_LEVEL=0</AregCommonDefines>
<AregCommonDefines Condition="'$(Configuration)'=='Release'"></AregCommonDefines>
</PropertyGroup>
<!-- ************************************************************************************************************************************** -->
<!-- User Macro defines. Do not make changes here! -->
<!-- ************************************************************************************************************************************** -->
<ItemGroup>
<BuildMacro Include="AregSdkRoot">
<Value>$(AregSdkRoot)</Value>
</BuildMacro>
<BuildMacro Include="AregConfigDir">
<Value>$(AregConfigDir)</Value>
</BuildMacro>
<BuildMacro Include="AregOutputRoot">
<Value>$(AregOutputRoot)</Value>
</BuildMacro>
<BuildMacro Include="AregGenerateDir">
<Value>$(AregGenerateDir)</Value>
</BuildMacro>
<BuildMacro Include="AregPackages">
<Value>$(AregPackages)</Value>
</BuildMacro>
<BuildMacro Include="AregFramework">
<Value>$(AregFramework)</Value>
</BuildMacro>
<BuildMacro Include="AregOutputDir">
<Value>$(AregOutputDir)</Value>
</BuildMacro>
<BuildMacro Include="AregOutputBin">
<Value>$(AregOutputBin)</Value>
</BuildMacro>
<BuildMacro Include="AregOutputLib">
<Value>$(AregOutputLib)</Value>
</BuildMacro>
<BuildMacro Include="AregOutputObj">
<Value>$(AregOutputObj)</Value>
</BuildMacro>
<BuildMacro Include="AregExtended">
<Value>$(AregExtended)</Value>
</BuildMacro>
<BuildMacro Include="AregLogs">
<Value>$(AregLogs)</Value>
</BuildMacro>
<BuildMacro Include="AregCommonDefines">
<Value>$(AregCommonDefines)</Value>
</BuildMacro>
</ItemGroup>
</Project>