Commit 2829844a09375ea4a3d1b81405763779ef535772

Authored by Eunki, Hong
1 parent 7371c4d8

TTrace enable always in tizen

Make ttrace enable always in tizen. Other platform keep current policy

Change-Id: I30eb7ffdefd10cbe863d158df6fbf6b6a34cb234
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
build/tizen/CMakeLists.txt
... ... @@ -17,6 +17,7 @@ endif()
17 17 # Define options to CMake
18 18 OPTION(ENABLE_EXPORTALL "Enable Export all symbols" OFF)
19 19 OPTION(ENABLE_DEBUG "Enable Debug" OFF)
  20 +OPTION(ENABLE_TRACE "Enable Trace" OFF)
20 21 OPTION(ENABLE_PKG_CONFIGURE "Use pkgconfig" ON)
21 22 OPTION(INTERNATIONALIZATION "Internationalization demo string names" ON)
22 23  
... ... @@ -352,6 +353,10 @@ IF( ENABLE_DEBUG )
352 353 SET(DALI_DEMO_CFLAGS "${DALI_DEMO_CFLAGS} -DDEBUG_ENABLED")
353 354 ENDIF()
354 355  
  356 +IF( ENABLE_TRACE )
  357 + SET(DALI_DEMO_CFLAGS "${DALI_DEMO_CFLAGS} -DTRACE_ENABLED")
  358 +ENDIF()
  359 +
355 360 IF( ENABLE_SCENE_LOADER )
356 361 SET(DALI_DEMO_CFLAGS "${DALI_DEMO_CFLAGS} -DDALI_SCENE_LOADER_AVAILABLE")
357 362 ENDIF()
... ...
packaging/com.samsung.dali-demo.spec
... ... @@ -92,6 +92,7 @@ cmake -DDALI_APP_DIR=%{dali_app_ro_dir}/bin \
92 92 %if 0%{?enable_debug}
93 93 -DCMAKE_BUILD_TYPE=Debug \
94 94 %endif
  95 + -DENABLE_TRACE:BOOL=ON \
95 96 -DLOCAL_STYLE_DIR=%{local_style_dir} \
96 97 -DINTERNATIONALIZATION:BOOL=OFF \
97 98 -DTIZEN:BOOL=ON \
... ...