From 10ca886e5488d45859d1880577fc8f065a07555e Mon Sep 17 00:00:00 2001 From: taeyoon Date: Wed, 20 Apr 2016 13:20:21 +0900 Subject: [PATCH] Working... Add missed tag and fix launch issue - Fix mismatch between and - Add DALI_EXPORT_API TODO> Example launch issue in dali-demo Change-Id: I3c685d79c725e08d3798eb9e906734effd1a2fd0 --- build/tizen/demo/CMakeLists.txt | 2 +- com.samsung.dali-demo.xml | 1 + demo/dali-demo.cpp | 2 +- examples/perf-scroll/perf-scroll.cpp | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build/tizen/demo/CMakeLists.txt b/build/tizen/demo/CMakeLists.txt index c5f967a..227bc50 100644 --- a/build/tizen/demo/CMakeLists.txt +++ b/build/tizen/demo/CMakeLists.txt @@ -3,7 +3,7 @@ SET(DEMO_SRC_DIR ${ROOT_SRC_DIR}/demo) AUX_SOURCE_DIRECTORY(${DEMO_SRC_DIR} DEMO_SRCS) ADD_EXECUTABLE(${PROJECT_NAME} ${DEMO_SRCS}) -TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${REQUIRED_PKGS_LDFLAGS}) +TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${REQUIRED_PKGS_LDFLAGS} -pie) INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR}) diff --git a/com.samsung.dali-demo.xml b/com.samsung.dali-demo.xml index e3bb5da..513717d 100644 --- a/com.samsung.dali-demo.xml +++ b/com.samsung.dali-demo.xml @@ -147,6 +147,7 @@ + diff --git a/demo/dali-demo.cpp b/demo/dali-demo.cpp index 680ef8d..bfc7d2c 100644 --- a/demo/dali-demo.cpp +++ b/demo/dali-demo.cpp @@ -24,7 +24,7 @@ using namespace Dali; -int main(int argc, char **argv) +int DALI_EXPORT_API main(int argc, char **argv) { // Configure gettext for internalization bindtextdomain(DALI_DEMO_DOMAIN_LOCAL, DEMO_LOCALE_DIR); diff --git a/examples/perf-scroll/perf-scroll.cpp b/examples/perf-scroll/perf-scroll.cpp index 2835f79..90a02ce 100644 --- a/examples/perf-scroll/perf-scroll.cpp +++ b/examples/perf-scroll/perf-scroll.cpp @@ -496,7 +496,7 @@ void RunTest( Application& application ) // Entry point for Linux & Tizen applications // -int main( int argc, char **argv ) +int DALI_EXPORT_API main( int argc, char **argv ) { Application application = Application::New( &argc, &argv ); -- 2.7.4