[beast] BSE-TESTS: compile C sources as C++ sources



commit d79a95eb889402436236b1f76c00e3130974f0fd
Author: Stefan Westerfeld <stefan space twc de>
Date:   Mon May 16 12:08:15 2011 +0200

    BSE-TESTS: compile C sources as C++ sources

 bse/tests/Makefile.am                     |    4 ++--
 bse/tests/{loophandle.c => loophandle.cc} |    0
 bse/tests/{testfft.c => testfft.cc}       |    0
 3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bse/tests/Makefile.am b/bse/tests/Makefile.am
index d4c93c9..1049221 100644
--- a/bse/tests/Makefile.am
+++ b/bse/tests/Makefile.am
@@ -26,7 +26,7 @@ filtertest_LDADD   = $(progs_ldadd)
 EXTRA_DIST        += filtercatalog.cc
 
 TESTS          += testfft
-testfft_SOURCES = testfft.c cxxdummy.cc
+testfft_SOURCES = testfft.cc
 testfft_LDADD   = $(progs_ldadd)
 
 TESTS          += testcxx
@@ -40,7 +40,7 @@ subnormals_LDADD    = $(progs_ldadd)
 subnormals_CXXFLAGS = $(AM_CXXFLAGS) -ffast-math
 
 TESTS             += loophandle
-loophandle_SOURCES = loophandle.c
+loophandle_SOURCES = loophandle.cc
 loophandle_LDADD   = $(progs_ldadd)
 
 TESTS             += blocktests
diff --git a/bse/tests/loophandle.c b/bse/tests/loophandle.cc
similarity index 100%
rename from bse/tests/loophandle.c
rename to bse/tests/loophandle.cc
diff --git a/bse/tests/testfft.c b/bse/tests/testfft.cc
similarity index 100%
rename from bse/tests/testfft.c
rename to bse/tests/testfft.cc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]