TemplateProject-win.props (2860B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <PropertyGroup Label="UserMacros"> 4 <IPLUG2_ROOT>$(ProjectDir)..\..\iPlug2</IPLUG2_ROOT> 5 <BINARY_NAME>TemplateProject</BINARY_NAME> 6 <EXTRA_ALL_DEFS>IGRAPHICS_NANOVG;IGRAPHICS_GL2</EXTRA_ALL_DEFS> 7 <EXTRA_DEBUG_DEFS /> 8 <EXTRA_RELEASE_DEFS /> 9 <EXTRA_TRACER_DEFS /> 10 <PDB_FILE>$(SolutionDir)build-win\pdbs\$(TargetName)_$(Platform).pdb</PDB_FILE> 11 <BUILD_DIR>$(SolutionDir)build-win</BUILD_DIR> 12 <CREATE_BUNDLE_SCRIPT>$(IPLUG2_ROOT)\Scripts\create_bundle.bat</CREATE_BUNDLE_SCRIPT> 13 </PropertyGroup> 14 <ImportGroup Label="PropertySheets"> 15 <Import Project="$(IPLUG2_ROOT)\..\common-win.props" /> 16 </ImportGroup> 17 <PropertyGroup> 18 <TargetName>$(BINARY_NAME)</TargetName> 19 </PropertyGroup> 20 <ItemDefinitionGroup> 21 <ClCompile> 22 <AdditionalIncludeDirectories>$(EXTRA_INC_PATHS);$(IPLUG_INC_PATHS);$(IGRAPHICS_INC_PATHS);$(GLAD_GL2_PATHS);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 23 <PreprocessorDefinitions>$(EXTRA_ALL_DEFS);%(PreprocessorDefinitions)</PreprocessorDefinitions> 24 </ClCompile> 25 <Link> 26 <AdditionalDependencies>wininet.lib;comctl32.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies> 27 <ProgramDatabaseFile>$(PDB_FILE)</ProgramDatabaseFile> 28 </Link> 29 <PostBuildEvent> 30 <Command>CALL "$(SolutionDir)scripts\postbuild-win.bat" "$(TargetExt)" "$(BINARY_NAME)" "$(Platform)" "$(COPY_VST2)" "$(TargetPath)" "$(VST2_32_PATH)" "$(VST2_64_PATH)" "$(VST3_32_PATH)" "$(VST3_64_PATH)" "$(AAX_32_PATH)" "$(AAX_64_PATH)" "$(BUILD_DIR)" "$(VST_ICON)" "$(AAX_ICON)" "$(CREATE_BUNDLE_SCRIPT)"</Command> 31 </PostBuildEvent> 32 <PreBuildEvent> 33 <Command>CALL "$(SolutionDir)scripts\prebuild-win.bat" "$(TargetExt)" "$(BINARY_NAME)" "$(Platform)" "$(TargetPath)" "$(OutDir)"</Command> 34 </PreBuildEvent> 35 </ItemDefinitionGroup> 36 <ItemGroup> 37 <BuildMacro Include="BINARY_NAME"> 38 <Value>$(BINARY_NAME)</Value> 39 </BuildMacro> 40 <BuildMacro Include="EXTRA_ALL_DEFS"> 41 <Value>$(EXTRA_ALL_DEFS)</Value> 42 <EnvironmentVariable>true</EnvironmentVariable> 43 </BuildMacro> 44 <BuildMacro Include="EXTRA_DEBUG_DEFS"> 45 <Value>$(EXTRA_DEBUG_DEFS)</Value> 46 </BuildMacro> 47 <BuildMacro Include="EXTRA_RELEASE_DEFS"> 48 <Value>$(EXTRA_RELEASE_DEFS)</Value> 49 </BuildMacro> 50 <BuildMacro Include="EXTRA_TRACER_DEFS"> 51 <Value>$(EXTRA_TRACER_DEFS)</Value> 52 </BuildMacro> 53 <BuildMacro Include="PDB_FILE"> 54 <Value>$(PDB_FILE)</Value> 55 </BuildMacro> 56 <BuildMacro Include="BUILD_DIR"> 57 <Value>$(BUILD_DIR)</Value> 58 </BuildMacro> 59 <BuildMacro Include="CREATE_BUNDLE_SCRIPT"> 60 <Value>$(CREATE_BUNDLE_SCRIPT)</Value> 61 </BuildMacro> 62 </ItemGroup> 63 </Project>