-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCMakeLists.txt
42 lines (32 loc) · 1.07 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
##---------------------------------------------------------------------------
## Author: Pavel Kalian Dave Register
## Copyright:
## License: wxWidgets License
##---------------------------------------------------------------------------
# define minimum cmake version
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.2)
PROJECT(nvc_pi)
SET(PACKAGE_NAME nvc_pi)
SET(VERBOSE_NAME NVCChartPlugin)
SET(TITLE_NAME NVCChartPlugin)
SET(CPACK_PACKAGE_CONTACT "Dave Register")
SET(OCPN_VERSION "ov50")
SET(VERSION_MAJOR "2")
SET(VERSION_MINOR "0")
#SET(CMAKE_BUILD_TYPE Debug)
INCLUDE("cmake/PluginConfigure.cmake")
SET(SRC_NVC
src/nvc_pi.h
src/nvc_pi.cpp
src/chart.cpp
src/chart.h
src/ellipse.c
)
ADD_LIBRARY(${PACKAGE_NAME} SHARED ${SRC_NVC})
IF(WIN32)
SET(OPENCPN_IMPORT_LIB "C:/Projects/opencpn/build/${CMAKE_CFG_INTDIR}/opencpn.lib")
TARGET_LINK_LIBRARIES( ${PACKAGE_NAME} ${OPENCPN_IMPORT_LIB} )
ENDIF(WIN32)
INCLUDE("cmake/PluginInstall.cmake")
INCLUDE("cmake/PluginLocalization.cmake")
INCLUDE("cmake/PluginPackage.cmake")