summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-11-09 11:40:32 -0800
committerGary E. Miller <gem@rellim.com>2018-11-09 11:40:32 -0800
commita107121bb68f6e8f75c48fd670a96659c1289748 (patch)
tree36c1bb1a186cdc2112c8b151665064f06c182b8c /SConstruct
parent52c9138aacbaf0300af6b3a3ffbc77271f9d5019 (diff)
downloadgpsd-a107121bb68f6e8f75c48fd670a96659c1289748.tar.gz
test_gpsmm: Fix to build in new tests/ directory.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 4 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 2ed7c14f..5ecc8fa3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1378,7 +1378,8 @@ else:
LIBS=['gps_static'],
parse_flags=["-lm"] + rtlibs + usbflags + dbusflags)
-test_gpsmm = env.Program('test_gpsmm', ['test_gpsmm.cpp'],
+# duplicate below?
+test_gpsmm = env.Program('tests/test_gpsmm', ['tests/test_gpsmm.cpp'],
LIBS=['gps_static'],
parse_flags=["-lm"] + rtlibs + dbusflags)
testprogs = [test_bits, test_float, test_geoid, test_libgps, test_matrix,
@@ -1788,7 +1789,8 @@ build = env.Alias('build',
"libgps.pc", "gpsd.rules"])
if qt_env:
- test_qgpsmm = env.Program('test_qgpsmm', ['test_gpsmm.cpp'],
+ # duplicate above?
+ test_qgpsmm = env.Program('tests/test_qgpsmm', ['tests/test_gpsmm.cpp'],
LIBPATH=['.'],
OBJPREFIX='qt-',
LIBS=['Qgpsmm'])