aboutsummaryrefslogtreecommitdiff
path: root/SerialPort/CMakeLists.txt
blob: dc7aa6b83f8cce37322e81de3cc319be2dc3c005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if (WIN32)
  add_library (SerialPort STATIC
    SerialPortFactory.cpp
    SerialPort.cpp
    SerialPortWin32.cpp
    )
else()
  add_library (SerialPort STATIC
    SerialPortFactory.cpp
    SerialPort.cpp
    SerialPortUnix.cpp
    )
endif()

set_target_properties (SerialPort PROPERTIES
  CXX_STANDARD 11
  CXX_STANDARD_REQUIRED ON
  CXX_EXTENSIONS OFF
)