blob: 360f921f149a2d43b0d6755789a8e87141e84595 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT("capi-base-common")
SET(CMAKE_INSTALL_PREFIX "/usr")
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
SET(VERSION 0.0.1)
INSTALL(FILES include/tizen.h DESTINATION include)
INSTALL(FILES include/tizen_error.h DESTINATION include)
INSTALL(FILES include/tizen_type.h DESTINATION include)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/capi-base-common.pc DESTINATION lib/pkgconfig)
IF(UNIX)
ADD_CUSTOM_TARGET (distclean @echo cleaning for source distribution)
ADD_CUSTOM_COMMAND(
DEPENDS clean
COMMENT "distribution clean"
COMMAND find
ARGS .
-not -name config.cmake -and \(
-name tester.c -or
-name Testing -or
-name CMakeFiles -or
-name cmake.depends -or
-name cmake.check_depends -or
-name CMakeCache.txt -or
-name cmake.check_cache -or
-name *.cmake -or
-name Makefile -or
-name core -or
-name core.* -or
-name gmon.out -or
-name install_manifest.txt -or
-name *.pc -or
-name *~ \)
| grep -v TC | xargs rm -rf
TARGET distclean
VERBATIM
)
ENDIF(UNIX)
|