From 5273d7c70f80927554e446e2ecf9f938641efa47 Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Tue, 17 Jul 2012 18:58:34 +0200 Subject: [PATCH] better eclispe discovery --- .cproject | 362 ++++++++++++++++++++++------------------------------ .project | 2 +- Makefile.am | 5 +- 3 files changed, 159 insertions(+), 210 deletions(-) diff --git a/.cproject b/.cproject index 3ab1fad7..63cf5763 100644 --- a/.cproject +++ b/.cproject @@ -22,7 +22,7 @@ - + @@ -35,221 +35,167 @@ + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - make - all - true - true - true - - - make - CFLAGS="-g" - install - true - true - true - - - make - CFLAGS="-g" - install - true - true - true - - - make - all - true - true - true - - - make - all - true - true - true - - - + + + + + + + make + all + true + true + true + + + make + CFLAGS="-g" + install + true + true + true + + + make + CFLAGS="-g" + install + true + true + true + + + make + all + true + true + true + + + make + all + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project index 2fbbd268..dcc5fd75 100644 --- a/.project +++ b/.project @@ -23,7 +23,7 @@ org.eclipse.cdt.make.core.buildArguments - CFLAGS="-g -Werror -Wall" + CFLAGS="-g -Werror -Wall" CXXFLAGS="-g" org.eclipse.cdt.make.core.buildCommand diff --git a/Makefile.am b/Makefile.am index 5be271da..6faebc4f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -229,4 +229,7 @@ clean-local: rm -rf $(BUNDLEDIR) discovery: touch specs.cpp - $(CC) $(CFLAGS) $(MEDIASTREAMER2_CFLAGS) $(ORTP_CFLAGS) -E -P -v -dD specs.cpp + $(CC) --include $(top_builddir)/config.h \ + --include $(top_builddir)/mediastreamer2/mediastreamer-config.h \ + --include $(top_builddir)/oRTP/ortp-config.h \ + $(TUNNEL_CFLAGS) $(CFLAGS) $(MEDIASTREAMER2_CFLAGS) $(ORTP_CFLAGS) -E -P -v -dD specs.cpp -- 2.39.2