Hide Unit Test Feature if USE_UNIT_TESTS is not defined

This commit is contained in:
Gaute Lindkvist committed 2018-12-20 09:50:05 +01:00
1 parent 975cd15c32
commit 708f24943b
1 file changed
+4
@@ -31,7 +31,11 @@ CAF_CMD_SOURCE_INIT(RicLaunchUnitTestsFeature, "RicLaunchUnitTestsFeature");
//--------------------------------------------------------------------------------------------------
bool RicLaunchUnitTestsFeature::isCommandEnabled()
{
#ifdef USE_UNIT_TESTS
return true;
#else
return false;
#endif
}
//--------------------------------------------------------------------------------------------------