Skip to content
Permalink
Browse files
sip bindings: exclude QgsCompositionChecker when not building tests
  • Loading branch information
jef-n committed May 16, 2017
1 parent 70da239 commit 2f70b426e9cf3ac60c709b9aba81767523a76f5d
Showing with 14 additions and 0 deletions.
  1. +4 −0 python/CMakeLists.txt
  2. +5 −0 python/core/qgsmultirenderchecker.sip
  3. +5 −0 src/core/qgsmultirenderchecker.h
@@ -132,6 +132,10 @@ INCLUDE_DIRECTORIES(
${CMAKE_BINARY_DIR}/src/analysis
)

IF(NOT ENABLE_TESTS)
SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} TESTS)
ENDIF(NOT ENABLE_TESTS)

IF(NOT ANDROID)
SET(SIP_DISABLE_FEATURES ${SIP_DISABLE_FEATURES} ANDROID)
ENDIF(NOT ANDROID)
@@ -123,6 +123,9 @@ class QgsMultiRenderChecker

};

%Feature TESTS
%If (TESTS)


class QgsCompositionChecker : QgsMultiRenderChecker
{
@@ -145,6 +148,8 @@ class QgsCompositionChecker : QgsMultiRenderChecker

};

%End


/************************************************************************
* This file has been generated automatically from *
@@ -132,6 +132,9 @@ class CORE_EXPORT QgsMultiRenderChecker
};

#ifdef ENABLE_TESTS
SIP_FEATURE( TESTS )
SIP_IF_FEATURE( TESTS )

///@cond PRIVATE

/** \ingroup core
@@ -156,6 +159,8 @@ class CORE_EXPORT QgsCompositionChecker : public QgsMultiRenderChecker
int mDotsPerMeter;
};
///@endcond

SIP_END
#endif


0 comments on commit 2f70b42

Please sign in to comment.