Rename health_ck support binary to rmr_probe
[ric-plt/lib/rmr.git] / src / support / CMakeLists.txt
1 #
2 #==================================================================================
3 #       Copyright (c) 2020 Nokia
4 #       Copyright (c) 2020 AT&T Intellectual Property.
5 #
6 #   Licensed under the Apache License, Version 2.0 (the "License");
7 #   you may not use this file except in compliance with the License.
8 #   You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 #   Unless required by applicable law or agreed to in writing, software
13 #   distributed under the License is distributed on an "AS IS" BASIS,
14 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #   See the License for the specific language governing permissions and
16 #   limitations under the License.
17 #==================================================================================
18 #
19
20 # build support tools and setup for their install
21
22 # The health_ck binary is deprecated. We will stop building it soon. It is 
23 # replaced with the rmr_probe binary.
24 add_executable( health_ck rmr_probe.c )
25 add_dependencies( health_ck rmr_si_static )
26 target_link_libraries( health_ck rmr_si_static;pthread;m )
27
28 add_executable( rmr_probe rmr_probe.c )
29 add_dependencies( rmr_probe rmr_si_static )
30 target_link_libraries( rmr_probe  rmr_si_static;pthread;m )
31
32 include_directories( ${CMAKE_SOURCE_DIR}/src/rmr/common/include )
33
34
35 # install only into the runtime package
36 if( NOT DEV_PKG )
37         install(
38         TARGETS health_ck rmr_probe
39         DESTINATION bin
40         )
41 endif()
42