blob: 085faf4cf86af4f5f6d82b6a69258b26d9a7441e (
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
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(INC_DIR include)
ADD_SUBDIRECTORY(src)
INSTALL(
DIRECTORY ${INC_DIR}/ DESTINATION include/appfw
FILES_MATCHING
PATTERN "*_private.h" EXCLUDE
PATTERN "${INC_DIR}/*.h"
)
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)
|