forked from FairRootGroup/DDS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BuildSetup.cmake
38 lines (31 loc) · 1.08 KB
/
BuildSetup.cmake
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
# Copyright 2014 GSI, Inc. All rights reserved.
#
#
# issue the following commands in order to build DDS from source:
# 1) mkdir build
# 2) cd build
# 3) cmake -C ../BuildSetup.cmake ..
# 4) make [-j] wn_bin /This step is optional. Only if you need to generate WN package on your local system./
# 5) make [-j] install
#
#
# Install prefix
#
#SET (CMAKE_INSTALL_PREFIX "MY_PATH_HERE" CACHE PATH "Install path prefix, prepended onto install directories." FORCE)
#
# BUILD TYPE
#
# set cmake build type, default value is: RelWithDebInfo
# possible options are: None Debug Release RelWithDebInfo MinSizeRel
set( CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build" FORCE )
#set(CMAKE_VERBOSE_MAKEFILE TRUE CACHE BOOL "This is useful for debugging only." FORCE)
# This is needed if you want to use gLite plug-in and have several version of BOOST installed
#set( Boost_USE_MULTITHREADED OFF CACHE BOOL "BOOST" FORCE )
#
# Documentation
#
# set( BUILD_DOCUMENTATION ON CACHE BOOL "Build source code documentation" FORCE )
#
# Tests
#
set( BUILD_TESTS ON CACHE BOOL "Build DDS tests" FORCE )