Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

CMakeLists.txt 2.11 KB
Newer Older
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
################################################################################
# Project file for the RandomWalksLib library
################################################################################
PROJECT(RandomWalksLib)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0 FATAL_ERROR)
MESSAGE(STATUS "  Configuring external RandomWalksLib Library")

#all headers
SET(headers ConfidenceMaps2D.h
			ConfidenceMaps2DFacade.h
			RandomWalks2D.h
			RandomWalks2DFacade.h
			RandomWalks3D.h
			RandomWalks3DFacade.h
			RandomWalksCore.h
			SparseSolverEigenCG.h
			SparseSolverEigenCustom.h
			SparseSolverEigenLLT.h
			SparseSolverFactory.h
			SparseSolverInterface.h
			SparseSolverViennaCPU.h
			SparseSolverViennaGPU.h)

SET(sources ConfidenceMaps2D.cpp
			ConfidenceMaps2DFacade.cpp
			RandomWalks2D.cpp
			RandomWalks2DFacade.cpp
			RandomWalks3D.cpp
			RandomWalks3DFacade.cpp
			RandomWalksCore.cpp
			SparseSolverEigenCG.cpp
			SparseSolverEigenCustom.cpp
			SparseSolverEigenLLT.cpp
			SparseSolverFactory.cpp
			SparseSolverViennaCPU.cpp
			SparseSolverViennaGPU.cpp)

# Eigen headers are already in CAMPVis/ext
#include ViennaCl headers
INCLUDE_DIRECTORIES(${CampvisGlobalIncludeDirs})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES($ENV{NVSDKCOMPUTE_ROOT}/OpenCL/common/inc)

#path to OpenCl binaries
LINK_DIRECTORIES($ENV{CUDA_LIB_PATH})

################################################################################
# define library target
################################################################################
ADD_LIBRARY(RandomWalksLib STATIC ${sources} ${headers})

# We don't want this within CAMPVis...
#put debug target to x64/Debug and all other configurations to x64/Release
#SET_TARGET_PROPERTIES( RandomWalksLib PROPERTIES 
#						ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/x64/Release #static libs are archives
#						ARCHIVE_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/x64/Debug
#						ARCHIVE_OUTPUT_NAME RandomWalksLib
#						ARCHIVE_OUTPUT_NAME_DEBUG RandomWalksLibd ) #debug build should end with a 'd'
TARGET_LINK_LIBRARIES(RandomWalksLib OpenCL)