This repository was archived by the owner on May 31, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +11
-13
lines changed Expand file tree Collapse file tree 7 files changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ REM 5. cleanup after the metadata generator
14
14
REM All output files are generated in the current directory when the script is run
15
15
16
16
set location = %cd%
17
- set me = " %~dp0 "
17
+ set me = %~dp0
18
18
cd %me%
19
19
cd ..
20
20
set custom_root = %cd%
@@ -36,21 +36,20 @@ if "%binname%" == "" set binname="custom_4coder"
36
36
37
37
set opts = /W4 /wd4310 /wd4100 /wd4201 /wd4505 /wd4996 /wd4127 /wd4510 /wd4512 /wd4610 /wd4457 /WX
38
38
set opts = %opts% /GR- /nologo /FC
39
- set opts = %opts% -I%custom_root%
39
+ set opts = %opts% -I" %custom_root% "
40
40
set opts = %opts% /D OS_WINDOWS=1 /D OS_LINUX=0 /D OS_MAC=0
41
41
set opts = %opts% %mode%
42
42
43
43
set preproc_file = 4coder_command_metadata.i
44
- set meta_opts = /P /Fi%preproc_file% /DMETA_PASS
44
+ set meta_opts = /P /Fi" %preproc_file% " /DMETA_PASS
45
45
46
46
set build_dll = /LD /link /INCREMENTAL:NO /OPT:REF /RELEASE /PDBALTPATH:%%%% _PDB%%%%
47
47
set build_dll = %build_dll% /EXPORT:get_version /EXPORT:init_apis
48
48
49
- call cl %opts% %meta_opts% %target%
49
+ call cl %opts% %meta_opts% " %target% "
50
50
call cl %opts% " %custom_root% \4coder_metadata_generator.cpp" /Femetadata_generator
51
51
metadata_generator -R " %custom_root% " " %cd% \%preproc_file% "
52
-
53
- call cl %opts% %target% /Fe%binname% %build_dll%
52
+ call cl %opts% " %target% " /Fe%binname% %build_dll%
54
53
55
54
REM file spammation preventation
56
55
del metadata_generator*
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ REM 5. cleanup after the metadata generator
14
14
REM All output files are generated in the current directory when the script is run
15
15
16
16
set location = %cd%
17
- set me = " %~dp0 "
17
+ set me = %~dp0
18
18
cd %me%
19
19
cd ..
20
20
set custom_root = %cd%
@@ -41,16 +41,15 @@ set opts=%opts% /D OS_WINDOWS=1 /D OS_LINUX=0 /D OS_MAC=0
41
41
set opts = %opts% %mode%
42
42
43
43
set preproc_file = 4coder_command_metadata.i
44
- set meta_opts = /P /Fi%preproc_file% /DMETA_PASS
44
+ set meta_opts = /P /Fi" %preproc_file% " /DMETA_PASS
45
45
46
46
set build_dll = /LD /link /INCREMENTAL:NO /OPT:REF /RELEASE /PDBALTPATH:%%%% _PDB%%%%
47
47
set build_dll = %build_dll% /EXPORT:get_version /EXPORT:init_apis
48
48
49
- call cl %opts% %meta_opts% %target%
49
+ call cl %opts% %meta_opts% " %target% "
50
50
call cl %opts% " %custom_root% \4coder_metadata_generator.cpp" /Femetadata_generator
51
51
metadata_generator -R " %custom_root% " " %cd% \%preproc_file% "
52
-
53
- call cl %opts% %target% /Fecustom_4coder %build_dll%
52
+ call cl %opts% " %target% " /Fecustom_4coder %build_dll%
54
53
55
54
REM file spammation preventation
56
55
del metadata_generator*
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ where /q cl
5
5
IF %ERRORLEVEL% == 0 (EXIT /b)
6
6
7
7
SET SCRIPTS_PATH = %~dp0
8
- %SCRIPTS_PATH% \setup_cl_generic.bat amd64
8
+ " %SCRIPTS_PATH% \setup_cl_generic.bat" amd64
9
9
Original file line number Diff line number Diff line change 1
1
@ echo off
2
2
3
3
SET SCRIPTS_PATH = %~dp0
4
- %SCRIPTS_PATH% \setup_cl_generic.bat amd64_x86
4
+ " %SCRIPTS_PATH% \setup_cl_generic.bat" amd64_x86
5
5
6
6
You can’t perform that action at this time.
0 commit comments