forked from MDE4CPP/MDE4CPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setenv.default
60 lines (41 loc) · 2.39 KB
/
setenv.default
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
60
#!/bin/bash
# ########################################
# # Environment configuration of MDE4CPP #
# ########################################
# path to MDE4CPP home folder
export MDE4CPP_HOME=$PWD
# path to eclipse home folder including Acceleo plugins
# required for creating the generators
export MDE4CPP_ECLIPSE_HOME=~/eclipse_modeling
# ##################################################
# # configure Gradle tasks and compiling processes #
# ##################################################
# enable parallel execution of Gradle tasks permanently with value 'true', otherwise 'false'
export GRADLE_OPTS=-Dorg.gradle.parallel=true
# configure count of worker for each compile task
# (if two compiling tasks are performed in parallel, 2 x WORKER processes are executed)
export ORG_GRADLE_PROJECT_WORKER=1
# release version will be compiled with value unequal '0' or if ORG_GRADLE_PROJECT_RELEASE and ORG_GRADLE_PROJECT_DEBUG are undefined
export ORG_GRADLE_PROJECT_RELEASE=1
# debug version will be compiled with value unequal '0' or if ORG_GRADLE_PROJECT_RELEASE and ORG_GRADLE_PROJECT_DEBUG are undefined
export ORG_GRADLE_PROJECT_DEBUG=1
# debug messages of fUML library will be enabled with value '1', this property has no effect on release compiling
export ORG_GRADLE_PROJECT_DEBUG_MESSAGE_FUML=0
# update the PATH variable locally to be able to call the executable and scripts from all subfolders
export PATH="$MDE4CPP_HOME/application/bin:$MDE4CPP_HOME/application/tools:$PATH"
# #############################
# # configure LD_LIBRARY_PATH #
# #############################
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/application/bin
# ##############################################################################
# # configure compiler information for include path setting inside cpp eclipse #
# ##############################################################################
# The generators create eclipse cpp projects files including include path.
# Estimated path to compiler includes: ${COMPILER_HOME}/lib/gcc/${COMPILER_DELIVERY_NAME}/${COMPILER_VERSION}/include
# Configuration is only necessary for eclipse use.
# path to compiler home folder
#export COMPILER_HOME=
# delivery name of compiler, only necessary for include path generation for Eclipse Project file
#export COMPILER_DELIVERY_NAME=
# compiler version, only necessary for include path generation for Eclipse Project file
#export COMPILER_VERSION=