<commit_before>@echo off 

echo @echo off > config.status.bat

echo echo running: configure.bat %* >> config.status.bat
echo configure.bat %* >> config.status.bat

set arguments=

:LOOP
if '%1' == ''                      goto QMAKE
if '%1' == '--enable-debug'        goto DEBUG
if '%1' == '--disable-debug'       goto RELEASE
if '%1' == '--enable-release'      goto RELEASE
if '%1' == '--disable-release'     goto DEBUG

set arguments=%arguments% %1
shift
goto LOOP

:DEBUG
:RELEASE
rem debug and release is ignored
shift
goto LOOP

:QMAKE
cd copasi
del /S Makefile*
del commandline\CConfigurationFile.obj
del UI\copasiui3window.obj 
del UI\CQSplashWidget.obj 
del CopasiUI\main.obj 
del CopasiSE\CopasiSE.obj

if '%QT4DIR%' == '' goto QT4DIR_NotSet
set QMAKE=%QT4DIR%\bin\qmake
goto CONFIGURE

:QT4DIR_NotSet
if '%QTDIR%' == '' goto QTDIR_NotSet
set QMAKE=%QTDIR%\bin\qmake
goto CONFIGURE

:QTDIR_NotSet
set QMAKE=qmake

:CONFIGURE
echo executing in copasi:
echo   %QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%

nmake qmake_all

cd libs
nmake qmake_all
cd ..

rem force relink

cd ..

rem Build the semantic test suite wrapper
cd semantic-test-suite
echo executing in semantic-test-suite:
rem  echo   for %%d in (%subdirs%) do del %%d\.qmake.internal.cache
for %%d in (%subdirs%) do del %%d\.qmake.internal.cache
echo   %QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%

cd ..

rem Build the stochastic test suite wrapper
cd stochastic-testsuite
echo executing in stochastic-testsuite:
rem  echo   for %%d in (%subdirs%) do del %%d\.qmake.internal.cache
for %%d in (%subdirs%) do del %%d\.qmake.internal.cache
echo   %QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%

cd ..

rem Build the SBML test suite wrapper
cd sbml-testsuite
echo executing in sbml-testsuite:
rem  echo   for %%d in (%subdirs%) do del %%d\.qmake.internal.cache
for %%d in (%subdirs%) do del %%d\.qmake.internal.cache
echo   %QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%

cd ..
<commit_msg>Added automatic creation of vcproj files.<commit_after>@echo off 

echo @echo off > config.status.bat

echo echo running: configure.bat %* >> config.status.bat
echo configure.bat %* >> config.status.bat

set arguments=

:LOOP
if '%1' == ''                      goto QMAKE
if '%1' == '--enable-debug'        goto DEBUG
if '%1' == '--disable-debug'       goto RELEASE
if '%1' == '--enable-release'      goto RELEASE
if '%1' == '--disable-release'     goto DEBUG

set arguments=%arguments% %1
shift
goto LOOP

:DEBUG
:RELEASE
rem debug and release is ignored
shift
goto LOOP

:QMAKE
if '%QT4DIR%' == '' goto QT4DIR_NotSet
set QMAKE=%QT4DIR%\bin\qmake
goto CONFIGURE

:QT4DIR_NotSet
if '%QTDIR%' == '' goto QTDIR_NotSet
set QMAKE=%QTDIR%\bin\qmake
goto CONFIGURE

:QTDIR_NotSet
set QMAKE=qmake

rem Clean
del /S Makefile*
del copasi\commandline\CConfigurationFile.obj
del copasi\UI\copasiui3window.obj 
del copasi\UI\CQSplashWidget.obj 
del copasi\CopasiUI\main.obj 
del copasi\CopasiSE\CopasiSE.obj

:CONFIGURE
cd copasi
echo Executing in copasi:

cp copasi.pro tmp_win32.pro
echo   %QMAKE% -tp vc -r "CONFIG-=release" "CONFIG-=debug" %arguments% tmp_win32.pro
%QMAKE% -tp vc -r "CONFIG-=release" "CONFIG-=debug" %arguments% tmp_win32.pro
del tmp_win32*

echo   %QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%

nmake qmake_all

cd libs
nmake qmake_all
cd ..

cd ..

rem Build the semantic test suite wrapper
cd semantic-test-suite
echo Executing in semantic-test-suite:

echo   %QMAKE% -tp vc -r "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% -tp vc -r "CONFIG-=release" "CONFIG-=debug" %arguments%

echo   %QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%

cd ..

rem Build the stochastic test suite wrapper
cd stochastic-testsuite
echo executing in stochastic-testsuite:

echo   %QMAKE% -tp vc -r "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% -tp vc -r "CONFIG-=release" "CONFIG-=debug" %arguments%

echo   %QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%

cd ..

rem Build the SBML test suite wrapper
cd sbml-testsuite
echo executing in sbml-testsuite:

echo   %QMAKE% -tp vc -r "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% -tp vc -r "CONFIG-=release" "CONFIG-=debug" %arguments%

echo   %QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%
%QMAKE% "CONFIG-=release" "CONFIG-=debug" %arguments%

cd ..

{'fraction_non_alphanumeric': 0.14300892477688057, 'fraction_numerical': 0.006374840628984276, 'mean_word_length': 4.138646288209607, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2792850', 'n_tokens_mistral': 1792, 'n_tokens_neox': 1692, 'n_words': 495}