* [lttng-dev] [PATCH lttng-ust] build: pass configure flags to cmake example
@ 2016-10-03 14:42 Jonathan Rajotte
2016-10-03 15:11 ` Mathieu Desnoyers
0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Rajotte @ 2016-10-03 14:42 UTC (permalink / raw)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
doc/examples/Makefile.am | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index c7e5b68..5d67e79 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -149,7 +149,13 @@ all-local:
cd $(SUBDIRS_CMAKE) && \
$(MKDIR_P) build && \
cd build && \
- cmake -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include" -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" .. && \
+ cmake \
+ -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include" \
+ -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" \
+ -DCMAKE_C_FLAGS="$(CFLAGS) $(CPPFLAGS)" \
+ -DCMAKE_CXX_FLAGS="$(CXXFLAGS) $(CPPFLAGS)" \
+ -DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
+ .. && \
$(MAKE) && \
cd .. \
) || exit 1; \
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* [lttng-dev] [PATCH lttng-ust] build: pass configure flags to cmake example
2016-10-03 14:42 [lttng-dev] [PATCH lttng-ust] build: pass configure flags to cmake example Jonathan Rajotte
@ 2016-10-03 15:11 ` Mathieu Desnoyers
0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2016-10-03 15:11 UTC (permalink / raw)
Merged into master, thanks!
Mathieu
----- On Oct 3, 2016, at 10:42 AM, Jonathan Rajotte jonathan.rajotte-julien at efficios.com wrote:
> Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
> ---
> doc/examples/Makefile.am | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
> index c7e5b68..5d67e79 100644
> --- a/doc/examples/Makefile.am
> +++ b/doc/examples/Makefile.am
> @@ -149,7 +149,13 @@ all-local:
> cd $(SUBDIRS_CMAKE) && \
> $(MKDIR_P) build && \
> cd build && \
> - cmake
> -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include"
> -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" .. && \
> + cmake \
> +
> -DCMAKE_INCLUDE_PATH="$(abs_top_srcdir)/include;$(abs_top_builddir)/include"
> \
> + -DCMAKE_LIBRARY_PATH="$(abs_top_builddir)/liblttng-ust/.libs" \
> + -DCMAKE_C_FLAGS="$(CFLAGS) $(CPPFLAGS)" \
> + -DCMAKE_CXX_FLAGS="$(CXXFLAGS) $(CPPFLAGS)" \
> + -DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
> + .. && \
> $(MAKE) && \
> cd .. \
> ) || exit 1; \
> --
> 2.7.4
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-03 15:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-03 14:42 [lttng-dev] [PATCH lttng-ust] build: pass configure flags to cmake example Jonathan Rajotte
2016-10-03 15:11 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox