diff --git a/build/ffmpeg/ffmpeg.vcxproj b/build/ffmpeg/ffmpeg.vcxproj
index caea62983..0f00474fa 100644
--- a/build/ffmpeg/ffmpeg.vcxproj
+++ b/build/ffmpeg/ffmpeg.vcxproj
@@ -52,6 +52,7 @@
Default
true
false
+ $(FfmpegSrcDir)
diff --git a/build/fftw/fftw.vcxproj b/build/fftw/fftw.vcxproj
index b107dec98..1f5597719 100644
--- a/build/fftw/fftw.vcxproj
+++ b/build/fftw/fftw.vcxproj
@@ -39,6 +39,7 @@
StreamingSIMDExtensions2
true
Default
+ $(FftwSrcDir)
diff --git a/build/libaegisub/libaegisub.vcxproj b/build/libaegisub/libaegisub.vcxproj
index 5d2a6f37a..2a1edd2c5 100644
--- a/build/libaegisub/libaegisub.vcxproj
+++ b/build/libaegisub/libaegisub.vcxproj
@@ -29,6 +29,7 @@
Use
lagi_pre.h
lagi_pre.h
+ $(SrcDir)
diff --git a/build/standard-outdirs.props b/build/standard-outdirs.props
index 012afbc1a..65f089576 100644
--- a/build/standard-outdirs.props
+++ b/build/standard-outdirs.props
@@ -15,7 +15,7 @@
- $(IntDir)/%(Directory)
+
$(AegisubBinaryDir)$(TargetName)$(TargetExt)
@@ -26,4 +26,47 @@
$(AegisubLibraryDir)$(ProjectName).lib
+
+
+
+
+ ComputeClRelativeObjectFileName;
+ $(ComputeCompileInputsTargets)
+
+
+
+
+ %(ClCompile.RelativeDir)
+ $(InputRelativeDir)\
+ %(ClCompile.InputRelativeSourceDir)
+ $(InputRelativeSourceDir)\
+ $(InputRelativeDir.Replace("$(InputRelativeSourceDir)",""))
+
+
+
+
+ $(IntDir)$(InputRelativeDir)
+
+
+