forked from MDE4CPP/MDE4CPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setenv.bat.default
77 lines (54 loc) · 3.47 KB
/
setenv.bat.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
@echo off
REM ########################################
REM # Environment configuration of MDE4CPP #
REM ########################################
REM path to MDE4CPP home folder
SET MDE4CPP_HOME=%cd%
REM path to eclipse home folder including Acceleo plugins
REM required for creating the generators
SET MDE4CPP_ECLIPSE_HOME=C:\tools\eclipse
REM ##################################################
REM # configure Gradle tasks and compiling processes #
REM ##################################################
REM enable parallel execution of Gradle tasks permanently with value 'true', otherwise 'false'
SET GRADLE_OPTS=-Dorg.gradle.parallel=true
REM configure count of worker for each compile task
REM (if two compiling tasks are performed in parallel, 2 x WORKER processes are executed)
SET ORG_GRADLE_PROJECT_WORKER=1
REM release version will be compiled with value unequal '0' or if ORG_GRADLE_PROJECT_RELEASE and ORG_GRADLE_PROJECT_DEBUG are undefined
SET ORG_GRADLE_PROJECT_RELEASE=1
REM debug version will be compiled with value unequal '0' or if ORG_GRADLE_PROJECT_RELEASE and ORG_GRADLE_PROJECT_DEBUG are undefined
SET ORG_GRADLE_PROJECT_DEBUG=1
REM debug messages of fUML library will be enabled with value '1', this property has no effect on release compiling
SET ORG_GRADLE_PROJECT_DEBUG_MESSAGE_FUML=0
REM #####################################################
REM # configure PATH variable with minimal set of paths #
REM #####################################################
REM To avoid conflicts, in special with other C++ installations, it is recommended to specify a clean path environment
REM path to cmake home folder
SET CMAKE_HOME=C:\tools\CMake
REM path to compiler home folder
SET COMPILER_HOME=C:\tools\MinGW
REM path to java development kit
SET JAVA_HOME=C:\Program Files\java\jdk1.8.0_162
REM if you want, set path with minimal set of programs (system paths and MDE4CPP required programs) temporary (only in called cmd and further child processes)
REM SET PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
IF DEFINED CMAKE_HOME (SET "PATH=%CMAKE_HOME%\bin;%PATH%")
IF DEFINED COMPILER_HOME (SET "PATH=%COMPILER_HOME%\bin;%PATH%")
IF DEFINED JAVA_HOME (SET "PATH=%JAVA_HOME%\bin;%PATH%")
IF DEFINED MDE4CPP_HOME (SET "PATH=%MDE4CPP_HOME%\application\bin;%MDE4CPP_HOME%\application\tools;%PATH%")
REM ###############################################################################
REM # configure compiler information for include path setting inside your c++ IDE #
REM ###############################################################################
REM The generators create eclipse cpp projects files including include path.
REM Estimated path to compiler includes: ${COMPILER_HOME}/lib/gcc/${COMPILER_DELIVERY_NAME}/${COMPILER_VERSION}/include
REM Configuration is only necessary for eclipse.
REM delivery name of compiler, only necessary for include path generation for Eclipse Project file
REM estimated path to compiler includes: ${COMPILER_HOME}/lib/gcc/${COMPILER_DELIVERY_NAME}/${COMPILER_VERSION}/include
SET COMPILER_DELIVERY_NAME=x86_64-w64-mingw32
REM compiler version, only necessary for include path generation for Eclipse Project file
REM estimated path to compiler includes: ${COMPILER_HOME}/lib/gcc/${COMPILER_DELIVERY_NAME}/${COMPILER_VERSION}/include
SET COMPILER_VERSION=8.1.0
REM Optional: path to your C++ IDE executable
REM by setting this you may use the startCPPIDE gradle task
SET CPP_IDE_EXECUTABLE=C:\MyEclipseCPP\eclipse.exe