forked from rgleason/pypilot_pi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
43 lines (35 loc) · 1.23 KB
/
CMakeLists.txt
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
##---------------------------------------------------------------------------
## Author: Sean D'Epagnier
## Copyright:
## License: GPLv3+
##---------------------------------------------------------------------------
# define minimum cmake version
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.2)
PROJECT(pypilot_pi)
SET(PACKAGE_NAME pypilot_pi)
SET(VERBOSE_NAME Pypilot)
SET(TITLE_NAME PYPILOT)
SET(CPACK_PACKAGE_CONTACT "Sean D'Epagnier ")
INCLUDE("cmake/PluginConfigure.cmake")
#ADD_DEFINITIONS( "--std=gnu++11" )
SET(SRC_PYPILOT
src/pypilot_pi.cpp
src/signalk_client.cpp
src/pypilot_signalk_client.cpp
src/pypilotDialog.cpp
src/GainsDialog.cpp
src/ConfigurationDialog.cpp
src/StatisticsDialog.cpp
src/CalibrationDialog.cpp
src/SignalKClientDialog.cpp
src/pypilotUI.cpp
src/icons.cpp
)
#INCLUDE("cmake/PluginNMEA.cmake")
INCLUDE("cmake/PluginJSON.cmake")
INCLUDE("cmake/PluginGL.cmake")
ADD_LIBRARY(${PACKAGE_NAME} SHARED ${SRC_PYPILOT} ${SRC_JSON} ${SRC_PLUGINGL})
ADD_DEFINITIONS(-DTIXML_USE_STL)
INCLUDE("cmake/PluginInstall.cmake")
INCLUDE("cmake/PluginLocalization.cmake")
INCLUDE("cmake/PluginPackage.cmake")