2018-03-03 07:46:44 +00:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
if not exist ..\tests (mkdir ..\tests)
|
|
|
|
if not exist ..\tests\input_data (mkdir ..\tests\input_data)
|
|
|
|
|
2018-03-12 04:34:27 +00:00
|
|
|
set code=%cd%
|
2018-03-03 07:46:44 +00:00
|
|
|
pushd ..\build
|
2018-03-12 04:34:27 +00:00
|
|
|
set build=%cd%
|
2018-03-03 07:46:44 +00:00
|
|
|
popd
|
2018-03-16 19:29:21 +00:00
|
|
|
pushd ..\4coder-non-source\test_data\input_data
|
2018-03-12 04:34:27 +00:00
|
|
|
set data=%cd%
|
2018-03-03 07:46:44 +00:00
|
|
|
popd
|
|
|
|
|
2018-03-12 04:34:27 +00:00
|
|
|
set name=test_builder
|
|
|
|
set full_name=%build%\%name%
|
|
|
|
set scripts=%code%\test_input_scripts
|
|
|
|
|
|
|
|
set opts=
|
|
|
|
set opts=%opts% /W4 /WX /wd4310 /wd4100 /wd4201 /wd4505 /wd4996 /wd4127 /wd4510 /wd4512 /wd4610 /wd4390
|
2018-03-03 07:46:44 +00:00
|
|
|
set opts=%opts% /GR- /EHa- /nologo /FC
|
|
|
|
|
2018-03-12 04:34:27 +00:00
|
|
|
set inc=-I%code%
|
2018-03-03 07:46:44 +00:00
|
|
|
|
2018-03-12 04:34:27 +00:00
|
|
|
pushd %build%
|
|
|
|
cl %opts% %inc% %code%\meta\4ed_test_builder.cpp /Zi /Fe%name%
|
2018-03-03 07:46:44 +00:00
|
|
|
popd
|
|
|
|
|
2018-03-12 04:34:27 +00:00
|
|
|
pushd %data%
|
|
|
|
%full_name% %scripts%\test_full_click.4is
|
|
|
|
%full_name% %scripts%\test_write_4coder_awesomeness.4is
|
|
|
|
%full_name% %scripts%\test_bootstrap.4is
|
2018-03-03 07:46:44 +00:00
|
|
|
popd
|