diff options
Diffstat (limited to 'src/qtmsbuild/moc/qtmoc.targets')
-rw-r--r-- | src/qtmsbuild/moc/qtmoc.targets | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/qtmsbuild/moc/qtmoc.targets b/src/qtmsbuild/moc/qtmoc.targets index 1a925eae..6101b55b 100644 --- a/src/qtmsbuild/moc/qtmoc.targets +++ b/src/qtmsbuild/moc/qtmoc.targets @@ -94,6 +94,13 @@ <QtMoc Include="@(QtMocAux)"/> <QtMocAux Remove="@(QtMocAux)"/> </ItemGroup> + <!-- + /////////////////////////////////////////////////////////////////////////////////////////////// + // Add moc output dir to C++ include path + // --> + <ItemGroup> + <QtIncludePath Include="$([System.IO.Path]::GetDirectoryName('%(QtMoc.OutputFile)'))"/> + </ItemGroup> </Target> <!-- @@ -403,14 +410,6 @@ <!-- /////////////////////////////////////////////////////////////////////////////////////////////// - // Add moc output dir to C++ include path - // --> - <ItemGroup> - <QtIncludePath Include="$([System.IO.Path]::GetDirectoryName('%(QtMoc.OutputFile)'))"/> - </ItemGroup> - - <!-- - /////////////////////////////////////////////////////////////////////////////////////////////// // Clean-up // --> <PropertyGroup> |