File: CMakeLists.txt

package info (click to toggle)
openigtlink 3.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,080 kB
  • sloc: cpp: 20,076; ansic: 6,704; sh: 227; perl: 74; makefile: 46
file content (25 lines) | stat: -rw-r--r-- 695 bytes parent folder | download
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
PROJECT(Point)

cmake_minimum_required(VERSION 3.10)
if(COMMAND cmake_policy)
  cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)

find_package(OpenIGTLink REQUIRED)

include(${OpenIGTLink_USE_FILE})

ADD_EXECUTABLE(PointClient   PointClient.cxx)
TARGET_LINK_LIBRARIES(PointClient OpenIGTLink)

ADD_EXECUTABLE(PointServer   PointServer.cxx)
TARGET_LINK_LIBRARIES(PointServer OpenIGTLink)

ADD_EXECUTABLE(PointListServer   PointListServer.cxx)
TARGET_LINK_LIBRARIES(PointListServer OpenIGTLink)

ADD_EXECUTABLE(PointClient3   PointClient3.cxx)
TARGET_LINK_LIBRARIES(PointClient3 OpenIGTLink)

ADD_EXECUTABLE(PointServer3   PointServer3.cxx)
TARGET_LINK_LIBRARIES(PointServer3 OpenIGTLink)