Skip to content

Commit 2a58d51

Browse files
committed
Clean option setup in SDL example.
1 parent 24decfa commit 2a58d51

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/SDL/SDL.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ class SDL : ILibrary
99
{
1010
public void Setup(Driver driver)
1111
{
12-
var parserOptions = driver.ParserOptions;
1312
var options = driver.Options;
1413
options.LibraryName = "SDL";
1514
options.Headers.Add("SDL.h");
15+
options.OutputDir = "SDL";
16+
17+
var parserOptions = driver.ParserOptions;
1618
var sdlPath = Path.Combine(GetExamplesDirectory("SDL"), "SDL-2.0/include");
1719
parserOptions.AddIncludeDirs(sdlPath);
18-
options.OutputDir = "SDL";
1920
}
2021

2122
public void SetupPasses(Driver driver)

0 commit comments

Comments
 (0)