File: AllSupport.cmake

package info (click to toggle)
cloudcompare 2.11.3-7.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 58,224 kB
  • sloc: cpp: 229,982; ansic: 30,723; makefile: 84; sh: 20
file content (29 lines) | stat: -rw-r--r-- 853 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
26
27
28
29
# ALL 'contrib' supported libraries 

# 3DXWARE (3dConnexion devices) support
include( contrib/3DXSupport.cmake )
# Gamepads support
include( contrib/GamepadSupport.cmake )
# DXF support
include( contrib/DxfLibSupport.cmake )
# GDAL support
include( contrib/GDALSupport.cmake )
# SHP support
include( contrib/ShapeLibSupport.cmake )
# Oculus support
include( contrib/OculusSupport.cmake )

function( target_link_contrib ) # 2 arguments: ARGV0 = project name / ARGV1 = shared lib export base folder (optional - '_debug' will be appended for debug configuration)

	#libraries with dynamic linkage can automatically 'install' their DLLs

	#GDAL support
	target_link_GDAL( ${ARGV0} ${ARGV1} )
	#DXF support
	target_link_DXFLIB( ${ARGV0} )
	#SHP support
	target_link_SHAPE_LIB( ${ARGV0} )
	#OCULUS support
	#target_link_OCULUS_SDK( ${ARGV0} )

endfunction()