@@ -62,7 +62,8 @@ public virtual void ConfigureAll(Configuration conf, CustomTarget target)
6262 {
6363 conf . ProjectFileName = "[project.Name]" ;
6464 conf . ProjectPath = @"[project.RootPath]" ;
65-
65+ conf . IncludePaths . Add ( @"[project.SourceRootPath]" ) ;
66+
6667 conf . Options . Add ( Options . Vc . Compiler . CppLanguageStandard . Latest ) ;
6768 conf . Options . Add ( Options . Vc . Compiler . Exceptions . Enable ) ;
6869 conf . Options . Add ( Options . Vc . Compiler . RTTI . Enable ) ;
@@ -205,7 +206,7 @@ public override void ConfigureAll(Configuration conf, CustomTarget target)
205206 conf . PrecompHeader = "pch.h" ;
206207 conf . PrecompSource = "pch.cpp" ;
207208
208- conf . AddPrivateDependency < Core > ( target ) ;
209+ conf . AddPublicDependency < Core > ( target ) ;
209210 }
210211 }
211212
@@ -235,7 +236,7 @@ public override void ConfigureAll(Configuration conf, CustomTarget target)
235236 conf . TargetCopyFiles . Add ( @"[project.SourceRootPath]\dxil.dll" ) ;
236237
237238
238- conf . AddPrivateDependency < FileSystem > ( target ) ;
239+ conf . AddPublicDependency < FileSystem > ( target ) ;
239240 conf . AddPublicDependency < Aftermath > ( target ) ;
240241
241242 }
@@ -257,7 +258,7 @@ public override void ConfigureAll(Configuration conf, CustomTarget target)
257258 conf . PrecompHeader = "pch.h" ;
258259 conf . PrecompSource = "pch.cpp" ;
259260
260- conf . AddPrivateDependency < DirectXFramework > ( target ) ;
261+ conf . AddPublicDependency < DirectXFramework > ( target ) ;
261262 }
262263 }
263264
@@ -277,8 +278,8 @@ public override void ConfigureAll(Configuration conf, CustomTarget target)
277278 conf . PrecompHeader = "pch.h" ;
278279 conf . PrecompSource = "pch.cpp" ;
279280
280- conf . AddPrivateDependency < DirectXFramework > ( target ) ;
281- conf . AddPrivateDependency < FlowGraph > ( target ) ;
281+ conf . AddPublicDependency < DirectXFramework > ( target ) ;
282+ conf . AddPublicDependency < FlowGraph > ( target ) ;
282283 }
283284 }
284285
@@ -332,8 +333,8 @@ public override void ConfigureAll(Configuration conf, CustomTarget target)
332333 conf . VcxprojUserFile = new Project . Configuration . VcxprojUserFileSettings ( ) ;
333334 conf . VcxprojUserFile . LocalDebuggerWorkingDirectory = @"[project.SharpmakeCsPath]\workdir" ;
334335
335- conf . AddPrivateDependency < DirectXFramework > ( target ) ;
336- conf . AddPrivateDependency < RenderSystem > ( target ) ;
336+ conf . AddPublicDependency < DirectXFramework > ( target ) ;
337+ conf . AddPublicDependency < RenderSystem > ( target ) ;
337338 }
338339 }
339340
0 commit comments