aboutsummaryrefslogtreecommitdiff
path: root/SerialPort/CMakeLists.txt
diff options
context:
space:
mode:
authorJán Sučan <sucanjan@fit.cvut.cz>2017-05-10 15:13:29 +0200
committerJán Sučan <sucanjan@fit.cvut.cz>2017-05-10 15:13:29 +0200
commit02e24f0f533fe904c3a5275c4060c10c38d7c17a (patch)
tree19d05c60e3d6a6782c4712de960a8f6705054063 /SerialPort/CMakeLists.txt
Uvodny commit, subory su rovnake ako na CD prilozenom k vytlacenemu texu bakalarskej prace, naviac je pridany len subor LICENCIA
Diffstat (limited to 'SerialPort/CMakeLists.txt')
-rwxr-xr-xSerialPort/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/SerialPort/CMakeLists.txt b/SerialPort/CMakeLists.txt
new file mode 100755
index 0000000..dc7aa6b
--- /dev/null
+++ b/SerialPort/CMakeLists.txt
@@ -0,0 +1,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
+)