aboutsummaryrefslogtreecommitdiffstats
path: root/libwindowmanager/CMakeLists.txt
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-23 17:27:23 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-26 13:32:55 +0900
commit2699c89298b9e349e979bccafc5a005f0b2be340 (patch)
treef74169668ecfbbaec6797fd354e8d290e57ea611 /libwindowmanager/CMakeLists.txt
parentd5eb8b53ed088db5a25451fc7e3009d3e44ae6bd (diff)
Remove the library from this service binder
The library is split to another repository, so remove it from this repository Bug-AGL: SPEC-993 Change-Id: Ifa5368077fc77fc9a964409f78d88afb0de2e8d6 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'libwindowmanager/CMakeLists.txt')
-rw-r--r--libwindowmanager/CMakeLists.txt85
1 files changed, 0 insertions, 85 deletions
diff --git a/libwindowmanager/CMakeLists.txt b/libwindowmanager/CMakeLists.txt
deleted file mode 100644
index a1c28c8..0000000
--- a/libwindowmanager/CMakeLists.txt
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# Copyright (c) 2017 TOYOTA MOTOR CORPORATION
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-include(FindPkgConfig)
-
-pkg_check_modules(AFB REQUIRED libafbwsc)
-pkg_check_modules(SD REQUIRED libsystemd>=222)
-
-set(TARGET_LIBWM windowmanager)
-
-add_library(${TARGET_LIBWM} SHARED
- libwindowmanager.cpp
- libwindowmanager.h)
-
-target_include_directories(${TARGET_LIBWM}
- PRIVATE
- ${AFB_INCLUDE_DIRS}
- ${SD_INCLUDE_DIRS})
-
-target_link_libraries(${TARGET_LIBWM}
- PUBLIC
- -lpthread
- ${AFB_LIBRARIES}
- ${SD_LIBRARIES})
-
-target_compile_definitions(${TARGET_LIBWM}
- PRIVATE
- _GNU_SOURCE) # XXX should I define this here?!
-
-if(NOT ${CMAKE_BUILD_TYPE} STREQUAL "Release")
- target_compile_definitions(${TARGET_LIBWM}
- PRIVATE
- _GLIBCXX_DEBUG)
-endif()
-
-target_compile_options(${TARGET_LIBWM}
- PRIVATE
- -Wall -Wextra -Wno-unused-parameter -Wno-comment)
-
-set_target_properties(${TARGET_LIBWM}
- PROPERTIES
- # INTERPROCEDURAL_OPTIMIZATION ON
- CXX_EXTENSIONS OFF
- CXX_STANDARD 14
- CXX_STANDARD_REQUIRED ON)
-
-if (LINK_LIBCXX)
- set_target_properties(${TARGET_LIBWM}
- PROPERTIES
- LINK_FLAGS "-lc++")
-endif()
-
-if (NOT ${SANITIZER_MODE} STREQUAL "none" AND NOT ${SANITIZER_MODE} STREQUAL "")
- target_compile_options(${TARGET_LIBWM}
- PRIVATE
- -fsanitize=${SANITIZER_MODE} -g -fno-omit-frame-pointer)
- set_target_properties(${TARGET_LIBWM}
- PROPERTIES
- LINK_FLAGS "-fsanitize=${SANITIZER_MODE} -g")
-endif()
-
-install(
- TARGETS ${TARGET_LIBWM}
- DESTINATION ${CMAKE_INSTALL_LIBDIR}
- COMPONENT "runtime")
-
-install(
- FILES libwindowmanager.h
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
- COMPONENT "development")
-
-add_subdirectory(doc)