X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=0ef0eb5577a89ed5376a924408f9520a220ddabb;hb=2f864ac5289e8426f1d0c91c264a6a274047245b;hp=aac21d9a2b35790a3ac4c10ced8c1949cbbdcb0e;hpb=dd128e02635393974aa490388f9d847885921479;p=staging%2Fwindowmanager.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index aac21d9..0ef0eb5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -24,9 +24,10 @@ add_library(winman 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) + afb_binding_glue.inl layers.cpp layers.hpp controller_hooks.hpp config.cpp config.hpp) target_include_directories(winman PRIVATE @@ -61,7 +62,7 @@ target_compile_options(winman set_target_properties(winman PROPERTIES - INTERPROCEDURAL_OPTIMIZATION ON + # INTERPROCEDURAL_OPTIMIZATION ON CXX_EXTENSIONS OFF CXX_STANDARD 14 @@ -71,12 +72,12 @@ set_target_properties(winman C_STANDARD 99 C_STANDARD_REQUIRED ON - LINK_FLAGS "-Wl,--version-script=../../export.map") + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../export.map") if (LINK_LIBCXX) set_target_properties(winman PROPERTIES - LINK_FLAGS "-Wl,--version-script=../../export.map -lc++") + LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/../export.map -lc++") endif() if (NOT ${SANITIZER_MODE} STREQUAL "none" AND NOT ${SANITIZER_MODE} STREQUAL "")