Split libhomescreen from agl-homescreen-service-2017
[src/libhomescreen.git] / include / CMakeLists.txt
similarity index 70%
rename from libhomescreen.pro
rename to include/CMakeLists.txt
index 1139864..bb37242 100644 (file)
@@ -1,4 +1,5 @@
-# Copyright (C) 2016, 2017 Mentor Graphics Development (Deutschland) GmbH
+#
+# 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.
 # 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.
+#
 
-TEMPLATE = subdirs
-
-load(configure)
-
-SUBDIRS = libhomescreen \
-    samplehomescreeninterfaceapp
-
-samplehomescreeninterfaceapp.depends = libhomescreen
+if(DEFINED CMAKE_INSTALL_INCLUDEDIR)
+    INSTALL(FILES libhomescreen.hpp DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+endif(DEFINED CMAKE_INSTALL_INCLUDEDIR)