dec4659e86f1b213d442e58586d37c1f9a5d2cd4
[iec.git] / src / type3_AndroidCloud / anbox-master / external / process-cpp-minimal / src / CMakeLists.txt
1 # Copyright © 2013 Canonical Ltd.
2 #
3 # This program is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License version 3 as
5 # published by the Free Software Foundation.
6 #
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 # GNU General Public License for more details.
11 #
12 # You should have received a copy of the GNU General Public License
13 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
14 #
15 # Authored by: Thomas Voss <thomas.voss@canonical.com>
16 add_library(
17   process-cpp
18
19   STATIC
20   
21   core/posix/backtrace.h
22   core/posix/backtrace.cpp
23
24   core/posix/child_process.cpp
25   core/posix/exec.cpp
26   core/posix/fork.cpp
27   core/posix/process.cpp
28   core/posix/process_group.cpp
29   core/posix/signal.cpp
30   core/posix/signalable.cpp
31   core/posix/standard_stream.cpp
32   core/posix/wait.cpp
33   core/posix/this_process.cpp
34
35   core/posix/linux/proc/process/oom_adj.cpp
36   core/posix/linux/proc/process/oom_score.cpp
37   core/posix/linux/proc/process/oom_score_adj.cpp
38   core/posix/linux/proc/process/stat.cpp
39
40   core/testing/cross_process_sync.cpp
41   core/testing/fork_and_run.cpp
42 )
43
44 target_link_libraries(
45   process-cpp
46
47   ${Boost_LIBRARIES}
48   ${CMAKE_THREAD_LIBS_INIT}
49 )