Make ttrace enable always in tizen. Other platform keep current policy
Change-Id: I30eb7ffdefd10cbe863d158df6fbf6b6a34cb234
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
# Define options to CMake
OPTION(ENABLE_EXPORTALL "Enable Export all symbols" OFF)
OPTION(ENABLE_DEBUG "Enable Debug" OFF)
+OPTION(ENABLE_TRACE "Enable Trace" OFF)
OPTION(ENABLE_PKG_CONFIGURE "Use pkgconfig" ON)
OPTION(INTERNATIONALIZATION "Internationalization demo string names" ON)
SET(DALI_DEMO_CFLAGS "${DALI_DEMO_CFLAGS} -DDEBUG_ENABLED")
ENDIF()
+IF( ENABLE_TRACE )
+ SET(DALI_DEMO_CFLAGS "${DALI_DEMO_CFLAGS} -DTRACE_ENABLED")
+ENDIF()
+
IF( ENABLE_SCENE_LOADER )
SET(DALI_DEMO_CFLAGS "${DALI_DEMO_CFLAGS} -DDALI_SCENE_LOADER_AVAILABLE")
ENDIF()
%if 0%{?enable_debug}
-DCMAKE_BUILD_TYPE=Debug \
%endif
+ -DENABLE_TRACE:BOOL=ON \
-DLOCAL_STYLE_DIR=%{local_style_dir} \
-DINTERNATIONALIZATION:BOOL=OFF \
-DTIZEN:BOOL=ON \