|
103 | 103 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
104 | 104 | <ClCompile> |
105 | 105 | <AdditionalIncludeDirectories>$(xrExternals);$(xrExternals)lzo\include;$(xrExternals)pugixml\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
106 | | - <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);APPVEYOR_REPO_COMMIT=$(APPVEYOR_REPO_COMMIT);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 106 | + <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
107 | 107 | </ClCompile> |
108 | 108 | <Link> |
109 | 109 | <AdditionalDependencies>PowrProf.lib;DbgHelp.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|
114 | 114 | <PostBuildEvent> |
115 | 115 | <Message>Copying the required libraries ...</Message> |
116 | 116 | </PostBuildEvent> |
| 117 | + <PreBuildEvent> |
| 118 | + <Command>call .GitInfo.cmd</Command> |
| 119 | + </PreBuildEvent> |
117 | 120 | </ItemDefinitionGroup> |
118 | 121 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
119 | 122 | <ClCompile> |
120 | 123 | <AdditionalIncludeDirectories>$(xrExternals);$(xrExternals)lzo\include;$(xrExternals)pugixml\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
121 | | - <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);APPVEYOR_REPO_COMMIT=$(APPVEYOR_REPO_COMMIT);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 124 | + <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
122 | 125 | </ClCompile> |
123 | 126 | <Link> |
124 | 127 | <AdditionalDependencies>PowrProf.lib;DbgHelp.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|
127 | 130 | <Command>for /r "$(xrSdkDir)binaries/$(PlatformShortName)" %%f in (*.dll *.pdb) do @xcopy /Q /D "%%f" "$(OutDir)"</Command> |
128 | 131 | <Message>Copying the required libraries ...</Message> |
129 | 132 | </PostBuildEvent> |
| 133 | + <PreBuildEvent> |
| 134 | + <Command>call .GitInfo.cmd</Command> |
| 135 | + </PreBuildEvent> |
130 | 136 | </ItemDefinitionGroup> |
131 | 137 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
132 | 138 | <ClCompile> |
133 | 139 | <AdditionalIncludeDirectories>$(xrExternals);$(xrExternals)lzo\include;$(xrExternals)pugixml\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
134 | | - <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);APPVEYOR_REPO_COMMIT=$(APPVEYOR_REPO_COMMIT);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 140 | + <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
135 | 141 | </ClCompile> |
136 | 142 | <Link> |
137 | 143 | <AdditionalDependencies>PowrProf.lib;DbgHelp.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|
142 | 148 | <PostBuildEvent> |
143 | 149 | <Message>Copying the required libraries ...</Message> |
144 | 150 | </PostBuildEvent> |
| 151 | + <PreBuildEvent> |
| 152 | + <Command>call .GitInfo.cmd</Command> |
| 153 | + </PreBuildEvent> |
145 | 154 | </ItemDefinitionGroup> |
146 | 155 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
147 | 156 | <ClCompile> |
148 | 157 | <AdditionalIncludeDirectories>$(xrExternals);$(xrExternals)lzo\include;$(xrExternals)pugixml\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
149 | | - <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);APPVEYOR_REPO_COMMIT=$(APPVEYOR_REPO_COMMIT);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 158 | + <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
150 | 159 | </ClCompile> |
151 | 160 | <Link> |
152 | 161 | <AdditionalDependencies>PowrProf.lib;DbgHelp.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|
155 | 164 | <Command>for /r "$(xrSdkDir)binaries/$(PlatformShortName)" %%f in (*.dll *.pdb) do @xcopy /Q /D "%%f" "$(OutDir)"</Command> |
156 | 165 | <Message>Copying the required libraries ...</Message> |
157 | 166 | </PostBuildEvent> |
| 167 | + <PreBuildEvent> |
| 168 | + <Command>call .GitInfo.cmd</Command> |
| 169 | + </PreBuildEvent> |
158 | 170 | </ItemDefinitionGroup> |
159 | 171 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Mixed|Win32'"> |
160 | 172 | <ClCompile> |
161 | 173 | <AdditionalIncludeDirectories>$(xrExternals);$(xrExternals)lzo\include;$(xrExternals)pugixml\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
162 | | - <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);APPVEYOR_REPO_COMMIT=$(APPVEYOR_REPO_COMMIT);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 174 | + <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
163 | 175 | </ClCompile> |
164 | 176 | <Link> |
165 | 177 | <AdditionalDependencies>PowrProf.lib;DbgHelp.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|
170 | 182 | <PostBuildEvent> |
171 | 183 | <Message>Copying the required libraries ...</Message> |
172 | 184 | </PostBuildEvent> |
| 185 | + <PreBuildEvent> |
| 186 | + <Command>call .GitInfo.cmd</Command> |
| 187 | + </PreBuildEvent> |
173 | 188 | </ItemDefinitionGroup> |
174 | 189 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Mixed|x64'"> |
175 | 190 | <ClCompile> |
176 | 191 | <AdditionalIncludeDirectories>$(xrExternals);$(xrExternals)lzo\include;$(xrExternals)pugixml\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
177 | | - <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);APPVEYOR_REPO_COMMIT=$(APPVEYOR_REPO_COMMIT);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
| 192 | + <PreprocessorDefinitions>_USRDLL;XRCORE_EXPORTS;CRYPTO_BUILD;CI=$(CI);APPVEYOR=$(APPVEYOR);APPVEYOR_BUILD_VERSION=$(APPVEYOR_BUILD_VERSION);APPVEYOR_ACCOUNT_NAME=$(APPVEYOR_ACCOUNT_NAME);%(PreprocessorDefinitions)</PreprocessorDefinitions> |
178 | 193 | </ClCompile> |
179 | 194 | <Link> |
180 | 195 | <AdditionalDependencies>PowrProf.lib;DbgHelp.lib;%(AdditionalDependencies)</AdditionalDependencies> |
|
183 | 198 | <Command>for /r "$(xrSdkDir)binaries/$(PlatformShortName)" %%f in (*.dll *.pdb) do @xcopy /Q /D "%%f" "$(OutDir)"</Command> |
184 | 199 | <Message>Copying the required libraries ...</Message> |
185 | 200 | </PostBuildEvent> |
| 201 | + <PreBuildEvent> |
| 202 | + <Command>call .GitInfo.cmd</Command> |
| 203 | + </PreBuildEvent> |
186 | 204 | </ItemDefinitionGroup> |
187 | 205 | <ItemGroup> |
188 | 206 | <ClCompile Include="Animation\Bone.cpp" /> |
|
0 commit comments