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} ${elementary_INCLUDE_DIRS} ${ICO_UTIL_INCLUDE_DIR} ../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) set(VICtest1_sources ${Common_sources} ${VICCommon_sources} vic1.cc) set(VICtest3_sources ${Common_sources} ${VICCommon_sources} vic3.cc) set(VICSeq_sources ${Common_sources} ${VICCommon_sources} vicseq.cc) set(VICReset_sources ${Common_sources} ${VICCommon_sources} vicreset.cc) set(DBustest1_sources ${Common_sources} dbustest1.cc) set(DBustest3_sources ${Common_sources} dbustest3.cc) add_executable(VICtest1 ${VICtest1_sources}) target_link_libraries(VICtest1 ${link_libraries} ${gio_LIBRARIES} ${gio-unix_LIBRARIES} -lico-util) add_executable(VICtest3 ${VICtest3_sources}) target_link_libraries(VICtest3 ${link_libraries} ${gio_LIBRARIES} ${gio-unix_LIBRARIES} -lico-util) add_executable(VICSeq ${VICSeq_sources}) target_link_libraries(VICSeq ${link_libraries} ${gio_LIBRARIES} ${gio-unix_LIBRARIES} -lico-util) 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} ${appcore-efl_LIBRARIES} -lico-util) add_executable(DBustest3 ${DBustest3_sources}) target_link_libraries(DBustest3 ${link_libraries} ${elementary_LIBRARIES} ${appcore-efl_LIBRARIES} -lico-util)