diff options
Diffstat (limited to 'PCbuild/pyproject.props')
-rw-r--r-- | PCbuild/pyproject.props | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index 7033cc3..c56292a 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -75,7 +75,7 @@ <LinkTimeCodeGeneration Condition="$(SupportPGO) and $(Configuration) == 'PGUpdate'">true</LinkTimeCodeGeneration> </Lib> <ResourceCompile> - <AdditionalIncludeDirectories>$(PySourcePath)PC;$(PySourcePath)Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>$(PySourcePath)PC;$(PySourcePath)Include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>$(_DebugPreprocessorDefinition)%(PreprocessorDefinitions)</PreprocessorDefinitions> <Culture>0x0409</Culture> </ResourceCompile> @@ -92,17 +92,17 @@ </ItemDefinitionGroup> <Target Name="GeneratePythonNtRcH" - BeforeTargets="$(MakeVersionInfoBeforeTarget)" + BeforeTargets="ClCompile" Inputs="$(PySourcePath)Include\patchlevel.h" - Outputs="$(PySourcePath)PC\pythonnt_rc$(PyDebugExt).h"> - <WriteLinesToFile File="$(PySourcePath)PC\pythonnt_rc$(PyDebugExt).h" Overwrite="true" Encoding="ascii" - Lines='/* This file created by python.props /t:GeneratePythonNtRcH */ + Outputs="$(IntDir)pythonnt_rc.h"> + <WriteLinesToFile File="$(IntDir)pythonnt_rc.h" Overwrite="true" Encoding="ascii" + Lines='/* This file created by pyproject.props /t:GeneratePythonNtRcH */ #define FIELD3 $(Field3Value) #define MS_DLL_ID "$(SysWinVer)" -#define PYTHON_DLL_NAME "$(PyDllName).dll" +#define PYTHON_DLL_NAME "$(TargetName)$(TargetExt)" ' /> <ItemGroup> - <FileWrites Include="$(PySourcePath)PC\pythonnt_rc$(PyDebugExt).h" /> + <FileWrites Include="$(IntDir)pythonnt_rc.h" /> </ItemGroup> </Target> |