aboutsummaryrefslogtreecommitdiffstats
path: root/src/qtmsbuild/moc/qtmoc.targets
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtmsbuild/moc/qtmoc.targets')
-rw-r--r--src/qtmsbuild/moc/qtmoc.targets8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/qtmsbuild/moc/qtmoc.targets b/src/qtmsbuild/moc/qtmoc.targets
index 37d8c928..bffec544 100644
--- a/src/qtmsbuild/moc/qtmoc.targets
+++ b/src/qtmsbuild/moc/qtmoc.targets
@@ -397,6 +397,14 @@
<!--
///////////////////////////////////////////////////////////////////////////////////////////////
+ // Add moc output dir to C++ include path
+ // -->
+ <ItemGroup>
+ <QtIncludePath Include="$([System.IO.Path]::GetDirectoryName('%(QtMoc.OutputFile)'))"/>
+ </ItemGroup>
+
+ <!--
+ ///////////////////////////////////////////////////////////////////////////////////////////////
// Clean-up
// -->
<PropertyGroup>