File: Linux.cmake

package info (click to toggle)
ausweisapp2 2.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,632 kB
  • sloc: cpp: 114,622; python: 2,833; xml: 1,426; java: 923; sh: 186; makefile: 7
file content (33 lines) | stat: -rw-r--r-- 730 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
30
31
32
33
block(PROPAGATE LIBS_GOVERNIKUS)
	include(Libraries)
endblock()

if("Integrated" IN_LIST NAMES)
	set(INTEGRATED ON)
endif()

if(INTEGRATED)
	set(PRESET ci-integrated)
else()
	set(PRESET ci-linux)
endif()

step(${T_CFG} --preset ${PRESET})
step(${T_BUILD})
step(${T_CTEST} ENV QT_PLUGIN_PATH=${WORKSPACE}/libs/dist/plugins QML2_IMPORT_PATH=${WORKSPACE}/libs/dist/qml)
step(${CMAKE_COMMAND} --install ${T_BUILD_DIR} ENV DESTDIR=${WORKSPACE}/install)

if(LIBS_GOVERNIKUS)
	step(${T_TARGET} gcovr)
endif()

LIST_PATCH_FILES(PATCH_FILES)
if(DAILY OR (REVIEW AND ".grype.yml" IN_LIST PATCH_FILES))
	step(${T_CTEST} -C periodic -L grype)
endif()

if(DAILY)
	if(DEFINED ENV{JENKINS_HOME})
		step(${T_TARGET} cloc.report)
	endif()
endif()