File: README.cmake

package info (click to toggle)
labplot 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 22,228 kB
  • ctags: 7,649
  • sloc: cpp: 60,030; ansic: 2,991; python: 396; xml: 132; awk: 35; sh: 31; makefile: 28
file content (29 lines) | stat: -rw-r--r-- 847 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
-> see cmake-2.4.6/Source/CTest/Curl/CmakeLists.txt

	* check for used libs
	gsl	: VERSION, HAVE_GSL14, etc.
		MAJOR : gsl-config --version | sed -e 's/^\([0-9]*\).*/\1/'
		MINOR : gsl-config --version | sed 's/^\([0-9]*\)\.\{0,1\}\([0-9]*\).*/\2/'
		EXECUTE_PROCESS(...)
		STRING(REGEX REPLACE ".([bd])." "[\\1]" RESULT "a(b)c(d)e")
			-> REPLACE ALL "."?
		? -> STRING(REGEX MATCH "(?)\." "[\\1]" RESULT GSL_VERSION)
			./cmake-2.4.6/Tests/ComplexRelativePaths/CMakeLists.txt
			or STRING(COMPARE) ?
		IF("${GSL_MAJOR_VERSION}.${GSL_MINOR_VERSION}" GREATER 1.5)	
	qwtplot3d
	ImageMagick
	textvc
	pstoedit
	netcdf
	cdf
	hdf5
	qhull
	audiofile
	...
	* add options "-disable-qwtplot3d", etc.
		OPTION(OPTION_VAR "help string describing option"
                       [initial value])
	* include all subdirs
	* install
	* uninstall	-> see cmake FAQ