diff --git a/README b/README index f9e4dc0..770c8c1 100644 --- a/README +++ b/README @@ -46,6 +46,10 @@ For release builds: For both builds qmake CONFIG+="debug_and_release build_all"; make +If you want to leave out demos and examples from the build you can use +the following config with qmake: + CONFIG+=nomake_demos_examples + If you want to install the libraries to your Qt library directory use: make install diff --git a/charts.pro b/charts.pro index ed20c6a..9c1ab46 100644 --- a/charts.pro +++ b/charts.pro @@ -3,7 +3,9 @@ } TEMPLATE = subdirs -SUBDIRS = src plugins demos examples tests +SUBDIRS = src plugins +!nomake_demos_examples: SUBDIRS += demos examples +SUBDIRS += tests development_build: message('Development build') diff --git a/doc/src/gettingstarted.qdoc b/doc/src/gettingstarted.qdoc index d1b8fd5..811606a 100644 --- a/doc/src/gettingstarted.qdoc +++ b/doc/src/gettingstarted.qdoc @@ -33,6 +33,13 @@ Please take a note that the \i build_all option is necessary for the install to work correctly. Otherwise it will not install both versions. + Building without demos and examples: + \code + qmake CONFIG+=nomake_demos_examples + make + make install + \endcode + \bold {New project} Create a new project in a usual way and then add to your project's *.pro file following line: