From e2f2dfac4f2c54eef41c4b7429fe5fb6bc5eb1d2 Mon Sep 17 00:00:00 2001 From: Josh Andler Date: Mon, 5 May 2014 01:40:12 -0700 Subject: Make experimental feature enabling more unified/easy. (bzr r13336) --- build.xml | 6 ++++++ configure.ac | 3 +++ src/live_effects/effect.cpp | 2 -- src/widgets/toolbox.cpp | 5 +++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/build.xml b/build.xml index f0d666040..f9a42d9bf 100644 --- a/build.xml +++ b/build.xml @@ -211,6 +211,12 @@ /* Do we want experimental, unsupported, unguaranteed, etc., LivePathEffects enabled? */ //#define LPE_ENABLE_TEST_EFFECTS 1 + /* Do we want experimental, unsupported, unguaranteed, etc., SVG2 features enabled? */ + //#define WITH_SVG2 1 + //#define WITH_CSSCOMPOSITE 1 + //#define WITH_CSSBLEND 1 + //#define WITH_MESH 1 + #define HAVE_ASPELL 1 #endif /* _CONFIG_H_ */ diff --git a/configure.ac b/configure.ac index adb72aac0..bc2633253 100644 --- a/configure.ac +++ b/configure.ac @@ -106,6 +106,9 @@ if test "$GCC" = "yes"; then # Uncomment for SVG2 stuff # CPPFLAGS="-DWITH_MESH -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_SVG2 $CPPFLAGS" + # Uncomment for LPE Tool and All LPEs + # CPPFLAGS="-DWITH_LPETOOL -DLPE_ENABLE_TEST_EFFECTS $CPPFLAGS" + #### # C-specific flags... diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 12990ee24..4c5e21194 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -5,8 +5,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -//#define LPE_ENABLE_TEST_EFFECTS - #ifdef HAVE_CONFIG_H # include "config.h" #endif diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 02da805bf..3d6f73ef1 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -1301,8 +1301,9 @@ void setup_tool_toolbox(GtkWidget *toolbox, SPDesktop *desktop) " " " " - -// " " +#ifdef WITH_LPETOOL + " " +#endif " " ""; -- cgit v1.2.3