-
Notifications
You must be signed in to change notification settings - Fork 1
/
PropertySheet.props
38 lines (38 loc) · 1.91 KB
/
PropertySheet.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
<?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">
<BOOST_ROOT>C:\Program Files\boost\boost_1_75_0\</BOOST_ROOT>
<ETS2_DATA_FOLDER>$(USERPROFILE)\Documents\Euro Truck Simulator 2</ETS2_DATA_FOLDER>
<ETS_PROGRAM_FOLDER>$(ProgramFiles)\Euro Truck Simulator 2\bin\win_$(PlatformShortName)</ETS_PROGRAM_FOLDER>
<ETS_STEAM_PROGRAM_FOLDER>$(ProgramFiles)\Steam\steamapps\common\Euro Truck Simulator 2\bin\win_$(PlatformShortName)</ETS_STEAM_PROGRAM_FOLDER>
</PropertyGroup>
<PropertyGroup>
<IncludePath>$(BOOST_ROOT);$(SolutionDir)fmt\include;$(SolutionDir)plog\include;$(SolutionDir)date\include;$(VC_IncludePath);$(WindowsSDK_IncludePath)</IncludePath>
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSDK_LibraryPath_x64)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup>
<PostBuildEvent>
<Command>xcopy /R /Y "$(ProjectDir)$(PlatformShortName)\$(Configuration)\$(ProjectName).dll" "$(ETS_STEAM_PROGRAM_FOLDER)\plugins"
xcopy /R /Y "$(ProjectDir)$(PlatformShortName)\$(Configuration)\$(ProjectName).dll" "$(ETS_PROGRAM_FOLDER)\plugins"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="BOOST_ROOT">
<Value>$(BOOST_ROOT)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="ETS2_DATA_FOLDER">
<Value>$(ETS2_DATA_FOLDER)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="ETS_PROGRAM_FOLDER">
<Value>$(ETS_PROGRAM_FOLDER)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
<BuildMacro Include="ETS_STEAM_PROGRAM_FOLDER">
<Value>$(ETS_STEAM_PROGRAM_FOLDER)</Value>
<EnvironmentVariable>true</EnvironmentVariable>
</BuildMacro>
</ItemGroup>
</Project>