-
Notifications
You must be signed in to change notification settings - Fork 49
/
CMakeLists.txt
56 lines (46 loc) · 1.65 KB
/
CMakeLists.txt
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
45
46
47
48
49
50
51
52
53
54
55
56
cmake_minimum_required(VERSION 3.22)
project(bde-tools NONE)
# bbs-tools
install(DIRECTORY BdeBuildSystem
DESTINATION share/cmake
COMPONENT bbs-cmake-module)
install(PROGRAMS BdeBuildSystem/scripts/sim_cpp11_features.pl
BdeBuildSystem/scripts/bbs_input_limiter.pl
DESTINATION share/cmake/BdeBuildSystem/scripts
COMPONENT bbs-cmake-module)
# bbs shell wrappers
install(PROGRAMS bin/bbs_build
bin/bbs_build_env
bin/get_dependers
DESTINATION libexec/bde-tools/bin
COMPONENT bde-tools)
# bbs tools implementation
install(FILES bin/bbs_build.py
bin/bbs_build_env.py
DESTINATION libexec/bde-tools/bin
COMPONENT bde-tools)
# bde-tools
# keep pylibinit when removing old bde-tools install rules(!)
install(PROGRAMS bin/bde_build_env.py
bin/bde_runtest.py
bin/bde_input_limiter.pl
bin/cmake_build.py
bin/get_dependers.py
DESTINATION libexec/bde-tools/bin
COMPONENT bde-tools)
install(DIRECTORY cmake lib
DESTINATION libexec/bde-tools
COMPONENT bde-tools
PATTERN "__pycache__" EXCLUDE)
install(DIRECTORY bin/pylibinit
DESTINATION libexec/bde-tools/bin
COMPONENT bde-tools
PATTERN "__pycache__" EXCLUDE)
# Install rules for bde-gdb-printers
install(FILES contrib/gdb-printers/bde_printer.py
DESTINATION libexec/bde-gdb-printers
COMPONENT bde-gdb-printers)
install(FILES contrib/gdb-printers/gdbinit.dpkg
DESTINATION libexec/bde-gdb-printers
RENAME gdbinit
COMPONENT bde-gdb-printers)