pkg_check_modules(json REQUIRED json)
pkg_check_modules(ambd REQUIRED automotive-message-broker)
pkg_check_modules(elementary REQUIRED elementary)
-pkg_check_modules(ecore REQUIRED ecore)
pkg_check_modules(appcore-efl REQUIRED appcore-efl)
-pkg_check_modules(dbus REQUIRED dbus-1)
-pkg_check_modules(edbus REQUIRED edbus)
set(include_dirs ${libtool_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ${json_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/lib ${ambd_INCLUDE_DIRS})
#set(link_libraries ${ambd_LIBRARIES} ${libtool_LIBRARY} ${json_LIBRARIES} -L${CMAKE_CURRENT_BINARY_DIR}/lib)
BuildRequires: automotive-message-broker-devel >= 0.10.0
BuildRequires: ico-uxf-utilities-devel >= 0.9.04
BuildRequires: ico-uxf-utilities >= 0.9.04
-BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(edbus)
-BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(appcore-efl)
%description
include(CheckIncludeFiles)
set(CMAKE_CXX_FLAGS "-g -Wall -std=c++11")
-include_directories(${CMAKE_SOURCE_DIR}/lib ${include_dirs} ${gio_INCLUDE_DIRS} ${gio-unix_INCLUDE_DIRS} ${ambd_INCLUDE_DIRS} ${appcore-efl_INCLUDE_DIRS} ${ecore_INCLUDE_DIRS} ${elementary_INCLUDE_DIRS} ${dbus_INCLUDE_DIRS} ${edbus_INClUDE_DIRS} /usr/include/dbus-1.0 /usr/include/ico-util ../src/)
+include_directories(${CMAKE_SOURCE_DIR}/lib ${include_dirs} ${gio_INCLUDE_DIRS} ${gio-unix_INCLUDE_DIRS} ${ambd_INCLUDE_DIRS} ${appcore-efl_INCLUDE_DIRS} ${elementary_INCLUDE_DIRS} /usr/include/ico-util ../src/)
set(VICCommon_sources ../src/standardmessage.cc ../src/datamessage.cc ../src/eventmessage.cc controlwebsocketclient.cc)
set(Common_sources ../src/abstractconfig.cc ../src/ambconfig.cc logresult.cc)
add_executable(VICReset ${VICReset_sources})
target_link_libraries(VICReset ${link_libraries} ${gio_LIBRARIES} ${gio-unix_LIBRARIES} -lico-util)
add_executable(DBustest1 ${DBustest1_sources})
-target_link_libraries(DBustest1 ${link_libraries} ${elementary_LIBRARIES} ${ecore_LIBRARIES} ${appcore-efl_LIBRARIES} ${edbus_LIBRARIES} -lico-util)
+target_link_libraries(DBustest1 ${link_libraries} ${elementary_LIBRARIES} ${appcore-efl_LIBRARIES} -lico-util)
add_executable(DBustest3 ${DBustest3_sources})
-target_link_libraries(DBustest3 ${link_libraries} ${elementary_LIBRARIES} ${ecore_LIBRARIES} ${appcore-efl_LIBRARIES} ${edbus_LIBRARIES} -lico-util)
+target_link_libraries(DBustest3 ${link_libraries} ${elementary_LIBRARIES} ${appcore-efl_LIBRARIES} -lico-util)