-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
65 lines (53 loc) · 1.69 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
57
58
59
60
61
62
63
64
65
cmake_minimum_required(VERSION 3.0)
include(${CMAKE_SOURCE_DIR}/system-config.cmake OPTIONAL)
project(yandex_contest_system)
if(BunsanCMakeBuiltin)
BunsanCMakeLoad()
else()
find_package(BunsanCMake CONFIG REQUIRED)
endif()
bunsan_add_library(${PROJECT_NAME}
src/unistd/access/Id.cpp
src/unistd/access/Operations.cpp
src/unistd/Pipe.cpp
src/unistd/Descriptor.cpp
src/unistd/ResourceUsage.cpp
src/unistd/CharStarStar.cpp
src/unistd/Exec.cpp
src/unistd/ProcessResult.cpp
src/unistd/FileStatus.cpp
src/unistd/ExecImpl.cpp
src/unistd/Fstab.cpp
src/unistd/MountEntry.cpp
src/unistd/MountEntryAlias.cpp
src/unistd/Operations.cpp
src/unistd/DynamicLoader.cpp
src/execution/ResultError.cpp
src/execution/ErrCall.cpp
src/execution/AsyncProcess.cpp
src/Trace.cpp
src/cgroup/detail/StreamableWrapper.cpp
src/cgroup/ProcPidCgroup.cpp
src/cgroup/HierarchyInfo.cpp
src/cgroup/SystemInfo.cpp
src/cgroup/ControlGroup.cpp
src/cgroup/SingleControlGroup.cpp
src/cgroup/MultipleControlGroup.cpp
src/cgroup/ProcessHierarchyInfo.cpp
src/cgroup/ProcessInfo.cpp
src/cgroup/Freezer.cpp
src/cgroup/CpuSet.cpp
src/cgroup/CpuAccounting.cpp
src/cgroup/Memory.cpp
src/cgroup/MemorySwap.cpp
src/cgroup/Termination.cpp
src/cgroup/detail/AttachedControlGroup.cpp
src/cgroup/detail/CreatedControlGroup.cpp
)
bunsan_use_bunsan_package(${PROJECT_NAME} yandex_contest_common yandex_contest_common)
target_link_libraries(${PROJECT_NAME} PRIVATE dl)
bunsan_use_pkgconfig(${PROJECT_NAME} LXC lxc)
bunsan_install_headers()
bunsan_install_targets(${PROJECT_NAME})
bunsan_install_project()
bunsan_include_tests()