Skip to content

Commit 6e7ccda

Browse files
committed
Use target type of sourceLibrary to help run unittest configuration.
1 parent 6efb6e3 commit 6e7ccda

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

dub.sdl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ subPackage "./testconn"
1515

1616
configuration "library" {
1717
}
18+
1819
configuration "unittest" {
19-
buildOptions "unittests" "debugInfo" "debugMode"
20-
debugVersions "MYSQLN_TESTS"
20+
debugVersions "MYSQLN_TESTS"
21+
targetType "sourceLibrary"
2122
}

testconn/dub.sdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ license "BSL-1.0"
44
copyright "Copyright (c) 2011-2021 Steve Teale, James W. Oliphant, Simen Endsjø, Sönke Ludwig, Sergey Shamov, Nick Sabalausky, and Steven Schveighoffer"
55
authors "Steve Teale" "James W. Oliphant" "Simen Endsjø" "Sönke Ludwig" "Sergey Shamov" "Nick Sabalausky" "Steven Schveighoffer"
66

7-
dependency "mysql-native" version="*"
7+
dependency "mysql-native" path="../"

0 commit comments

Comments
 (0)