X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=c92190e4a3487d86bfabeb7a5ade89b7906ea7a9;hb=e47483c55216ad9bf2947caaaa686fae2cceaf4c;hp=fc7e8ad1e2c56c1be73b99481c5fd2890f625ffd;hpb=afd5c59cdfeeb142feb57afe7d3d47f5f83fda45;p=apps%2Fagl-service-windowmanager.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fc7e8ad..c92190e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -14,7 +14,7 @@ # limitations under the License. # -wlproto(IVI_CON ivi-controller) +wlproto(IVI_CON ivi-wm) include(FindPkgConfig) pkg_check_modules(AFB REQUIRED afb-daemon) @@ -23,17 +23,12 @@ pkg_check_modules(SD REQUIRED libsystemd>=222) # We do not want a prefix for our module set(CMAKE_SHARED_MODULE_PREFIX "") -add_custom_command( - OUTPUT afb_binding_api.hpp afb_binding_glue.inl - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../generate-binding-glue.py - COMMAND python ${CMAKE_CURRENT_SOURCE_DIR}/../generate-binding-glue.py) - set(TARGETS_WM windowmanager-service) add_library(${TARGETS_WM} MODULE main.cpp - wayland.cpp - wayland.hpp + wayland_ivi_wm.cpp + wayland_ivi_wm.hpp util.cpp util.hpp layout.cpp @@ -42,16 +37,14 @@ add_library(${TARGETS_WM} MODULE json_helper.cpp json_helper.hpp app.hpp app.cpp - afb_binding_api.cpp result.hpp - afb_binding_api.hpp - afb_binding_glue.inl layers.cpp layers.hpp controller_hooks.hpp - config.cpp - config.hpp - policy.hpp) + wm_client.cpp + wm_error.cpp + applist.cpp + request.cpp) target_include_directories(${TARGETS_WM} PRIVATE @@ -72,7 +65,7 @@ target_compile_definitions(${TARGETS_WM} # We do not want source location of messages AFB_BINDING_PRAGMA_NO_VERBOSE_DETAILS WINMAN_VERSION_STRING="${PACKAGE_VERSION}" - _GNU_SOURCE) # XXX should I define this here?! + _GNU_SOURCE) if(NOT ${CMAKE_BUILD_TYPE} STREQUAL "Release") target_compile_definitions(${TARGETS_WM}